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

ni / nimi-python / 1960
91%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2017 07:50PM UTC
Jobs 6
Files 7
Run time 3min
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
1960

push

travis-ci

web-flow
Explicitly declare ctypes variables in Session methods for every parameter to be passed into Library (#453)

* Cherry pick

* Fix merge problems

* Update generated

* This breaks tox

* Generate ctypes variables for all parameters, not only output parameters

* Add commented line to only add metadata to functions we are codegenerating

Decide on this before merging to master

* Update generated

Not final yet

* Update generated

* Ignore trailing whitespace in unit test

Fixes issue 442

* Update generated

* Use local ctype variables when calling into the Library

This breaks basically all unit tests because now they need to be
written in a more strict fashion. This will be addressed in a separate
commit.

* Update generated

* in work: add a matcher for simple types and test it

* Create more matchers, improve their naming.

* Merge

* Put back some NI-DCPower system tests that now work

Note issue on the tests that still have problems.

* Add missing "cases" to get_ctype_variable_declaration_snippet

* Input is size of input buffer
* Input is size of output buffer with mechanism ivi-dance
* Input is size of output buffer with mechanism passed-in

Some more fixes to session templates. Main drivers pass system tests.
NI-ModInst needs to be tested but generates fine. More cleanup remains.

* Update generated code

* Fix case numbering and improved documentation.

* flake8 fixes

* flake8 fixes, improved comment

* Remove unused code

* Update generated

* Fix merge mistakes with nifgen

* Retrofit test_init_with_options_nondefault_and_close

* Retrofit more tests

* More test retrofits

* More test retrofits

* Retrofit test_get_a_number

* Retrofit test_one_input_function

* Retrofit test_vi_int_64_function

* Retrofit test_two_input_function

* Retrofit test_get_enum_value

* Retrofit test_get_a_list_enums

* Retrofit test_get_a_boolean

* Retrofit test_get_a_list_booleans, test_acquisition_context_manager, test_single_point_read

* Enable passing tests that needed no further retrofits

* Retrofit test_single_point_read_nan

* Retrofit test_enum_input_function_with_defaults

* Retrofit test_multipoint_read, test_array_input_function

* Retrofit test_parameters_are_multiple_types

* flake8

* Fix function documentation

* Update generated

* Fix 523 and retrofit some more tests

* Update generated

* Retrofitted 3 more tests

test_return_a_number_and_a_string
test_repeated_capability_method_on_session
test_repeated_capability_method_on_specific_channel

* Retrofit most attribute tests

* Fix mock helper to expect "size" parameter to be passed as a ctypes object

* Retrofit remaining NI-FAKE unit tests

* Remove comment left behind by accident.

* Fix mock helper to expect "size" parameter to be passed as a ctypes object

* Update generated

* Temporarily comment out tests that are failing

* comment out unused import

* Improve visatype documentation

* Move matcher classes into their own file

matchers.py.mako gets generated and copied into each driver’s test
directory.

* Update generated

* flake8 fixes

* Pass ctypes variables to Library in hand-coded function too

* Finish retrofitting all nimodinst unit tests

* Update generated

* Clean up matcher classes and retrofit tests

* Update generated

* Review comments

* Update generated

* Remove stale __repr__

* Update generated

* Remove unused ViSessionBufferMatcher

609 of 611 relevant lines covered (99.67%)

5.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1960.1 25 Oct 2017 07:51PM UTC 0
99.67
Travis Job 1960.1
2 1960.2 25 Oct 2017 07:50PM UTC 0
99.67
Travis Job 1960.2
3 1960.3 25 Oct 2017 07:50PM UTC 0
99.67
Travis Job 1960.3
4 1960.4 25 Oct 2017 07:50PM UTC 0
99.51
Travis Job 1960.4
5 1960.5 25 Oct 2017 07:52PM UTC 0
99.67
Travis Job 1960.5
6 1960.6 25 Oct 2017 07:53PM UTC 0
99.51
Travis Job 1960.6
Source Files on build 1960
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1960
  • 36f11f13 on github
  • Prev Build on master (#1928)
  • Next Build on master (#1970)
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