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

ni / nimi-python / 2223 / 2
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 05:05PM UTC
Files 17
Run time 1s
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

09 Nov 2017 04:56PM UTC coverage: 85.097% (+0.03%) from 85.07%
2223.2

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

1222 of 1436 relevant lines covered (85.1%)

0.85 hits per line

Source Files on job 2223.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2223
  • Travis Job 2223.2
  • 0b6eb5de on github
  • Prev Job for on master (#2206.5)
  • Next Job for on master (#2226.6)
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