Commit Graph

1674 Commits

Author SHA1 Message Date
Ingo Weinhold
4455f219ee Added a "shell" for the roster. It can list, activate and quit application.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:28:09 +00:00
Michael Pfeiffer
839e5ecb24 Updated window title and application signature.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:02:38 +00:00
Michael Pfeiffer
e6b7649c0f Renamed View.* to BBView.* and Application.* to BBApp.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:58:30 +00:00
Michael Pfeiffer
8002202d9d Renamed View.* to PathView.* and Application.* to LPBApp.*.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:53:03 +00:00
Tyler Dauwalder
224e92720e Added "position in original character stream" marker to Token class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 04:13:30 +00:00
Tyler Dauwalder
dc685e9ad8 Finished scanner:
+ Octals are now handled properly in both quoted and
unquoted strings
+ Added support for \xXX style hex escapes in both
quoted and unquoted strings
+ Finished up the tests, so I think pretty much everything
should be working
NOTE: signed floating point numbers are no longer supported,
as they have no usefulness to sniffer rules
NOTE: extended format floating point numbers (i.e. 2.4e23) are
no longer supported, as they have no usefulness to sniffer rules.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 03:21:21 +00:00
Tyler Dauwalder
ef831f3638 Updated to include MIME Sniffer Parser tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:31 +00:00
Tyler Dauwalder
6c6ea7dac5 Tests for the MIME sniffer parser.
Added a few scanner tests. More to come...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:20:59 +00:00
Ingo Weinhold
448187a8c3 Added some now working hooks and some more output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:06:21 +00:00
Ingo Weinhold
48f01b6d20 We need to link against libbe now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:05:25 +00:00
Tyler Dauwalder
4177635e24 Added initialization and MIME string functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:29:16 +00:00
Tyler Dauwalder
762a48a083 + Finished BMimeType doxygen
+ Finally checked in my remaining BMimeType tests... :-)
NOTE -- The BMimeType::GetSupportingApps() test is
not yet finished. For some reason GetSupportingApps()
is returning a few strange signatures that don't appear
to be in the database. I'm still figuring out where they're
coming from.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:29:25 +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
20476a6b71 Don't run the application for the time being.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:23:01 +00:00
ejakowatz
ec9673bf48 Added/tweaked tests for BLooper; fixes to BLooper stemming from those tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 05:09:43 +00:00
Ingo Weinhold
c158e8008b We actually build something in bmessenger/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:48:07 +00:00
Tyler Dauwalder
e61306cb63 Obsolete
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:31:57 +00:00
Tyler Dauwalder
b706324201 Renamed to HandlerLooperTest.{h,cpp}
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:30:05 +00:00
Tyler Dauwalder
be2939cab7 Moved the rest of the App Kit tests over to the new framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:28:00 +00:00
Ingo Weinhold
23ce7baa24 Added a very basic test to see, if BRoster cooperates smoothly with the registrar to init its messengers. And yes, it does. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:54:15 +00:00
Ingo Weinhold
70da77794e The build team apparently forgot to add the servers tests to the build. Lazy bastards! ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:51:13 +00:00
Tyler Dauwalder
6b3c7cc36d Fixed dynamic loading problems for remote object tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 19:50:15 +00:00
Ingo Weinhold
a0ea8d5fd3 Added tests for the missing SendMessage() version and also use remote targets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:54:19 +00:00
Ingo Weinhold
037c2e4631 Invoker for the 5th SendMessage() version added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:52:28 +00:00
Ingo Weinhold
15df6f8a0c Made use of the shiny new RemoteSMTarget to implement test cases operating on remote targets.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:51:23 +00:00
Ingo Weinhold
7e2c6197d8 Added SMRemoteTargetApp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:49 +00:00
Ingo Weinhold
6d24e9d8c8 Some cleanup concerning the SendMessage() cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:04 +00:00
Ingo Weinhold
40c28b75d4 Added class RemoteSMTarget that starts application SMRemoteTargetApp and communicates with it via ports. The remote app runs a looper with an optional handler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:48:09 +00:00
Ingo Weinhold
014ff00176 Added test framework for BMessenger::SendMessage() and tests for four of the five versions. Testing sending messages to remote targets isn't implemented either.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 01:02:17 +00:00
Ingo Weinhold
63cf9844c1 Added tests for < operator, which also test == and !=.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:58:08 +00:00
Ingo Weinhold
45962ab457 Fixed the test output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:06 +00:00
Ingo Weinhold
7ce28c0458 Added tests for BMessenger::LockTargetWithTimeout(), the assignment operator and the comparisson operators == and !=. < has still to be done.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:07:36 +00:00
Ingo Weinhold
68e46d4eb4 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
2002-07-19 14:14:18 +00:00
Ingo Weinhold
bb653c6459 Migrated the BMessenger tests to the new test framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:08:36 +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
da21df9f97 No longer used
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:27:49 +00:00
Ingo Weinhold
9f2313755f Added BMessenger::IsTargetLocal/Target() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:20:10 +00:00
Ingo Weinhold
c128929474 Added BMessenger::LockTarget() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:19:16 +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
24b5aaa2fe Obsolete
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:25:59 +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
feae69d2c9 No longer needed, thus removed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 00:58:54 +00:00
ejakowatz
19ba51b74d More BLooper tests and minor tweaks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 20:19:53 +00:00
ejakowatz
da94386c62 Added DEBUGGER_ESCAPE to the final test, which will launch the debugger
otherwise (in order to test the debugger message).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:54:08 +00:00
ejakowatz
04de1897ed More tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:50:28 +00:00
Ingo Weinhold
25fc975af4 Minor tweaks for sake of correctness and aesthetics. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:30:17 +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
ejakowatz
38f5ceca01 Some more BLooper unit tests, with some minor resulting tweaks to BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 06:18:27 +00:00
Ingo Weinhold
4f139d7754 Added BMessenger::IsTargetLocal() test cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:34:40 +00:00
Ingo Weinhold
8e4f7c25a8 Link against /boot/home/config/lib/libopenbeos.so rather than the one in distr/... This adds the necessary dependency, so that you can be sure that when running the test, it will use a version that is up to date.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:33:22 +00:00
ejakowatz
e3684651de Finally figured out why the first assert in IsMessageWaiting5() always
worked under R5 but only sometimes for OBOS.  Answer: the OBOS
implementation of BLooper was attempting to lock itself prior to fetching
the message from the queue.  I moved the lock attempt after the fetch and
it worked the same.  I realized that if the system was loaded heavily
enough, the assert might still fail simply because the looper would not had
enough time to get to the fetch (thereby emptying the queue), making the
assert pretty useless.  Given that it was originally there as a probing
test (rather than as an integral part of the unit test), there is no real
need for it anyway, so it is no longer used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:51:51 +00:00
Ingo Weinhold
4b8c4e675c Added definition of B_BAD_DATA.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:15 +00:00
Ingo Weinhold
0505163bc5 To be able to build from other directories we need to add the subdir path to the included headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:24:53 +00:00
Axel Dörfler
296e9ce964 Fixed building of the btreeTest in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:57:02 +00:00
ejakowatz
abb579331f Tweaks to deal with new repository hierarchy and use of unified CppUnit;
some bug fixes and a couple of new tests for BLooper.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:51:31 +00:00
Tyler Dauwalder
4b9ebdb7e6 Initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:59:19 +00:00
Tyler Dauwalder
8d86fe19f9 Added dynamic test suite loading
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:58:52 +00:00
beveloper
07d1d1fff1 Taking the address of a temporary is a bug, even if it seems to work fine.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:58:07 +00:00
Ingo Weinhold
13076722ef Unsuccessful attempts to get the BArchivable tests building.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:45:21 +00:00
Ingo Weinhold
285a7bf086 Tried to get the remaining tests added to the build.
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
  compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
  B_BAD_DATA. Axel?
