Commit Graph

50 Commits

Author SHA1 Message Date
Dave Hickin 048d6ef737 NTUnionBuilder: Add missing value() function
Add missing function NTUnionBuilder::value() to allow the union type of
the NTUnion's value field to be specified.
2016-09-09 18:07:59 +01:00
Dave Hickin e6597bc2f0 Update source boilerplate for new LICENSE file 2016-07-22 16:56:01 +01:00
Dave Hickin 08234150dc Add tests for is_a and isCompatible for PVStructures 2016-04-12 03:24:47 +01:00
Dave Hickin 5dfc4ffd16 Rename ntScalarArray ntMatrix in NTMatrix tests 2016-04-12 03:23:03 +01:00
Dave Hickin 8794d5b6c0 Run NTAttribute and NTContinuum unit tests 2016-04-12 03:16:48 +01:00
Michael Davidsaver 4f3f6784d4 adjust Makefiles 2016-02-09 19:25:37 -05:00
Michael Davidsaver cfe939ca7a Moves source and headers
src/nt/*.h   => src/pv/*.h
src/nt/*.cpp => src/*.cpp
test/nt/*.*  => test/*.*
2016-02-09 19:25:37 -05:00
Dave Hickin bab0d964ab Add missing implementation of NTScalarArray::value
Use value in unit tests instead of deprecated arrayValue.
2015-10-16 15:46:56 +01:00
Dave Hickin dd955ea81e Ammend license notice in unit tests
Replaced references to "EPICS pvData" with "this software" in per-file
copyright notice - consistent with other files.
2015-09-04 09:41:08 +01:00
Dave Hickin a0a19bcfd9 Fix bug in NTUtils::is_a
Previous implementation matches <type-name>:1x.0 and <type-name>:1.0,
depending on the order of the arguments, e.g.
NTUtils::is_a("epics:nt/NTTable:11.0", "epics:nt/NTTable:1.0") returned
true. Fix this and add unit tests to cover this.
2015-09-04 09:39:27 +01:00
Dave Hickin e5947aa0a2 Add unit tests for NTNDArrayAttribute 2015-09-04 08:37:09 +01:00
Dave Hickin 3c30598a56 Add unit test for NTHistogram 2015-09-04 00:34:41 +01:00
Dave Hickin 85673cadad Add unit test for NTContinuum 2015-09-04 00:33:57 +01:00
Matej Sekoranja ad03935c5b Merge pull request #4 from anjohnson/add-license-file
Add license and copyright files
2015-09-01 20:06:49 +02:00
Dave Hickin 5574452b08 Call addIsConnected() in unit tests
for multi-channel types
2015-09-01 16:50:46 +01:00
Dave Hickin fd60732a8c Rename add() addColumn() in NTTable
Function for adding columns to table (i.e. to value subfield) was
add(ScalarType). However add(Field) adds extra field to top-level
structure. Rename former to avoid confusion and as more meaningful
name. Update unit tests.
2015-08-20 17:07:27 +01:00
Dave Hickin fc037cf6dc Add unit tests for NTAttribute 2015-08-20 16:16:58 +01:00
Dave Hickin f6f5539f7b Add NTAggregate including builder and unit tests 2015-08-20 08:41:45 +01:00
Dave Hickin 0d66034092 Add NTUnion including builder and unit tests 2015-08-20 08:01:29 +01:00
Dave Hickin 1de2666993 Add NTEnum including builder and unit tests 2015-08-20 07:59:29 +01:00
Dave Hickin 7d0b6d86ea Add NTMatrix including builder and unit tests 2015-08-20 07:56:20 +01:00
Dave Hickin 5f8922e349 Incremented number of tests in NTTable test plan 2015-08-13 12:46:27 +01:00
Dave Hickin 5b7c6ea4d8 Fixed NTTable units tests for extra fields
After fix for NTTable extra fields not being created was merged, unit
tests failed. Tests were wrong. Test was checking number of fields of
constructed structure against number expected without the extra fields.
Corrected check and added checks for extra fields.
2015-08-13 10:59:15 +01:00
Dave Hickin 8b9a8e7050 Add tests for NTScalarMultiChannel 2015-08-04 21:32:34 +01:00
Andrew Johnson 36b8e60152 Fix module name in sources LICENSE reference 2015-08-03 16:47:28 -05:00
Matej Sekoranja 99bf23e8fa fixed Makefile for ntutils test 2014-11-11 17:02:33 +01:00
Matej Sekoranja a25a89fadc win32 build, all test pass 2014-11-10 21:52:10 +01:00
Matej Sekoranja 42fb15211a NTUtils added, is_a for new URI scheme 2014-11-10 10:04:32 +01:00
Marty Kraimer 4ee19f4dd1 URI of form ev4:nt/NTType:1.0 ; narrow, narrow_unsafe, is_compatible => wrap, wrapUnsafe, isCompatible 2014-10-01 08:34:34 -04:00
dhickin 08eb138d02 Added ntndarray tests for non-extended types and caching. 2014-09-24 16:51:36 +01:00
Marty Kraimer dbc5c434cb NTField::createAlarmLimit removed; NTNameValue names,values changed to name,value 2014-09-23 08:50:49 -04:00
Marty Kraimer 0d21cb267a mostly changes to ntCPP.html; in NTMultiChannel addValue changed to value 2014-09-19 09:52:53 -04:00
Marty Kraimer 7465da3217 implemented is_compatible 2014-09-12 15:41:36 -04:00
Marty Kraimer ddee226a49 added "add(name,field)" to each bulder; added is_compatible to each NT(code is not complete) 2014-09-12 09:56:08 -04:00
Matej Sekoranja 63eb1aa703 ntnameValue: extra fields can be added now 2014-09-04 12:30:02 +02:00
Matej Sekoranja 89396a7455 narrow and narrow_unsafe methods added 2014-08-31 23:29:45 +02:00
Marty Kraimer f1aca7e20f fix bug for userTag 2014-08-26 06:30:30 -04:00
Marty Kraimer f2bbec36ef added connectionState 2014-08-25 06:23:52 -04:00
Matej Sekoranja 887b453bac NTScalarArray added 2014-08-25 08:58:40 +02:00
Matej Sekoranja 131c2fc31a converted ntfieldTest to TAP test 2014-08-25 08:10:41 +02:00
dhickin eef8bd4fba NTNDArray. Added unit test. 2014-08-22 23:24:47 +01:00
Matej Sekoranja 379a132cd7 NTScalar added 2014-08-22 09:12:24 +02:00
Matej Sekoranja 5b46b9ebed NTNameValue refactored 2014-08-21 21:49:46 +02:00
Marty Kraimer c0cb48e97e added userTag 2014-08-21 12:57:36 -04:00
Marty Kraimer 072113ab4a change to implement builder 2014-08-21 10:27:09 -04:00
Marty Kraimer 7f521bdc3c added NTMultiChannel 2014-08-21 07:59:46 -04:00
Matej Sekoranja fdeda9dc97 NTTable refactored 2014-08-21 13:28:52 +02:00
Marty Kraimer 327371151a make it work with latest pvDataCPP. 2014-08-20 10:12:10 -04:00
Marty Kraimer 0f251f5eb1 builds and tests work. must still look carefully 2012-08-02 09:47:19 -04:00
Guobao Shen 7facd19fb1 init notmative types repo, which is moved from alphaCPP repo 2012-07-16 10:01:32 -04:00