History log of /haiku/headers/tools/cppunit/TestShell.h
Revision Date Author Comments
# 65f5e1e1 28-May-2016 Mark Hellegers <mark@firedisk.net>

Fix #12799: Enable elf symbol patching for Haiku

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>


# 73e180c9 18-Jun-2016 Augustin Cavalier <waddlesplash@gmail.com>

Revert "cppunit: Enable elf symbol patching for Haiku."

This reverts commit 56430ad8002b8fd1ac69b590e9cc130de6d9e852.

It builds on my machine, but apparently the buildbots choke on it...


# 56430ad8 28-May-2016 Mark Hellegers <mark@firedisk.net>

cppunit: Enable elf symbol patching for Haiku.

Fixes #12799.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>


# 70f91e39 29-Jul-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Remove preprocessor checks from TestShell.h

* This is a header used by several parts of the code which should not
need to know about ELF symbol overriding and the fact that it is
optional.
* When the define is set, the methods will not be defined, but they
shouldn't be called, either
* This makes sure the memory layout of the class stays the same with the
define set or unset, and users can rely on it.

Fixes UnitTester on gcc2.


# 548149fe 28-Jul-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix out-of-date comment.


# 58481f0f 02-May-2009 Oliver Tappe <zooey@hirschkaefer.de>

* fix gcc4 build of cppunit library by explicitly spelling out std:: in
the headers and importing the required classes in the implementation files
* automatic whitespace cleanup

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


# 1b89aa98 18-Feb-2004 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).


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


# aa94570a 17-Feb-2004 Ingo Weinhold <ingo_weinhold@gmx.de>

Changes to make the CPPUnit build on PPC (with mwcc *shudder*).
Courtesy of Oliver Tappe.


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


# 257e63ba 09-Nov-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for asserting debugger() calls. The macro CPPUNIT_ASSERT_DEBUGGER shall be used in that case.


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


# 06b932a4 12-Oct-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed compilation of many tests under Dano.


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


# da199a7e 27-Sep-2002 shatty <shatty@nowhere.fake>

fixed newline at end of file.


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


# 3f6453cd 23-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added v4 verbosity level


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 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


# 34f99490 15-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Dynamic loading updates


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


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

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


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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


# 70f91e39aa2922cd4c31aad0582566d89e1d51ba 29-Jul-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Remove preprocessor checks from TestShell.h

* This is a header used by several parts of the code which should not
need to know about ELF symbol overriding and the fact that it is
optional.
* When the define is set, the methods will not be defined, but they
shouldn't be called, either
* This makes sure the memory layout of the class stays the same with the
define set or unset, and users can rely on it.

Fixes UnitTester on gcc2.


# 548149fe48f59cf27f6071e9629b8bbe2ad32c1f 28-Jul-2014 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix out-of-date comment.


# 58481f0f6ef1a61ba07283f012cafbc2ed874ead 02-May-2009 Oliver Tappe <zooey@hirschkaefer.de>

* fix gcc4 build of cppunit library by explicitly spelling out std:: in
the headers and importing the required classes in the implementation files
* automatic whitespace cleanup

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


# 1b89aa98ffe3057ab801dab67b9f5de6d1f933a5 18-Feb-2004 Ingo Weinhold <ingo_weinhold@gmx.de>

Made the Unit test stuff a bit more mwcc/mwld friendly. It still doesn't build right out of the box with our build system, but with a few changes to the build system it can be done (I'm not going to do that, though).


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


# aa94570a34695672df9b47adda2257f75d8da880 17-Feb-2004 Ingo Weinhold <ingo_weinhold@gmx.de>

Changes to make the CPPUnit build on PPC (with mwcc *shudder*).
Courtesy of Oliver Tappe.


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


# 257e63ba7f655d72955a2110dc028a3356cebe5a 09-Nov-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added support for asserting debugger() calls. The macro CPPUNIT_ASSERT_DEBUGGER shall be used in that case.


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


# 06b932a49d65e82cdfa7d28a04f48eef6de9ea49 12-Oct-2003 Axel Dörfler <axeld@pinc-software.de>

Fixed compilation of many tests under Dano.


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


# da199a7e781d23415247118bb116b833b0025337 27-Sep-2002 shatty <shatty@nowhere.fake>

fixed newline at end of file.


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


# 3f6453cd59ac8d9084ef5890246eca9c7df8bef1 23-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Added v4 verbosity level


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@414 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


# 34f99490e57ba0092bd3b8d7aa52dae06cf4184a 15-Jul-2002 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

Dynamic loading updates


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


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

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


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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