• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ni / nimi-python / 2223
91%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 05:05PM UTC
Jobs 6
Files 17
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2223

push

travis-ci

marcoskirsch
Add support for arrays of custom types (#580)

* Initial empty custom_types lists

* Add custom types to build

* Fix syntax error

* Add nifake custom type

* Update generated files

* Add support for custom types to visa -> python type

* import custom types in to modules that need them

* Create python & ctype versions that can each be instatiated by either

* Add ctypes and python names

* Add function that takes a custom type

* Update generated files

* Need to get module name for ctypes declaration

* Import both defined names

* Add custom type matcher

* Get module name

* Add test for setting custom type

* Clean up __init__()

* Update generated files

* Add get_custom_type helper function

* Set module name based on type

* Handle custom types in mock helper

* Add get custom type test

* Update generated files

* Move get_custom_type() to find file and rename to find...

* Rename ctype_name key to ctypes_type

Also, switch python name and ctypes name to better reflect how it will look in actual APIs

* Update generated files

* Fixed wrong file

* Rename and update get_python_type_for_visa_type

* Renamed to get_python_type_for_api_type
* Updated docstring

* Fix typo

* Add comment to explain blank lines

* Don't use indirect type, just call the class what the C API needs

* Add comment about what we are doing

* Update generated files

* Fix fgen system test

* Add 14th form of ctype declaration

* Move ctype struct field comparison into helper function

* Add custom type buffer matcher

* Add custom type array function definitions

* Add custom type array tests

* Update generated files

* Renumber cases

* Use zip instead of indexing

* Fix variable name change

* Update generated files

1227 of 1436 relevant lines covered (85.45%)

5.11 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
100.0
build/helper/codegen_helper.py
Jobs
ID Job ID Ran Files Coverage
1 2223.1 09 Nov 2017 05:06PM UTC 0
85.1
Travis Job 2223.1
2 2223.2 09 Nov 2017 05:05PM UTC 0
85.1
Travis Job 2223.2
3 2223.3 09 Nov 2017 05:07PM UTC 0
85.1
Travis Job 2223.3
4 2223.4 09 Nov 2017 05:08PM UTC 0
85.31
Travis Job 2223.4
5 2223.5 09 Nov 2017 05:12PM UTC 0
85.1
Travis Job 2223.5
6 2223.6 09 Nov 2017 05:11PM UTC 0
85.31
Travis Job 2223.6
Source Files on build 2223
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2223
  • 0b6eb5de on github
  • Prev Build on master (#2206)
  • Next Build on master (#2226)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc