Pietro Gagliardi
|
e03021a350
|
Piped the actual file/line through to testingRunWithTimeout().
|
2019-04-28 13:26:15 -04:00 |
Pietro Gagliardi
|
64478bd5b0
|
Finished cleaning up the TimerNsec naming wonk.
|
2019-04-28 13:19:04 -04:00 |
Pietro Gagliardi
|
1bc2297597
|
Added a facility to do timeouts in test functions. Also started cleaning up the weird TimerNsec abstractions.
|
2019-04-28 13:12:40 -04:00 |
Pietro Gagliardi
|
bd1ca240e3
|
Added timers to the testing framework, test timing (so no more of those pesky TODOs), and the OS X implementation of test timing.
|
2019-04-22 23:01:55 -04:00 |
Pietro Gagliardi
|
b8b3b3df39
|
Fixed the rest of the build errors and warnings. Woo! Now for the manifests.
|
2019-04-21 17:28:47 -04:00 |
Pietro Gagliardi
|
f7867f3427
|
ALMOST fixed the build on Windows with MSVC. (For the change to test/testing.h: Even in VS2019 inline isn't available in C, ugh. That function doesn't need to be inline anyway, so eh.)
|
2019-04-21 15:08:09 -04:00 |
Pietro Gagliardi
|
e5e60284fb
|
More desirable sorting of tests: by line number per file, specifically. Also per-file, but that can remain unguaranteed if I ever spin this out into its own library.
|
2019-04-17 22:58:44 -04:00 |
Pietro Gagliardi
|
dcf34e6dab
|
Set up the necessary work for having the list of tests sort by filename/line number instead of init order.
|
2019-04-17 21:49:47 -04:00 |
Pietro Gagliardi
|
59b449b920
|
Added rudimentary test ordering, for the Init and Uninit tests.
|
2019-04-10 20:17:40 -04:00 |
Pietro Gagliardi
|
1b046e763b
|
Fixed the test suite.
|
2019-04-10 20:11:44 -04:00 |
Pietro Gagliardi
|
759d6d1e46
|
Allowed deferred functions to access the testingT. If they call FailNow, we act as if nothing happens and the defers keep running.
|
2019-04-10 14:27:21 -04:00 |
Pietro Gagliardi
|
0149639edc
|
Cleaned things up a bit for libui's test suite.
|
2019-04-10 14:19:17 -04:00 |
Pietro Gagliardi
|
b26e0677af
|
Okay, I'm not satisfied with the other testing frameworks, so strip testing.h down to just what libui needs.
|
2019-04-10 13:23:25 -04:00 |
Pietro Gagliardi
|
ced0820e39
|
Undo that; this is probably overkill for libui's unit tests...
|
2019-04-10 12:55:37 -04:00 |
Pietro Gagliardi
|
5a0477d46d
|
Moved the testing files back here since we're actually going to start writing proper unit tests now.
|
2019-04-10 12:18:08 -04:00 |