Dave Hickin
acd19c10d0
BitSet: truncation in or_and
...
For "this |= set1 & set2" the result size
should be "max(this, min(set1, set2))" while
at present it is "min(set1, set2)" resulting
in truncation if the LHS is longer than the
RHS.
(cherry picked from commit d4292d81f2 )
Number of tests planned corrected.
2016-03-04 23:51:12 +00:00
Andrew Johnson
f6cf87a52d
Fix build problem on Mac
...
../../testApp/pv/testPVData.cpp:549:14: error: use of overloaded operator '!='
is ambiguous (with operand types 'PVIntPtr' (aka 'shared_ptr<PVInt>') and
'long')
testOk1(a!=NULL);
~^ ~~~~
2015-08-12 15:06:46 -05:00
Dave Hickin
3487b3ee9e
Remove unused argument in testPVScalarArray
2015-07-24 11:22:50 +01:00
Dave Hickin
5834efb709
Remove calls of deprecated getScalarArrayField
2015-07-24 11:21:58 +01:00
Dave Hickin
ac2b6ea8db
Make getSubFieldT return shared pointer
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:48:05 +01:00
Dave Hickin
ebe2d6196c
Rename getAs getSubFieldT
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:34:15 +01:00
Dave Hickin
e4689dd3f8
Added unit tests for functions for getting subfields
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-13 12:07:54 +01:00
Dave Hickin
d9963b0631
Add test for getAs when mid-field not structure
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-09 13:22:42 +01:00
Dave Hickin
40952df965
Corrected spelling in test and exception messages
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-08 18:19:53 +01:00
Dave Hickin
4f2c51c480
Correct spelling and typos in doxygen and comments
...
Signed-off-by: Dave Hickin <david.hickin@diamond.ac.uk >
2015-07-08 18:18:37 +01:00
Marty Kraimer
1e646f8df1
Merge pull request #4 from mdavidsaver/getasfield
...
Add PVStructure::getAs<>()
2015-06-23 07:24:30 -04:00
Michael Davidsaver
eadb8ff65b
add PVStructure::getAs<>() for field access w/o NULL
2015-06-22 18:14:23 -04:00
Michael Davidsaver
6a80e941a0
replace use of depercated methods
2015-06-22 14:36:27 -04:00
Matej Sekoranja
a1b89c9a3b
PVScalar::copy made public; copy tests
2015-02-17 21:54:35 +01:00
Matej Sekoranja
d6921fdac0
removal of some methods from convert
2015-02-17 20:22:37 +01:00
Matej Sekoranja
b13bb9819a
updated testPlan(0) to actual value
2015-02-11 20:56:38 +01:00
Marty Kraimer
6cb95c5cfc
fixed possible SEGFAULT in ceateRequest; new stream operator for Field and PVField
2015-02-11 07:26:04 -05:00
Marty Kraimer
6d338cab15
merge branch release/4.0
2014-12-04 08:30:26 -05:00
Matej Sekoranja
f2b43b704c
rtems compilation warnings (int32 != int)
2014-11-26 14:12:09 +01:00
Matej Sekoranja
de1478d7ba
Event test added
2014-11-25 10:43:07 +01:00
Marty Kraimer
6a62f9c082
catch std::exception and return NULL PVStructurePtr
2014-11-24 06:54:28 -05:00
Matej Sekoranja
f36c8ce280
testByteOrder: use MAIN instead of main
2014-11-06 14:28:49 +01:00
Matej Sekoranja
e77f2c91d7
fixed undeterministic serialization test on clang
2014-11-06 13:03:59 +01:00
Matej Sekoranja
82b0d5ce5f
merge
2014-11-06 12:50:04 +01:00
Matej Sekoranja
c86e31ad99
vxWorks: type cast fixes
2014-11-06 12:38:01 +01:00
Matej Sekoranja
f506fe1c0e
int/int32 compilation fix; now all test spass on RTEMS-i386
2014-11-05 14:05:28 +01:00
Matej Sekoranja
554dc06eda
ScalarTypeID mapping fixed in case 'int' == 'long', e.g. RTEMS-i386
2014-11-05 13:52:10 +01:00
Matej Sekoranja
80e1dfd142
removed forces NE2K card or non i386 builds
2014-11-03 13:51:21 +01:00
Matej Sekoranja
63d181a0ac
RTEMS QEMU tests
2014-11-03 12:37:12 +01:00
Matej Sekoranja
73c4896cce
tests: VxWorks tests are now ready to be run
2014-10-31 17:49:10 -04:00
Matej Sekoranja
5b1b5ab904
tests: refactored test building so that one test object can be created for VxWorks and RTEMS
2014-10-31 18:29:55 +01:00
Matej Sekoranja
80a537bc4c
vxWork tests for all subtests; still need to combine them all to one
2014-10-31 07:57:20 -04:00
Matej Sekoranja
2a8a1d3736
tests: PROD_HOST to TESTPROD_HOST; VxWorks tests for testApp/pv PASSES
2014-10-31 06:42:52 -04:00
Matej Sekoranja
587f81f511
win32 in vs2013 compilation fix
2014-10-28 19:36:57 +01:00
Marty Kraimer
a208171250
change uri:ev4:nt/2012 to uri:ev4:nt/2014
2014-09-23 14:34:21 -04:00
Marty Kraimer
2a08cbc1a0
add static
2014-08-25 08:09:28 -04:00
Matej Sekoranja
1098650421
clang fix
2014-08-20 21:42:29 +02:00
Marty Kraimer
15d85c2f87
fix misspelled field names: nanoSecond => nanosecond; hystersis=>hysteresis
2014-08-20 06:27:24 -04:00
Matej Sekoranja
16fb3f0339
clang fixes
2014-08-19 20:58:12 +02:00
Matej Sekoranja
37f6dff065
bounded string
2014-08-19 20:42:15 +02:00
Marty Kraimer
b558e11ede
major changes to CreateRequest; now compatible with Java version
2014-08-19 08:25:38 -04:00
Matej Sekoranja
57e33c8f7d
clang porting
2014-08-13 09:36:37 +02:00
Matej Sekoranja
da0f65c2d3
fixed size array serialization test
2014-08-12 13:20:00 +02:00
Matej Sekoranja
6535c075f3
fixed sized arrays
2014-08-12 13:17:17 +02:00
Matej Sekoranja
3609fd4745
fixed testCreateRequest, still fails
2014-07-30 21:49:52 +02:00
Matej Sekoranja
622e140622
Fixed/bounded scalar array impl.
2014-07-30 21:41:08 +02:00
Marty Kraimer
a4954c3825
fixed bug in createRequest.cpp
2014-07-30 06:50:22 -04:00
Matej Sekoranja
c6eed12139
String -> std::string, toString methods removed
2014-06-19 14:27:48 +02:00
Marty Kraimer
6510c10884
major update to pvDataCPP.html; minor updates while working on documentation
2014-05-01 10:33:01 -04:00
Marty Kraimer
d5dfb3de0c
added monitorPlugin; fixed bug in PVField::getFullName();
2014-04-23 09:10:37 -04:00