Commit Graph

97 Commits

Author SHA1 Message Date
Ingo Weinhold
cb19e5d278 Moved AppRunner.*, PipedAppRunner.* and CommonTestApp.* to src/tests/kits/app/common, since they are not longer only used by the BApplication tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:07:59 +00:00
Matthew Wilber
98044aa821 initial checkin, doesn't seem to work yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:47 +00:00
Matthew Wilber
cf51e393c6 initial program check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:15 +00:00
Matthew Wilber
c523ad7c3e inital program check in
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:09:55 +00:00
matzon
157a1c84d2 fixed: apparently GetInputFormats may return 0 too :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:45:39 +00:00
matzon
ae90960e33 fixed: apparently GetOutputFormats may return 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:42:20 +00:00
Tyler Dauwalder
2129049b13 Accounted for ParserTest -> MimeSnifferTest name change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:41:55 +00:00
Tyler Dauwalder
c4dc6c7c5a Accounted for ParsetTest -> MimeSnifferTest name change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:29:42 +00:00
Tyler Dauwalder
a06e9158c7 Used to be ParserTest.*
+ Added some scanner tests
+ Parser tests still do very little testing
+ The "1e-25 ('ABCD')" test, which apparently fails with
R5's CheckSnifferRule(), has been commented out, as our
version accepts it and I can't currently figure out why it
would be an invalid sniffer rule.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:27:50 +00:00
Tyler Dauwalder
b7b28d766e Renamed to MimeSnifferTest.*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:25:02 +00:00
Ingo Weinhold
dc7dfa74f4 Now the quit command prints the error code, when constructing the messenger to the app failed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:50:36 +00:00
Ingo Weinhold
ff952bade4 Added tests for BApplication::Quit()/QuitRequested().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:37:55 +00:00
ejakowatz
752c497115 The last remnants of the Old Repub ... er, static looper list data has been
removed.  The old static BLooper functions for managing the looper list are
still there, but they are officially deprecated.  The approved interface
for this information is BPrivate::BLooperList, accessible via the global
BPrivate::gLooperList variable.  Being as it lives in BPrivate, it is for
API-internal use *ONLY*.  User apps use it to their own risk.
Also added a small test to make sure that the size of BLooper stays the
same.  I will probably add this to other classes as well; doesn't hurt to
be safe. =)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 17:16:56 +00:00
Ingo Weinhold
79f45f7f8f The RosterShell is now built as a CommonUnitTest, which also gives us a R5 version for the time being. In case we will add (OBOS) registrar internals, it might go away again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:24:11 +00:00
Ingo Weinhold
f65749a18c Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:21:47 +00:00
Ingo Weinhold
c9640d94a3 BApplication tests:
* Added constructor tests.
* Added Run() tests.
* AppRunner -> PipedAppRunner + some improvements
* New AppRunner using ports for data transfer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:07:02 +00:00
Ingo Weinhold
37eae7179d Added some more BApplication constructor tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 19:59:05 +00:00
Ingo Weinhold
8909e4ba29 Added first BApplication test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 00:36:22 +00:00
Tyler Dauwalder
47daa6c0a7 Ooops...doesn't compile with R5 tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:58:59 +00:00
Tyler Dauwalder
395d31a081 Started on parser tests, which so far are shaping up
to be very similar to the BMimeType::Sniffer tests... :-)
These tests have the added bonus of not need full
BMimeType/Registrar functionality, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:05:49 +00:00
ejakowatz
0b55d6648f More tests, more fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 04:09:50 +00:00
ejakowatz
7bf6c06936 More tests with fixes to BLooper so it will pass those tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 03:08:43 +00:00
ejakowatz
b1698c8e74 Mostly fixes for silly compile error, plus an additional test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:49:42 +00:00
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