Commit Graph

423 Commits

Author SHA1 Message Date
Tyler Dauwalder
58b477650f - Added recent documents, folders, and apps Load/Save/Clear test
- Added duplicate filtering test for recent docs and folders


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:33:20 +00:00
ejakowatz
736e86f9c6 Added implementation for RWHandler::ClipboardModified()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 19:58:42 +00:00
Stefano Ceccherini
236b9aaa29 Fixed compilation of tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:05:30 +00:00
Stefano Ceccherini
ae64b7e354 Some more tests for Replace Functions (which our BString doesn't pass (will fix it later))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 13:17:52 +00:00
Stefano Ceccherini
eb071be319 First tests for Replace*() methods (more should come later)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 10:54:04 +00:00
DarkWyrm
9bd2271c4a Clipboard and Cursor tests checked in for Gabe Yoder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 00:07:17 +00:00
Matthew Wilber
d2f4a14a55 added more testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 05:15:40 +00:00
Tyler Dauwalder
c74a036794 Moved R5 suffixes into kRecentAppsTestAppSigs array instead of adding
them on elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:13:55 +00:00
Tyler Dauwalder
43b004ca90 - Rid the world of mutated types and signatures
- Accounted for incorporation of R5 suffixes in app sigs into
  the kRecentAppsTestSigs array


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 07:12:24 +00:00
Stefano Ceccherini
4ac7fa15ed Added some more tests (for IFind* functions)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 14:05:00 +00:00
Philippe Houdoin
b1db9598c9 Add the picture tests to build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 07:57:22 +00:00
Stefano Ceccherini
af1732a6d4 Fixed to compile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 19:09:59 +00:00
Stefano Ceccherini
4c135d0948 FindLast() functions test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 14:35:55 +00:00
Stefano Ceccherini
cebc72f7c9 FindFirst() tests added to the build. More coming
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 09:59:55 +00:00
Stefano Ceccherini
c3af0b3141 Fixed the test. Now it's successful on both OBOS and R5
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:43:34 +00:00
Stefano Ceccherini
a4d15367fd BString char access tests added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:43:23 +00:00
Stefano Ceccherini
e440e9f423 BString char access tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:42:18 +00:00
Stefano Ceccherini
b947d539d4 Added the missing format appending test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 08:10:44 +00:00
beveloper
a44a6ed6d0 better luck next time
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:48:28 +00:00
Tyler Dauwalder
292e22f81d - Switched to using different signatures for respective R5 and OBOS test apps
- Fixed incorrect type code previously used for app sig attributes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:55:18 +00:00
Tyler Dauwalder
8e07bd3faf #ifdef'd out R5 versions of tests that tried to use functions not found
in R5 version of the Storage Kit.

This appears to fix the BSymLink linking errors, at least as a temporary
fix.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 02:40:06 +00:00
Matthew Wilber
43b21ffe30 fleshed out the test a bit more, tried to make it more readable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 23:10:37 +00:00
beveloper
1a654a3182 a small bugfix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 22:25:25 +00:00
beveloper
76a5f3484a simplified include path
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:29:55 +00:00
Matthew Wilber
0cc314e0ac Added some more checking, added a few BApplication objects because some Translators fail to work without them
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 02:35:47 +00:00
Matthew Wilber
75cf351844 Changed the name of the Test Suite to be shorter and consistent with the other Test Suite names
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 02:34:36 +00:00
Matthew Wilber
c2e84bf53a added some more checking
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 02:33:20 +00:00
Michael Pfeiffer
313fe24d7c Various stuff. Some classes should go elsewhere...
PictureIterator comes from PDF Writer.
PicturePrinter uses PictureIterator to print the contents of a BPicture in human readable form to stdout.
PrintJobReader class for decoding a print job file.
DumpPrintJob to print the contents of a print job to stdout.
Preview to display the contents of a print job in a window (like Preview printer add-on).
Template class that extends PictureItartor.
PictureTest... ugly classes for testing BPicture...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 18:22:45 +00:00
beveloper
b518f06251 BSimpleGameSound test application
contributed by Christopher ML Zumwalt May


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 16:56:53 +00:00
Tyler Dauwalder
06d7ca7b6c *Finally* finished BRoster::GetRecent*() tests:
- Added setUp() and tearDown() implementations that create and
  remove necessary test files respectively.
- Finished up GetRecentDocuments() tests
- Added GetRecentFolders() tests


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-19 19:08:56 +00:00
Tyler Dauwalder
9cab0e3b5d Added GetRecent{Applications,Documents,Folders}() cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-19 19:06:38 +00:00
Ingo Weinhold
5993f44c27 Roster watching tests added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:09:01 +00:00
Ingo Weinhold
f4e4e1c602 BRoster watching tests added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:02:04 +00:00
Stefano Ceccherini
c4d97e021e More tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 05:22:53 +00:00
Stefano Ceccherini
ce06a3c712 Again, more tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 05:22:26 +00:00
Ingo Weinhold
c8dbd6ea10 Added a RosterBroadcastHandler class for Broadcast() tests. Some minor extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:27:39 +00:00
Ingo Weinhold
3b590dd8c1 Added some message constants needed for Broadcast() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:25:13 +00:00
Ingo Weinhold
6df9b41c0d Added BRoster::Broadcast() tests and test app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:24:36 +00:00
Stefano Ceccherini
bd6419bd44 more tests added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 19:32:45 +00:00
Stefano Ceccherini
96acb96728 Some more tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 19:32:11 +00:00
Tyler Dauwalder
d3cd2142e9 Added GetRecentApps() test apps to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:13:09 +00:00
Tyler Dauwalder
9cd65c94fd Added GetRecent tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:12:31 +00:00
Tyler Dauwalder
8a5e66fec9 Added GetRecentTester.cpp and RecentAppsTestApp.cpp to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:11:32 +00:00
Tyler Dauwalder
01b174e535 Various specific test apps for GetRecentApps() tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:10:37 +00:00
Tyler Dauwalder
ff0ed19cd1 Initial checkin of generic test app code and constants used by GetRecentApps tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:09:45 +00:00
Tyler Dauwalder
bd723e1df8 Initial checkin of what will eventually be GetRecentDocs/Folders/Apps tests. Currently only Apps tests are implemented.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 08:08:44 +00:00
Stefano Ceccherini
1b0ea0ad6d Added some comments to the tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 05:30:30 +00:00
Ingo Weinhold
e439adc551 Added NULL parameter tests for BMessageRunner::GetInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:03:40 +00:00
Ingo Weinhold
c890b606e6 Oops, the OBOS version of the test didn't even compile. Fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:42:07 +00:00
Stefano Ceccherini
6903f4c65f More tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 08:10:34 +00:00
Stefano Ceccherini
084db5efc1 More tests for BMallocIO added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-09 12:57:54 +00:00
Stefano Ceccherini
63ca5b9b64 More tests for BMallocIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-09 12:57:06 +00:00
Ingo Weinhold
dace24c625 Added BMessageRunner tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 21:57:22 +00:00
Ingo Weinhold
aa48c99b96 Remote application supports not having a signature set in resources/attributes and uses a default signature then.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:09:26 +00:00
Ingo Weinhold
159ed07994 Fixed debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:08:20 +00:00
Ingo Weinhold
659758fa4c Didn't I commit these yesterday? Fixed test naming.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:07:39 +00:00
Ingo Weinhold
6a6ef24013 Added some interesting new tests for BRoster::FindApp()/Launch(): App hint points to a link, document is cyclic or bad link, found application has no signature set in resources/attributes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 22:06:11 +00:00
Ingo Weinhold
72ba8a738e Accounted a behavioral difference between R5 and our implementation. Comment fix.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:00:17 +00:00
Ingo Weinhold
07823f007c Accounted a behavioral difference between R5 and our implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:58:37 +00:00
Stefano Ceccherini
15b834fea5 More BString tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 15:56:57 +00:00
Stefano Ceccherini
dd2406eb30 More tests (Escaping, Inserting)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 13:45:40 +00:00
Ingo Weinhold
9473794637 Doh! Completely forgot to check what parameters are passed to the main() function of the launched application. Done now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 21:07:15 +00:00
Ingo Weinhold
fb5e7764c7 For messages that hit MessageReceived() the sending team is added to the message. Sometimes the R5 registrar drops B_REPLY messages, that we are now able to filter out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 18:03:38 +00:00
Ingo Weinhold
48bf189f58 Added app flags related tests. Fixed some problems: LaunchContext doesn't have a LaunchCaller as member anymore, team = NULL parameter for BRoster::Launch() is now handled gracefully.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 18:00:22 +00:00
Ingo Weinhold
04e2ed41e5 Added BRoster::Launch() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 17:56:41 +00:00
Ingo Weinhold
741b40bec0 Added BRoster::Launch() tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 17:55:21 +00:00
Tyler Dauwalder
cc24797b03 Added thread limit tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 04:22:36 +00:00
beveloper
59dc7b8b5b some more tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:47:21 +00:00
beveloper
d09f3b56e0 added more tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:46:19 +00:00
Stefano Ceccherini
a57dca3940 Whoops! Forgot these tests...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 09:40:55 +00:00
Stefano Ceccherini
de78848fb3 More tests for BString added to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 06:42:35 +00:00
Stefano Ceccherini
eee13b4d9a More tests for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 06:42:01 +00:00
Tyler Dauwalder
e74030b843 + Added meta mime file test to sniffing test
+ Added commented out update_meta_mime(NULL) and
  create_app_meta_mime(NULL) calls for the adventurous
  tester.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:38:53 +00:00
Tyler Dauwalder
aaa3ba11ce Added RegistrarThreadManagerTest to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:37:16 +00:00
Tyler Dauwalder
d030216df5 Accounted for ThreadManager => RegistrarThreadManager name change
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:36:45 +00:00
Tyler Dauwalder
83f04694ae Shutdown tests for RegistrarThreadManager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:56 +00:00
Ingo Weinhold
01cf44b71c Extended the Launch() helpers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:15:53 +00:00
Ingo Weinhold
45994f62b8 Added FindApp() style and parameter checking test cases for the six BRoster::Launch() versions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 22:15:02 +00:00
beveloper
ca11fc49df made movement of mouse cursor a little slower so it is better visible.
added a default argument to execute the test 1 time.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:59:04 +00:00
beveloper
697bf7deb7 added a test app for set_mouse_position function of the game kit
written by Tim de Jong


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:54:44 +00:00
beveloper
b11e9aaa12 fixed newlines
fixed a crashing bug when no file was selected and play clicked
set a default ramp time of 250 ms


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:42:55 +00:00
beveloper
7d3c9b37ac I fixed all bugs I could find
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:37:11 +00:00
beveloper
716d20e1e9 a test program for BFileGameSound, written by Tim de Jong
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 16:18:18 +00:00
Stefano Ceccherini
3249969936 More String Tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 08:19:27 +00:00
Stefano Ceccherini
5b6101d303 String Operators tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 08:18:45 +00:00
Tyler Dauwalder
682cd7e59c Made some minor adjustments to help figuring out how mime update
calls work (still in progress).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:19:00 +00:00
shatty
379c42b927 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:31:14 +00:00
shatty
8b4e270bed fixed to use the OBOS public header. builds now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 22:28:56 +00:00
Ingo Weinhold
31e923c80b Fixed some comments and the class prefix of the test names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:05:57 +00:00
Ingo Weinhold
be0742270b First BRoster::Launch() tests. Helper classes for tests are almost complete. Not added to the build yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:03:39 +00:00
Ingo Weinhold
4e84d53de8 First and probably only (as it is quite generic) test app for BRoster::Launch() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 21:01:11 +00:00
shatty
9eff9ec6bb fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 11:00:22 +00:00
shatty
9ae520f2a1 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:51:42 +00:00
shatty
3a73ac03f2 fixed newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 10:50:37 +00:00
shatty
4d5fb001b1 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:27:00 +00:00
Stefano Ceccherini
f4c91e72e3 Integrate BString tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:23:14 +00:00
Stefano Ceccherini
ed1b028fd8 BString construction and CountChars tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:22:00 +00:00
shatty
459a94c163 fixed newline at end of file errors.
also fixed small include bug in SupportKitTestAddon.cpp.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:10:39 +00:00
shatty
3f7374a8f5 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 05:05:05 +00:00
shatty
140df892f3 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 00:19:49 +00:00
Stefano Ceccherini
8adaaec712 More tests for BMemoryIO and BMallocIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:38:49 +00:00
Stefano Ceccherini
210f8dd7cc BMallocIO Tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:30:22 +00:00
Stefano Ceccherini
b3d1f5fa24 More tests for BMemoryIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 16:29:34 +00:00
jrand
63c051f283 Adding implementation and tests for global function get_deskbar_frame().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:27:26 +00:00
Stefano Ceccherini
14d32cf634 First BMemoryIO tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 15:03:51 +00:00
Stefano Ceccherini
3f541a71c8 First tests for BMemoryIO
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 15:00:55 +00:00
jrand
b5b2bdae33 Finishing BDeskbar implementation and fixing minor test issue.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 03:24:17 +00:00
Tyler Dauwalder
789d7cbe2d Fixed parse(NULL,...) test descrepancy
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 09:36:43 +00:00
Tyler Dauwalder
1bd963b6c2 + Added file-extension based mime type guessing
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
  non-recursive; forcing, non-forcing; you name it we got it :-)
  update_mime_info() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Ingo Weinhold
