Sam Hatchett
5f7fd55a36
Return error if node/link name is too long ( #535 )
...
* co-authored with @ehsan-shafiee
* removes errant slashes
* Throws correct error for ID name too long
* Revert "Throws correct error for ID name too long"
This reverts commit 57b4873f5882cb9fd983f7e1e5a703b9e442cd74.
* fixes #534 by bubbling error codes up from add node/link internal functions
* fixes tests on Mac at least
* fixes improper success code
* Error 252 (not 250) returned for ID name too long.
From errors.dat: DAT(252,"invalid ID name")
2019-10-09 10:47:45 -04:00
Lew Rossman
365ab00dcb
Refactors the API's demand editing functions
2019-05-09 10:26:40 -04:00
Michael Tryby
ac56971ef2
Work in progress
...
Creating function for validateing element ID strings
2019-04-16 14:44:06 -04:00
Michael Tryby
30f0def02a
Initial commit list
...
generic linked list
2019-04-09 14:26:33 -04:00
Michael Tryby
c98d13de80
Updated filemanager to use dynamically allocated strings
...
converted filename to dynamically allocated string
created cstr_helper
2019-04-02 11:05:56 -04:00
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
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
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
48facd89d0
Fixing test build on gcc
2019-03-21 18:08:05 -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