Commit Graph

491 Commits

Author SHA1 Message Date
Stefano Ceccherini
1d5bd6c9d9 Fixed the building of BString tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 19:14:30 +00:00
jerl1
396c9650a5 Correct a bug that be added when I correct a bug :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 18:54:33 +00:00
Philippe Houdoin
9dc27856cb Remove userland_modules, now merged in net_server.
Remove from build the net_server add-ons, as it's not ready for prime-time:
Due to same target name of network modules as kernel modules or userland add-ons,
when you build kernel network modules, userland networl modules try to build to.
But failed (yet), miserably. So, let's report to a future date...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:15:41 +00:00
Philippe Houdoin
f3b4194e61 Build network modules as userland add-ons when building the network stack debug
platform, aka net_server.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 22:55:10 +00:00
Philippe Houdoin
588a167357 Add Jamfiles to build network modules as userland add-ons for the
network stack debug platform, aka net_server.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 22:53:02 +00:00
jerl1
495beef2fc Correct a bug when openning just after compiling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 19:38:45 +00:00
Stefano Ceccherini
cc4d4cd541 Fixed/Renamed a test suite
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:28:26 +00:00
Stefano Ceccherini
8b5fd18249 One more test for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:27:53 +00:00
Philippe Houdoin
eca926b1cf First userland tesbed/net_server-like network stack app host commited.
Userland network modules build still not available, will come later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1912 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 08:05:07 +00:00
shadow303
c399a55fcd Minor tweaks and finish StartWatching test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 00:45:40 +00:00
ejakowatz
1dc215ba9b First batch of tests for BMessage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 06:23:39 +00:00
Stefano Ceccherini
ee37218ef1 More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:50:33 +00:00
Axel Dörfler
9616fa5dfd Added a test for the BufferPool class.
Began to move the tests directory to bfs/ instead of befs/.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 02:08:54 +00:00
shadow303
ce088d7b5c Add clipboard and cursor test stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 01:02:08 +00:00
shadow303
4da070119b Fix initialization problem with tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:58:14 +00:00
shadow303
394cc79e32 Fix handling of some failure cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:54:02 +00:00
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
Michael Pfeiffer
79dc21c98a Forgot to check in renamed files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 19:31:07 +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
Philippe Houdoin
a098bed826 read_next_module_name() & co now works fine from userland too.
To test, just compile a kernel module against this app, and put
it under ./add-ons/network/...
It support system and home add-ons/network/... too.
These modules kernel functions are now re-implemented for userland:
get_module()
put_module()
open_module_list()
read_next_module_name()
close_module_list()
get_next_loaded_module_name()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 01:35:59 +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
Philippe Houdoin
defec30317 Add the net_server-like test app skeleton to the build list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 22:46:00 +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
Ingo Weinhold
51cd5541a4 Added resources for the UnitTestHelper applications. This is needed to override the B_ARGV_ONLY flag that an application has by default. Actually this doesn't help very much due to problem with the R5 roster, but it doesn't harm at least.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 20:57:31 +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
9d3fa071bf fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 07:41:40 +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
Philippe Houdoin
4cdc6c141b Add a testbed for the userland implementation of kernel modules emulation
needed by the network stack net_server-like debugging environment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-20 00:03: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
Matthew Wilber
8a024de485 added a new test to exercise the BMPTranslator::Translate member function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 02:55:15 +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
Matthew Wilber
c904c6cdf1 one of the tests is actually supposed to fail, but it doesn't, so I'm going to have to fix that
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 20:38:29 +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
Matthew Wilber
d1fbd1255f it was a mistake to add all of these large files to CVS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:15:36 +00:00
Matthew Wilber
1ce23284a9 mistake
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:10:55 +00:00
Matthew Wilber
9d7aa35847 too big
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 14:07:39 +00:00
Matthew Wilber
c3b1fb12fe Be Bitmap Images to be used to test the BMPTranslator with
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:38:03 +00:00
Matthew Wilber
fdb30a3b98 initial checking, BMP test files to test the BMPTranslator with
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:37:07 +00:00
Matthew Wilber
f93607877e added testing function for making sure that BMPTranslator::Identify responds properly to various error conditions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:34:37 +00:00
Matthew Wilber
db661ffcc4 added code to make sure that BMPTranslator::Identify reponds properly to various error conditions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 01:33:49 +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
Matthew Wilber
e11362e6df added some testing code to exercise the BMPTranslator::Identify function, don't know if the code actually compiles though
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 22:17:39 +00:00
Matthew Wilber
cea02b5806 added some convenient string constants and some other stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-14 22:16:36 +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
d7686e939a 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
2002-08-13 22:40:35 +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