History log of /haiku/src/tests/UnitTester.cpp
Revision Date Author Comments
# 52702ce2 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* indent is obviously only 2 spaces.
* BTW, the tests work on GCC4 just fine, only the GCC2 build doesn't work, so
it's likely to be a newly introduced compiler problem as those tests worked
under BeOS fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d463afcc 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Build fix for GCC4.
* Use printf() instead of the std::cout stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06d8bb6f 25-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Coding style cleanup, added license. No functional change.
* Note that our tests currently don't work because overloading BTestShell
doesn't seem to work (the overridden LoadDynamicSuites() is never called).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9289e25b 11-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Changed a few references to OpenBeOS in the unit tester to Haiku. There are
still tons of OpenBeOS references in various source files (especially in
comments), but this was more overt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19461 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5fdbbf2b 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed UnitTesterHelper.* to UnitTester.*.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14793 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5cdc84cc 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

No longer needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14792 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d7686e93 13-Aug-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

The UnitTester does now find the platform specific unit testers also when invoked from another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@755 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c5ff4aa6 10-Aug-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

It became apparent that in order to assure obos tests are run
with obos libs and r5 tests are run with r5 libs, two separate
unit testing programs in different directories would be needed.
Thus UnitTester is now just a shell program that calls the
appropriate unittester/UnitTester or unittester_r5/UnitTester_r5
program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@703 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 68e46d4e 19-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the lib directory in the directory of the tester executable the default search dir for test add-ons. It was ./lib before, which didn't allow you to run the tester from another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@335 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6b33ea3 19-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

+ 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


# aad997bd 17-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Finished migrating Storage Kit tests to new framework.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1f6c38f 17-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

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


# 8d86fe19 15-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added dynamic test suite loading


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc85a65a 10-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Initial checking of unified unit testing app and example test.
+ Currently, only statically linked tests are supported.
+ None of the existing tests have been integrated into it yet; that will come after I add dynamic linking.
+ The example test has multithreaded and singlethreaded examples
+ The name of the unit testing app is open for negotiation if UnitTester is unacceptable for some reason. :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@78 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52702ce24d98b981e2034192cd86b2f614096611 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* indent is obviously only 2 spaces.
* BTW, the tests work on GCC4 just fine, only the GCC2 build doesn't work, so
it's likely to be a newly introduced compiler problem as those tests worked
under BeOS fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39674 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d463afccb1bf4b9c02b967b3c0c7ea18f0ef1f50 29-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Build fix for GCC4.
* Use printf() instead of the std::cout stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 06d8bb6f8392c9a8221b79e4e76846fe7c266097 25-Nov-2010 Axel Dörfler <axeld@pinc-software.de>

* Coding style cleanup, added license. No functional change.
* Note that our tests currently don't work because overloading BTestShell
doesn't seem to work (the overridden LoadDynamicSuites() is never called).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9289e25b254e5053effdddbe27e63077d6461491 11-Dec-2006 Ryan Leavengood <leavengood@gmail.com>

Changed a few references to OpenBeOS in the unit tester to Haiku. There are
still tons of OpenBeOS references in various source files (especially in
comments), but this was more overt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19461 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5fdbbf2ba5f93a94ef8c0be1822629539ea79721 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Renamed UnitTesterHelper.* to UnitTester.*.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14793 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5cdc84cc43904b0193c8dda14f5908fb9aa8c77e 09-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

No longer needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14792 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d7686e939a140a1e4ec05d114fc4dd9a2660762a 13-Aug-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

The UnitTester does now find the platform specific unit testers also when invoked from another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@755 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c5ff4aa6f5bc5d28639250c8c93e9ee9a3d9b8fa 10-Aug-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

It became apparent that in order to assure obos tests are run
with obos libs and r5 tests are run with r5 libs, two separate
unit testing programs in different directories would be needed.
Thus UnitTester is now just a shell program that calls the
appropriate unittester/UnitTester or unittester_r5/UnitTester_r5
program.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@703 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 68e46d4eb419dd8fcbc6ae340640069e1518d4bd 19-Jul-2002 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the lib directory in the directory of the tester executable the default search dir for test add-ons. It was ./lib before, which didn't allow you to run the tester from another directory.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@335 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6b33ea3deb0df368b529219081f04f443aab403 19-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

+ 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


# aad997bd6c9035ac0185bda5c52bd1ba2dd8a47d 17-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Finished migrating Storage Kit tests to new framework.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d1f6c38f0d8029fda3c77d45dde4c9fa53e2e75b 17-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

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


# 8d86fe19f9c87ee02a5fd41b306935b2f85c3b32 15-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added dynamic test suite loading


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc85a65ae30086f432deb7844ae9872da5bec542 10-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Initial checking of unified unit testing app and example test.
+ Currently, only statically linked tests are supported.
+ None of the existing tests have been integrated into it yet; that will come after I add dynamic linking.
+ The example test has multithreaded and singlethreaded examples
+ The name of the unit testing app is open for negotiation if UnitTester is unacceptable for some reason. :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@78 a95241bf-73f2-0310-859d-f6bbb57e9c96