Commit Graph

20 Commits

Author SHA1 Message Date
Tyler Dauwalder
bb24170e40 Added initial timing support. Individual test cases now display run time
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:16:26 +00:00
Tyler Dauwalder
7a89b5cb9e Added Equals() function, which sadly I haven't tested
(I just stole it from StorageKit::BasicTest, the version of
which has been proven many times over ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:30:20 +00:00
Tyler Dauwalder
3f6453cd59 Added v4 verbosity level
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 00:12:02 +00:00
Tyler Dauwalder
242a6db230 Changed TestApp to BTestApp for sake of consitency with
the rest of the test classes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Ingo Weinhold
b4793125a8 Fixed warnings (method shadowing).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:51:08 +00:00
Tyler Dauwalder
a6b33ea3de + Moved BAutolock and BArchivable over to new testing framework.
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Tyler Dauwalder
9285de5124 + Started migrating Support Kit to new testing framework
+ Migrated BLocker tests.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:32:00 +00:00
Tyler Dauwalder
aad997bd6c Finished migrating Storage Kit tests to new framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
Tyler Dauwalder
d1f6c38f0d Unit testing update:
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
Tyler Dauwalder
f1544e394c NextSubTest() code now honors BTestShell::Verbosity() levels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:53:26 +00:00
Tyler Dauwalder
34f99490e5 Dynamic loading updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:52:57 +00:00
Tyler Dauwalder
e2a04f50a7 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:52:17 +00:00
Tyler Dauwalder
36b1a33703 Rewritten completely
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:51:57 +00:00
Tyler Dauwalder
0a99bdf489 Fixed multithreaded NextSubTest() output problems
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:45 +00:00
Tyler Dauwalder
40ea65d602 Semaphore based SyncObject
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:24 +00:00
Tyler Dauwalder
a319112563 Sounds like BAutolock ... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:30:03 +00:00
Tyler Dauwalder
530d2bc9fe Big CppUnit update
+ Initial threaded test support
+ Integrated CppUnitShell code into TestShell


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@75 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:28:37 +00:00
Tyler Dauwalder
aa3f51a786 Integrated into TestShell.h, thus no longer needed, thus removed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@74 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:26:27 +00:00
Tyler Dauwalder
cc449ec9d1 Not currently used, so removed for the moment at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@73 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:25:42 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00