344a28b86f Added debug output to understand why the parser test fails.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:17:41 +00:00
Ingo Weinhold
ce61895f3e We now support MIME strings of maximal length B_MIME_TYPE_LENGTH including the null only. Adjusted the tests accordingly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:08:51 +00:00
jrand
5025cfce1b Adding final test for BDeskbar which tests adding and removing items from the deskbar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-22 05:27:25 +00:00
Ingo Weinhold
ab4697fd0f Left out test at the wrong place.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-22 00:15:03 +00:00
Ingo Weinhold
66ca3e0417 Added remaining BRoster::FindApp() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 21:53:13 +00:00
Ingo Weinhold
f236fcd129 BRoster::FindApp() tests added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 21:22:57 +00:00
Ingo Weinhold
a88454a523 Files for BRoster::FindApp() tests added.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 21:22:18 +00:00
Ingo Weinhold
76fd3246cd Added tests for BRoster::FindApp(const char*, entry_ref*).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 21:21:26 +00:00
jrand
7f3de5c362 Add tests for Location(), SetLocation(), Frame() etc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 03:51:09 +00:00
jrand
46231bee2b Adding first test for BDeskbar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-12 05:14:36 +00:00
Tyler Dauwalder
e3a2f2069e + Added SetSupportedTypes() test
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 08:12:03 +00:00
Ingo Weinhold
5097cb0445 Documented usage of BBitmap::SetBits().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:59:24 +00:00
Ingo Weinhold
145ab60f00 Unfolded a function for debugging purpose.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 16:58:43 +00:00
Ingo Weinhold
77bb876f71 libstorage.so is gone.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:14:11 +00:00
Ingo Weinhold
8093885593 Added BBitmap tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:13:45 +00:00
Ingo Weinhold
d821f8b21b Relative path of remote applications has changed when the actual unit tester executable has been moved into subdirectories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 01:12:49 +00:00
Ingo Weinhold
fa822d727d First unit tests for BBitmap (for a constructor and SetBits()/ImportBits()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-01 23:24:45 +00:00
Ingo Weinhold
ea3cd4c640 Unit test add-on for the interface kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-01 23:22:48 +00:00
Ingo Weinhold
b2383c7575 Added a test for SetSupportedTypes().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-30 20:07:55 +00:00
Tyler Dauwalder
a6e96214ed Killed a warning dead.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 00:01:17 +00:00
Tyler Dauwalder
74ec200f31 Added a #if clause to exclude the __mime_table code from the
OBOS::GetSupportingApps() tests, as the __mime_table is not
currently used.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 00:00:57 +00:00
Tyler Dauwalder
f7046d7717 + Updated Installed Types test slightly
+ Cleaned up warnings


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 08:29:05 +00:00
ejakowatz
3e5d9213bd Tweaks to the tests which illustrate an important point: do *not* call
Quit() on BLoopers on the stack. =P


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-26 16:38:10 +00:00
Ingo Weinhold
d1bafb18f2 Added BNodeInfo and BAppFileInfo tests to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:54:21 +00:00
Ingo Weinhold
1e715a58c4 Added tests for supported types methods and fixed some other tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:52:57 +00:00
ejakowatz
77a6586a2e Another test with minor tweaks to BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 15:44:28 +00:00
Ingo Weinhold
e7a0c94298 Added tests for {Get,Set}{Type,Signature,AppFlags,Icon,VersionInfo,IconForType}() and fixed some details of the info location tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 23:26:18 +00:00
ejakowatz
89c12458ee Finished up tests, accounting for fix in BLooper::AddCommonFilterList() to
prevent adding the same list to two loopers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 20:36:11 +00:00
ejakowatz
858b08a4fb Finished up comments for tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 20:33:34 +00:00
beveloper
9f44244a66 updated to support watching of individual nodes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 13:47:36 +00:00
Tyler Dauwalder
fde08bf3f4 + Updated InstalledTypesTest() to recheck GetInstalledTypes()
and friends after installing and deleting from the database.
+ Updated database dir constant per the recent mime migration


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:52:56 +00:00
beveloper
144039e6c6 adding a test that displays media kit notifications
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-23 13:34:46 +00:00
ejakowatz
ff1ade6b3d More tests and fixes for bugs exposed by them. Also removed spurious
instantiation of BRoster from BArchivable, line 323, as per Tyler's
mention. =)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 03:43:06 +00:00
jrand
310f8ec314 Add tests for unflattening data in big endian format.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 03:15:35 +00:00
Tyler Dauwalder
3155eae222 + Added code/updated tests for
- AttrInfo
  - FileExtensions
