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

ni / nimi-python / 3267
91%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2018 09:04PM UTC
Jobs 6
Files 19
Run time 13min
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
3267

push

travis-ci

web-flow
[1]Use arrays instead of lists where we can (#732)

* Add timeout converter

* Change units of timeouts to better test

* Add convert function addon information

* Rename to _TimedeltaConverter since it can be used for other places than just timeouts

* Rename class variables

* ctypes integers don't truncate floats so we need to

* Add 15th option for converters with test

* Add timedelta tests

* Update generated files

* Renumber declaration cases

* Update generated files

* Move converters into own file

* Make converters functions instead of classes

* Update generated files

* Use 'python_api_converter_type' for documentation

* Update generated files

* Add helper functio to get array.array type from the api type

* Add convert_iterable_to_ctypes. Make function so we can mock it in unit tests

* Update buffer matcher to accept lists as well

* We need access to array.array

* Add support for multiple lines of declaration for function call parameters

* Add mock for array tests

* Change addon to match comments

* Reenable test

* Raise an exception so we can catch it

* Add arrays for simple output arrays

* Fix __repr__

* Add hooks to get struct info

* Update generated files

* Ignore local batch files

* Add check for list because of mocking

* Check against the array.array object

* Update generated files

* Use arrays instead of lists for simple types (other that boolean)

* Break out different types of "arrays" into list, string and array

* Sometimes we need to "deference" a pointer

* Don't have is_buffer is static metadata. Should come from add all

* Not using structs

* Update tests

* Update generated files

* Update comments

* Give the library the type that it expects

* Fix up test for new type

* Update generated files

* Fix fgen expexted values - now it is an array.array instead of a list

* We can now get different exceptions depending on what's wrong with the data

* Don't overwrite 'type' for strings

* Since we don't overwrite 'type', we need to add ViChar[]

* Use more descriptive variable name

* Assert there is enough room instead of always taking the min

* Missed replacement

* Update generated files

* Fix types in documentation for numpy.array and array.array

* Should be 'str', not 'string'

* Update generated files

* Change logic

* Update generated files

* Change name from 'is_array'/'is_list' to 'use_array'/'use_list'

* Only use arrays if 'use_array' is True

* Be consistent with setting definition

* 'use_array' is only set in addons and no longer inferred

* Explicitly set use_array

* Only arrays need to be mocked

* Update generated files

* Handle array.array on input

* Update generated files

* Use converter for all buffers

* Rename to use buffer instead of iterable

* Update generated files

* Review comments

* Update generated files

* Remove extra line

* Move logic for getting an array into helper function

* Update generated files

* Move ctypes helper functions from _converters to session

* Update generated files

2124 of 2350 relevant lines covered (90.38%)

5.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3267.1 01 Feb 2018 09:05PM UTC 0
90.13
Travis Job 3267.1
2 3267.2 01 Feb 2018 09:04PM UTC 0
90.13
Travis Job 3267.2
3 3267.3 01 Feb 2018 09:06PM UTC 0
90.13
Travis Job 3267.3
4 3267.4 01 Feb 2018 09:08PM UTC 0
90.3
Travis Job 3267.4
5 3267.5 01 Feb 2018 09:18PM UTC 0
90.13
Travis Job 3267.5
6 3267.6 01 Feb 2018 09:13PM UTC 0
90.3
Travis Job 3267.6
Source Files on build 3267
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3267
  • c07240e0 on github
  • Prev Build on master (#3261)
  • Next Build on master (#3272)
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