...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:43:55 +00:00
Ingo Weinhold
b3727040a0 Added add-ons test to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:43:24 +00:00
Ingo Weinhold
0b0485aa13 Exclude the storage kit tests from the build until they will compile again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:40:28 +00:00
Ingo Weinhold
f203c28641 Use RelSymLink instead of SymLink.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:49:07 +00:00
ejakowatz
865f9d8e38 Fixes in BLooper and its tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@84 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 15:49:01 +00:00
Tyler Dauwalder
bc85a65ae3 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
2002-07-11 03:34:41 +00:00
ejakowatz
e24ab46c4e Changes to BLooper tests so that they will work again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@69 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:04:38 +00:00
Ingo Weinhold
70c31e5157 Reflect the latest change to the UsePublicHeaders rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Ingo Weinhold
28fd2c3c85 The included Test.StorageKit.h has been renamed to StorageKitTester.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:06:51 +00:00
Ingo Weinhold
690f2d09ff Adjusted the SK tests Jamfile to work in the new tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@31 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:05:10 +00:00
Ingo Weinhold
97a2517bdc The public OBOS include dirs were invalid.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@30 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:04:14 +00:00
Ingo Weinhold
fc5a434b2c Include the Storage Kit tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@29 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:03:00 +00:00
Ingo Weinhold
5527b575c3 Renamed Test.StorageKit.cpp/h to StorageKitTester.cpp/h. Just to avoid problems with Jam's suffix handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@22 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:50:25 +00:00
Ingo Weinhold
533dbf2142 Adjusted to the new tree structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +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