+ Updated Delete() code to send monitor updates
+ Tenatively added "be:action" field to monitor messages
+ Added data type constants


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:55:20 +00:00
jerl1
2dd2f85ae2 Apply modification stay in old repository.
By laplace and me.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 07:55:35 +00:00
Tyler Dauwalder
dd0ba994cc Updated the following tests to account for new behaviour
of BMimeType::Set*(NULL) calls as well as test new
BMimeType::Delete*() calls:
+ PreferredApp
+ AppHint
+ LongDescription
+ ShortDescription
+ Icon
+ IconForType


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:38:54 +00:00
Tyler Dauwalder
9c561e6537 + Updated tests:
- PreferredApp
  - AppHint
  - Icon
+ Added reduce_color_depth() helper function

B_GRAY1 to B_CMAP8 color conversions still
need to be tested.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:43:47 +00:00
Ingo Weinhold
e11ff37981 Finished the BAppFileInfo::SetInfoLocation() tests. This was hell, but now it's fortunately over. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 21:19:52 +00:00
beveloper
0e421f46d0 David McPaul submitted this test fir the BTimeCode class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 12:30:07 +00:00
jrand
b05c5af69b Add some comments to these tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 04:14:22 +00:00
jrand
10f4de1259 Moving these tests into three different files for construction tests, flattening tests and findmatch tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:47:09 +00:00
jrand
25a9178631 Adding BPropertyInfo tests to CVS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:45:43 +00:00
jrand
d081dee68d Adding BPropertyInfo tests to CVS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 03:44:21 +00:00
Ingo Weinhold
216921555f First BAppFileInfo tests. Complete constructor tests and the beginning of SetInfoLocation()/IsUsing{Attributes,Resources}() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-18 00:01:26 +00:00
jrand
1ddfa2f84e Added tests for the FindMatch() member function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 05:55:18 +00:00
Tyler Dauwalder
75120765af Modified MimeTypeTestSuite slightly so as to not remove the copied
mime database directory if it already existed in the first place.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 23:21:48 +00:00
Tyler Dauwalder
dda17c0010 Updated OBOS tests to use look in the same directory as the MimeDatabase
class does for the mime database. Also, if said directory is different than the
system directory, a copy is first made when necessary, and then removed
when the tests are done.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:10:38 +00:00
Ingo Weinhold
5f514448e1 Adjusted some tests to make the OBOS version of BNodeInfo pass them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 17:47:54 +00:00
Ingo Weinhold
11f4a13999 Finished the remaining BNodeInfo tests ({Get,Set}AppHint() and GetTrackerIcon()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 21:55:03 +00:00
jrand
91166d65cc Add checks for property and value structures allocated on the heap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-15 04:42:06 +00:00
Ingo Weinhold
1b2961a310 Added tests for BNodeInfo::{Set,Get}{Icon,PreferredApp}().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 21:04:19 +00:00
jrand
f8167c7ec4 Clean up the test implementation a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 03:34:54 +00:00
Ingo Weinhold
0f57d51474 First BNodeInfo tests for constructors, SetTo() and Set/GetType().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 22:36:54 +00:00
matzon
77ff9d6038 added: obos header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:22:59 +00:00
matzon
9270876b99 fixed: now uses relative paths to find images
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:20:48 +00:00
matzon
9de32c3ba4 added BitmapStreamTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:12:44 +00:00
matzon
90ba955b63 fixed: converted BitmapStreamTest to unittest
added BitmapStreamTest to suite


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 15:12:17 +00:00
matzon
fa883a5924 fixed: made jamfile actually build the relevant stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 14:34:26 +00:00
matzon
606a8f7d9c tests converted into cppunit tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:35:20 +00:00
matzon
64296d1137 added translation kit test load thingy :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:34:04 +00:00
jrand
43cf7754a4 Add some test code for unflatten.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 05:17:55 +00:00
jrand
28543016bd Add some more tests for flattening BPropertyInfo classes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 05:02:46 +00:00
Tyler Dauwalder
09d84e61b6 + Changed StorageKit namespace to BPrivate::Storage
+ Changed Sniffer namespace to BPrivate::Storage::Sniffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 08:42:01 +00:00
Tyler Dauwalder
64b563e06b Finally finished off GetSupportingApps() test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 04:20:31 +00:00
Tyler Dauwalder
c5ff4aa6f5 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
2002-08-11 03:45:17 +00:00
Tyler Dauwalder
1f6ca7567b Removed failing "quotes in unquoted string" tests, as quotes are now allowed in unquoted strings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:31:23 +00:00
Tyler Dauwalder
3035279e84 Added case-insensitivity tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:36:41 +00:00
Ingo Weinhold
7c884e9a55 Added a small subtest for GetRunningAppInfo() and verified strange return behavior for team IDs < 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:50:04 +00:00
Ingo Weinhold
e840a8d122 Uncommented accidentially commented out tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:30:03 +00:00
Ingo Weinhold
a46169b509 Added methods that return the entry_ref to the application and the port of its app looper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:29:24 +00:00
Ingo Weinhold
0f4210a2a3 Some correction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:28:20 +00:00
Ingo Weinhold
235efd8700 Added BRoster::TeamFor()/GetAppInfo()/GetRunningAppInfo()/GetAppList() tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 23:27:48 +00:00
Tyler Dauwalder
b657eab3cf + Fixed the uber scanner test yet again (this time wrt
NULL characters embedded in the token strings).
+ Added a number of sniffing tests. The rules returned
  by the parser appear to sniff properly now.

Incidentally, our sniffer supports conjunctions, i.e the rule

1.0 ('abc') [9] ('xyz')

is equivalent to the rule

1.0 ('abc______xyz' & 0xFFF000000FFF)

This is different than the R5 sniffer, which doesn't reject
rules like the former, but appears to ignore all expressions
in the rule except for the first, i.e. it would treat the first
rule as

1.0 ('abc')

The only problem I can see with this is if someone for
some reason wrote such a rule with multiple expressions
for use with the R5 sniffer. It would likely work differently
with ours. I'm going to search my MIME database and see
if any such rules exist. If so, it'll be easy to switch to the
R5 way of doing things.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 10:38:30 +00:00
Ingo Weinhold
09c9c0c147 Added BRoster::IsRunning() test cases.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:06:19 +00:00
Ingo Weinhold
28d519fe4e Added BRoster test cases, for today only for IsRunning().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:05:09 +00:00
Ingo Weinhold
c2e8b5572c Added find_test_app() functions that return the path/an entry_ref for a given test app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 22:03:06 +00:00
Michael Pfeiffer
bc96256164 Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:21:00 +00:00
Michael Pfeiffer
f221d365d8 SynthFile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:19:57 +00:00
Michael Pfeiffer
0723a9ac98 Template list class. Duplicates the one in current/src/add-ons/print/drivers/pdf/source
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 16:13:29 +00:00
Tyler Dauwalder
be1cf3b1be + Added a number of tests
+ Learned the concept of base 8 again and fixed an octal literal. I hate octal.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:54:04 +00:00
jrand
8795d3cfc9 Add some asserts for checking the simple methods from the archivable interface inherited by BPropertyInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 04:31:43 +00:00
Tyler Dauwalder
0b6140dc37 + Added a mean test to the scanner tests
+ Patched up the parser tests so they actually test something
  now, and accounted for the variations between the R5 error
  messages and our error messages where applicable.
+ Added a few extended notation floating point tests to the
  parser tests


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 07:51:26 +00:00
jrand
cc3a5fd2c2 Adding BPropertyInfo tests to the app kit test suite.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 05:14:09 +00:00
jrand
3208425015 Add the first testcases for BPropertyInfo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 05:12:53 +00:00
Ingo Weinhold
f801a32755 Added tests for the BMessenger(const char*, team_id, status_t*) constructor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:16:39 +00:00
Ingo Weinhold
022d003cb5 Added testapps subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:15:31 +00:00
Ingo Weinhold
434af8f8b7 Added common subdirectory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:14:44 +00:00
Ingo Weinhold
bf2c044d56 Added test app for BMessenger tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:13:59 +00:00
Ingo Weinhold
e3d41cfac6 CommonTestApp has been moved. Adjusted the Jamfile accordingly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 22:08:49 +00:00
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