Commit Graph

241 Commits

Author SHA1 Message Date
Michael Tryby
2c6d4ca74d Work in progress
Added test for temp files, getter for filename, and wrappers for fwrite, fprintf, and fgets
2019-04-01 18:05:02 -04:00
Michael Tryby
a0b08921fc Tweaking header doc 2019-04-01 15:24:52 -04:00
Michael Tryby
36a12cd4b6 Adding test_filemanager to ctest 2019-04-01 15:23:13 -04:00
Michael Tryby
b9f00421dd Adding header info 2019-04-01 15:16:58 -04:00
Michael Tryby
23ac179ec1 Implementing filemanager
Implementing and testing filemanager and upgrading epanet_output library to use it.
2019-04-01 15:03:02 -04:00
Michael Tryby
69da9a4997 Work in progress 2019-03-29 17:04:55 -04:00
Michael Tryby
1b167b5caf Cleaning up include statements
Removing inclusion of malloc.h. Adding crtdbg.h
2019-03-28 09:26:26 -04:00
mariosmsk
bd8a21d23c Update test_demand.cpp 2019-03-27 22:02:34 +02:00
Michael Tryby
1e7cba167c Delete test_comments.cpp 2019-03-22 15:35:35 -04:00
Michael Tryby
df4e62b550 Adding comment test 2019-03-22 15:34:34 -04:00
Michael Tryby
b02f1ef346 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev 2019-03-22 14:10:41 -04:00
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
ccbb422259 Reorganizing src and test folders
Moving epanet_output library from tools to src folder. Setting up parallel folder hierarchy in tests folder.
2019-03-20 17:58:24 -04:00
Michael Tryby
7eadbc25ce Adding unit test and refactoring
Added unit test for errormanager and refactored to simplify use of error_check() method.
2019-03-20 15:43:27 -04:00
Lew Rossman
34705d442d Merge pull request #423 from OpenWaterAnalytics/lrossman-dev15
Replace fixed-sized comment strings with dynamic strings
2019-03-20 09:13:15 -04:00
Michael Tryby
260bdef2cf Update test_net_builder.cpp
Removing strings and adding test fixture
2019-03-19 14:10:29 -04:00
Michael Tryby
a566f914d4 Eliminating build warnings on gcc 2019-03-19 13:50:39 -04:00
Michael Tryby
29cfe43e5a Cleaning up tests
Fixing memory leak associated with using string objects to pass filepath arguments to toolkit
2019-03-19 13:27:07 -04:00
Michael Tryby
ed9a89763b Reorganizing tests to improve build performance 2019-03-18 16:06:21 -04:00
Lew Rossman
18f65eb8b0 Replace fixed-sized comment strings with dynamic strings 2019-03-17 19:54:51 -04:00
Michael Tryby
e70ce35e60 Cleaning up tests 2019-03-15 17:25:59 -04:00
Michael Tryby
d61a1aa786 Minor cleanup 2019-03-12 15:07:52 -04:00
Michael Tryby
32091830c6 Adding test for EN_getnodevalue 2019-03-12 13:35:24 -04:00
Michael Tryby
516ae498c3 Changing DLLEXPORT to EXPORT_OUT_API and creating epanet_output_enums.h 2019-03-11 17:11:47 -04:00
Michael Tryby
0b76cfb2df Adding test for EN_getnodevalue 2019-03-08 18:15:47 -05:00
Michael Tryby
9cff84582f Adding test for output file access prior to project close 2019-03-08 14:09:53 -05: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
b558234715 Moving fixture from output test to shared header. Fixing build 2019-03-01 16:05:03 -05:00
Michael Tryby
9f1b46b66a Fixing bug in gettimeparam 2019-03-01 15:16:27 -05:00
Michael Tryby
fca0df7a7b Moving custom testing predicates to shared header 2019-03-01 14:14:09 -05:00
Michael Tryby
b3a9701863 Adding test for getoption 2019-03-01 12:12:10 -05:00
Michael Tryby
612c898bd2 Renaming files, adding test for getstatistics 2019-03-01 11:45:39 -05:00
Michael Tryby
07dfac6198 Adding test for stepQ and proj save/reopen 2019-03-01 10:45:50 -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
b248e181b3 Fixing bug 2019-02-28 16:58:33 -05:00
Michael Tryby
854168d88a Fixing bug 2019-02-28 16:51:20 -05:00
Michael Tryby
f8f95a4a6b Working on depends on decorator 2019-02-28 16:17:14 -05:00
Michael Tryby
a626ef941c Adding test for saveH 2019-02-28 11:35:12 -05:00
Michael Tryby
a4b2e53768 Adding tests for save and use hydraulics file 2019-02-28 11:14:15 -05:00