Commit Graph

26 Commits

Author SHA1 Message Date
Michael Tryby
2bf3be4c64 Adding tests at test root
Couldn't get tests in subdirectores to work so adding them at test root instead.
2019-03-22 11:51:08 -04:00
Michael Tryby
ec72db5d82 pulling up call to find_packages
eliminates multiple calls to find_packages
2019-03-22 11:08:54 -04:00
Michael Tryby
c9903620cb Fine tuning linking strategy
static linking on Windows (MSVC and mingw) dyn linking everywhere else.
2019-03-22 09:55:34 -04:00
Michael Tryby
84341c3237 Switching MSVC to static link 2019-03-22 09:20:33 -04:00
Michael Tryby
66c274c343 Adding BOOST_TEST_MAIN for gcc build 2019-03-22 09:14:26 -04:00
Michael Tryby
eb4ae7f670 Adding boost system for gcc build 2019-03-21 18:19:17 -04:00
Michael Tryby
48facd89d0 Fixing test build on gcc 2019-03-21 18:08:05 -04:00
Michael Tryby
0c56df4041 Reorganizing tests
Adding test_net_builder and test_reent to cmake build script.
2019-03-21 13:44:31 -04:00
Michael Tryby
5687c63548 Reorganizing unit tests
Unit tests for the toolkit are consolidated into one test module with a separate test suite for related API functions.
2019-03-21 13:11:10 -04:00
Michael Tryby
ed9a89763b Reorganizing tests to improve build performance 2019-03-18 16:06:21 -04:00
Michael Tryby
e70ce35e60 Cleaning up tests 2019-03-15 17:25:59 -04:00
Michael Tryby
73a6c1c847 Separating header for test_output 2019-03-01 17:55:45 -05:00
Michael Tryby
4bbf4e2b1e Adding include paths for tests build 2019-03-01 16:41:03 -05:00
Michael Tryby
41f810395a Fixing windows bulid 2019-02-28 17:49:40 -05:00
Michael Tryby
8640c860d2 Including pthread in build 2019-02-28 17:31:16 -05:00
Michael Tryby
0d30d2c6a8 including boost system in build 2019-02-28 17:12:22 -05:00
Michael Tryby
c7d533c6e4 Adding tests for gettitle and saveinpfile 2019-02-28 08:11:59 -05:00
Michael Tryby
be2ca0a9f6 Implmenting Toolkit API versioning 2018-11-29 11:57:51 -05:00
Michael Tryby
a056bbf2c8 Fixing build error on Travis 2018-09-04 10:05:27 -04:00
Michael Tryby
b7e9988b15 Adding unit test for reentrancy 2018-09-04 09:38:44 -04:00
Michael Tryby
d33167161a Revert "Make memorypool threadsafe " 2018-08-31 11:14:16 -04:00
Michael Tryby
21f40f0daf Making memorypool.c reentrant and adding test 2018-08-30 15:30:34 -04:00
Michael Tryby
594b6b9260 Python package epanet-python builds and runs 2018-07-03 18:47:30 -04:00
Michael Tryby
bbe40c5ba4 Feature unittest (#157)
* Adding support for unit testing using boost unit test and ctest

* Adding libboost-test to Travis config.

* Adding libboost-test to Travis config.

* Modifying per element comparison

* Modifying per element comparison

* Fixing typo

* Fixing typo

* Adding custom comparison for strings

* Updating Travis to run unit tests

* Updating Travis to run unit tests

* Fixing typo

* Preparing unit testing to run on Appveyor

* Preparing unit testing to run on Appveyor

* Preparing unit testing to run on Appveyor

* Preparing unit testing to run on Appveyor and Travis

* Preparing unit testing to run on Appveyor and Travis

* Preparing unit testing to run on Appveyor and Travis

* Preparing unit testing to run on Appveyor

* Preparing unit testing to run on Appveyor

* Fixing unit testing path issue in CMake

* Fixing unit testing path issue in CMake

* Fixing bugs in cmake and appveyor scripts

* Rolling back generate_export_header in cmake
2018-03-21 14:10:10 -04:00
Michael Tryby
07fa9f4758 Adding flag to compile for c++11 2018-02-16 15:25:57 -05:00
Michael Tryby
508bfb1cd4 Adding support for unit testing using boost unit test and ctest 2018-02-16 14:17:12 -05:00