starseeker
5e1ad8f1c8
Remove Raw() and getEDesc(), restore C asStr()
...
This commit removes the Raw and getEDesc methods in favor of the
simplicity of just making ptr and eDesc public.
Add back in previous version of asStr() that returns a C string.
aDesc is also made public.
These changes are motivated by BRL-CAD's use of stepcode.
2021-08-16 14:09:10 -04:00
starseeker
62be4c90c6
Use CMake 3.12 everywhere.
2021-08-15 09:22:59 +01:00
Chris HORLER
6cf5d1e860
CMake update
...
- variable usage, RPATHs, config header generation
- remove the CMake core target
2021-08-15 09:22:29 +01:00
Chris HORLER
e617808be1
simplify SC_VERSION and library versioning
2021-08-14 10:24:35 +01:00
starseeker
4f20f391c6
Reverting develop back to commit 548fd82ad7
2021-08-04 16:04:32 -04:00
starseeker
30683985ca
Stray version header includes in test cc files
2020-12-15 15:07:37 -05:00
starseeker
93cb422595
Update formatting with astyle - use K&R
2020-12-09 09:26:27 -05:00
starseeker
74d9062ff1
Start making some fixes to tests
2020-12-08 19:57:58 -05:00
starseeker
1f4f78f905
Remove Raw() and getEDesc(), restore C asStr()
...
This commit removes the Raw and getEDesc methods in favor of the
simplicity of just making ptr and eDesc public.
Also, add back in previous version of asStr() that returns a C
string. (These changes are motivated by BRL-CAD's step code.)
2020-12-08 19:03:12 -05:00
Chris HORLER
5ab50bb68f
begin to modernise / simplify CMake code
2019-08-26 18:42:45 +01:00
Chris HORLER
dc38153539
duplicate declaration of SchemaInit() - it's already in the schema's generated header
2019-08-26 18:42:45 +01:00
Chris HORLER
85b76db65a
use _WIN32 for Windows and _MSC_VER for compiler checks
2019-08-26 17:38:09 +01:00
Mark Pictor
bc5533bda8
test for, and use, nullptr if we have it
2015-08-03 21:37:28 -04:00
Mark Pictor
6e8cad223e
cmake 2.8.7 needs append_string, not append
2015-08-02 15:37:45 -04:00
Mark Pictor
018e7cfffc
reduce delay used in parallel test, as it appears to cause a failure.
...
TODO: rework the test to not be timing-sensitive
2015-08-02 14:53:36 -04:00
Mark Pictor
dc82923cf1
support cmake 2.8.7 since that's what travis-ci uses
2015-08-02 14:28:53 -04:00
Mark Pictor
aa967b3316
tweak includ dir logic, print path
2015-07-26 23:22:32 -04:00
Mark Pictor
17b41da525
add std::chrono test, if available use in thread test
2015-07-26 22:22:44 -04:00
Mark Pictor
135adc76c8
fix warning, improve cmake messages
2015-07-26 20:49:04 -04:00
Mark Pictor
017faa942f
make schema-specific tests work on cmake 3.x
2015-07-26 20:49:04 -04:00
Mark Pictor
85f45f38e4
debug message for appveyor
2015-07-26 15:22:24 -04:00
Mark Pictor
4129d363b0
add stepcore test for segfault in STEPattribute::set_null()
2015-05-20 20:51:14 -04:00
Mark Pictor
bfbd8df61e
minor cleanup
2014-12-26 13:34:38 -05:00
Mark Pictor
921de860b0
closer...
2014-12-26 13:34:28 -05:00
Mark Pictor
5df2f69930
inching forward on inverse attrs
2014-12-26 13:32:24 -05:00
Mark Pictor
98283dca34
more work on inverse attrs, code generation
2014-12-26 13:31:21 -05:00
Mark Pictor
7222c91c01
update inverse attr test 3
2014-12-26 13:26:59 -05:00
Mark Pictor
b1387b731e
improve comments, a few other small changes that don't affect behavior
2014-12-26 13:24:56 -05:00
Mark Pictor
d1062cddfa
use lazyInstMgr for inverse_attr3.cc
2014-12-26 13:21:52 -05:00
Mark Pictor
6004ba458b
remove outdated comment from inverse_attr2.cc
2014-12-26 13:21:52 -05:00
Mark Pictor
7f0a0f852f
fix tests that were broken by file name changes
2014-03-01 11:53:31 -05:00
Mark Pictor
5c021b2b7f
tests were broken because macro name changed
...
make two variables CACHE INTERNAL so that their values are available in other scopes (i.e. in test dirs)
2014-03-01 11:53:30 -05:00
Cliff Yapp
10fb7419b5
More whitespace and case tweaks
2014-03-01 11:53:30 -05:00
Cliff Yapp
44e02c957a
whitespace changes
2014-03-01 11:53:30 -05:00
Cliff Yapp
c0e74a9eef
Add CMake footer comment to CMake files
2014-02-28 22:06:09 -05:00
davyw
02ef60aee2
Added DEFINE_DLL_IMPORTS to add_schema_dependent_test macro.
...
Added stepcore to libraries of aggregate_bound_runtime test to fix linker error.
2013-12-29 18:23:55 +01:00
Mark Pictor
d146a62a84
update tests to work with STEPattribute class changes
2013-10-12 22:21:46 -04:00
Mark Pictor
959c9bc8d5
test_inverse_attrs2 works now because of the STEPattr copy ctor fix
2013-10-09 21:31:57 -04:00
Mark Pictor
3eb5b5374f
move clstepcore cpp test dir into clstepcore
2013-10-09 21:31:57 -04:00
Kesha Shah
08d5407259
Unused Variables Removed
2013-08-14 17:38:43 -04:00
Mark Pictor
5fa4b17513
replace all references to SCL with SC in CMake files and code
2013-04-14 14:49:53 -04:00
Mark Pictor
a824c53a3a
fix supertypesIterator test
2013-04-13 10:11:15 -04:00
Cliff Yapp
8d737980be
Run Astyle to sync file layouts
2013-03-05 22:01:45 -05:00
Mark
1cac60a9a3
Merge pull request #209 from stepcode/review/scl_is_subbuild
...
fix sub-build; no problems with ctest: http://my.cdash.org/viewTest.php?buildid=383565
2012-08-24 13:28:13 -07:00
Mark Pictor
29c18125e1
fix lib path for tests
2012-08-24 15:18:37 -04:00
Mark Pictor
2f18a1d867
improve the supertypesIterator unit test
...
According to lcov, coverage is now 89/102 lines, 24/28 functions.
The functions that are not tested are the destructors and the two
private functions defined in subtypesIterator.
The untested lines mostly have to do with null pointers; some or
all of them may be unnecessary, but I didn't look into it.
2012-08-05 09:09:56 -04:00
Mark Pictor
bf52eb4f87
change ctest test label in test/cpp/stepcore to be regex-friendly
2012-08-05 09:09:56 -04:00
Mark Pictor
dba5f86631
modify inverse_attr1.cc to use recursive supertype iterator
2012-08-05 09:09:56 -04:00
Mark Pictor
824fff48b4
working recursive subtypesIterator and supertypesIterator for EntityDescriptor
...
includes C++ test
2012-08-05 09:09:56 -04:00
Mark Pictor
e2c6be367c
attribute test - find an attribute by name
2012-07-14 22:36:00 -04:00