Commit Graph

461 Commits

Author SHA1 Message Date
Philippe Houdoin
5a52a89c28 net_data* -> net_buffer*
Remove some debug traces


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:27:18 +00:00
Philippe Houdoin
0a936c017d net_data* -> net_buffer*
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:23:37 +00:00
Philippe Houdoin
d5b2863194 Rename net_data into net_buffer, which make more sense.
Add read_buffer() and write_buffer() to access/modify net_buffer data chunks.
Add a split_buffer() function, that will split at a specified offset. To be implemented.
Remove append_buffer(), prepend_buffer() and insert_buffer(), replace by all-purpose
add_to_buffer().
Rename remove_buffer() into remove_from_buffer(), to opposite add_to_buffer()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:22:39 +00:00
ejakowatz
e5b24a582e Many tweaks, mostly to support the freakiness of doing Add/FindData() with
entry_refs and BMessages.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-23 23:14:41 +00:00
Philippe Houdoin
885d94cdfd Move device registration out of lookup_devices(), now living in register_device().
set_mtu() hook implemented.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:41:42 +00:00
Philippe Houdoin
cf86e4612e Make loopback interface less... useless!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 23:25:22 +00:00
Philippe Houdoin
266a39bd55 Fix a output bug in dump_memory() where 0x7f was displayed as-is.
Add a better interface(s) reader thread handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:51:23 +00:00
Philippe Houdoin
8f16d01827 Fixed an undersized memory allocation, causing heap corruption :-(
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:47:04 +00:00
Philippe Houdoin
6aad418382 Add send_signal_etc() to kernel functions userland support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 22:44:37 +00:00
Philippe Houdoin
c6199df94e Fix unwanted C++ symbols mangling in the kernel module API userland emulation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 16:00:06 +00:00
Philippe Houdoin
0d42ecaf89 Add a short note on how to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:07:36 +00:00
Philippe Houdoin
301e81d7a5 Better checking these than lost them one day...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-20 00:03:46 +00:00
beveloper
c123bb9936 better in CVS than lost
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-04-25 16:09:01 +00:00
ejakowatz
74d9216544 New tests for Add/Find/Replace/HasRef, and tweak in MessageTest.cpp to use
it.  Also, minor fix in entry_ref handling in BMessage::AddData().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 06:02:27 +00:00
ejakowatz
e60c601e2d Tweaks to make the tests work correctly and properly scope a BMessage
function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 05:37:07 +00:00
ejakowatz
7da12d98a8 More tests, for float and double this time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 03:11:57 +00:00
ejakowatz
241dab6520 Modifications to bring BMessage tests into effect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 04:26:00 +00:00
ejakowatz
be45e9989d The new, super-templatized tests for all those handy (and yet annoying to
write tests for) BMessage convenience functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 04:24:18 +00:00
mahlzeit
d5e73c1f23 just a reminder
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-11 20:30:15 +00:00
Ingo Weinhold
2d350d3dba The hack needed to be able to communicate with our registrar though not linking against libopenbeos has been moved to BDiskDeviceRoster. Link against libdiskdevice now, instead of compiling the sources in.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:47:25 +00:00
Ingo Weinhold
fdb95f3aeb Added the new classes needed for the DiskDevice API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-22 23:56:52 +00:00
Ingo Weinhold
73574809d0 Added BDiskDeviceList and test it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-20 00:26:00 +00:00
Ingo Weinhold
295fcc8865 Removed some debug info. Changes due to the removal of the extended_partition_info::partition_code field.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-18 21:33:23 +00:00
Ingo Weinhold
c2257230d6 Our <RosterPrivate.h> must not be included when compiling for R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 23:00:37 +00:00
Ingo Weinhold
45a89df921 BDiskDevice::Eject() and GetName() are used now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-16 18:09:26 +00:00
Ingo Weinhold
875f291891 Recognizes all notification messages now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-14 23:16:34 +00:00
Stefano Ceccherini
4db3797f17 Some more tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-11 19:14:05 +00:00
Ingo Weinhold
77d6501f22 Added notification tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-10 00:24:51 +00:00
Ingo Weinhold
851a7b6fe7 Added small test program for the Disk Device API. Doesn't do much for now -- only dumps the current list of disk devices. The iteration code seems to work. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:40:11 +00:00
Ingo Weinhold
2ed834e3f6 Cleaned up BRoster's friends mess. All access to private BRoster functionality is now done through the newly added BRoster::Private class, which is BRoster's only friend (poor BRoster ;-).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 23:29:21 +00:00
Michael Pfeiffer
ecf43bd407 CVS works now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 13:31:19 +00:00
Michael Pfeiffer
0644a69750 Test.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 13:30:42 +00:00
Philippe Houdoin
670fe10319 Fix, on behalf of Michael Pfeiffer, Preview broken Jamfile rule which was still
referencing PictureIterator.cpp & co, now build in libprint.a


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:52:32 +00:00
Stefano Ceccherini
5235e06864 When you pass a negative number as Truncate() argument, the string is truncated to a length of 0 (before Truncate() just did nothing), because it makes more sense (there isn't any problem with R5 compatibility, because here R5's BString just crashed).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-10 16:10:00 +00:00
Stefano Ceccherini
cfe8d4a743 one more test for ReplaceSet(char, char)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 14:00:47 +00:00
Matthew Wilber
b5786abca8 fixed path of test text file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 04:04:42 +00:00
Matthew Wilber
004a0bc5b0 moved to text sub directory and renamed to sentence.txt
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:58:53 +00:00
Matthew Wilber
3b3007ee29 moved to text sub directory and renamed to sentence.stxt
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:58:17 +00:00
Matthew Wilber
af5f1fc65e test files for use with the STXTTranslator. The .txt files contain plain text (UTF8) and the .stxt files contain styled information as well as text (UTF8)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 04:25:21 +00:00
beveloper
e3cb015484 modified per Ingo's request
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 17:01:01 +00:00
Matthew Wilber
26e97ce934 removed the newline character that I didn't realize was there before
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 03:17:32 +00:00
Matthew Wilber
0499309d67 initial check in, used for STXTTranslator testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 02:43:06 +00:00
Matthew Wilber
9422d58547 Added TranslatorTests (testing for BTranslator) to the collection of tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 00:50:18 +00:00
Matthew Wilber
197d60ae55 added TranslatorTests to the test lib
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 00:49:27 +00:00
Matthew Wilber
05a19344d1 Initial checking for BTranslator tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 00:48:59 +00:00
Matthew Wilber
3bc3ad25ab added quite a few more tests, including tests for failures
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 22:53:32 +00:00
Matthew Wilber
1d9d5fec0e styled text data used for BTranslationUtils tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 22:52:05 +00:00
Matthew Wilber
a93731dc52 added more tests for GetBitmap, added tests that used resources
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 03:22:56 +00:00
Matthew Wilber
e089d9c09f removed commented out AddResources, the necessary resource has been added to UnitTesterHelper.rsrc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 03:19:43 +00:00
Matthew Wilber
09c9676e19 not needed, couldn't be used in the way I thought it could
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 03:18:56 +00:00
Matthew Wilber
d1885bb8fb adding resources to libtranslationtest.so did not give me what I needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-13 12:52:34 +00:00
Matthew Wilber
af4dfc93cb added more tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-13 03:38:05 +00:00
Matthew Wilber
b0adbe905f resource file for use with testing of the BTranslationUtils class, contains a PNG image
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 01:22:20 +00:00
Matthew Wilber
138faba868 added TranslationUtils test and resource file (though, I don't have the XRes command working correctly yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 01:17:51 +00:00
Matthew Wilber
4d9583ca70 added TranslationUtils test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 01:16:29 +00:00
Matthew Wilber
c11e45af22 intial checkin, tests don't actually do anything yet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-12 01:15:57 +00:00
Ingo Weinhold
be4eaeda92 Added virtualdrive driver. Original code by Marcus.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:56:56 +00:00
Ingo Weinhold
d0d716f9c8 Fixed BVolume and added BVolumeRoster tests. Consider this to be complete now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:54:47 +00:00
Ingo Weinhold
9b9ca68883 Added virtualdriver to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:53:43 +00:00
Ingo Weinhold
38ce9b085e Added boolean argument to {create,delete}Volume() specifying whether or not the mount point shall be made/deleted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:52:58 +00:00
Michael Pfeiffer
82dc2c66fb Moved header files to headers/private/print.
Moved source files to src/add-ons/print/shared.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 05:09:05 +00:00
Matthew Wilber
f618953010 added many tests, put tests for seperate functions into single test functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 03:25:46 +00:00
Matthew Wilber
ae25cd6c51 added more testing, remove tests that didn't do anything productive, made style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 04:01:20 +00:00
Matthew Wilber
d5b36fec12 added a few little tests, made existing tests a bit more thorough
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 03:41:14 +00:00
Ingo Weinhold
467cfff600 Added BVolume tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:07:33 +00:00
jrand
eae4530961 Add final test for BPolygon, update Marc's BPolygon implementation a bit
and integrate it into the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 04:07:21 +00:00
Matthew Wilber
e1403feb25 added a few little tests, made style changes in order to fit on printed pages more easily, added some TODOs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 04:22:33 +00:00
jrand
f7081347c5 Adding the first tests for BPolygon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 04:42:57 +00:00
jerl1
eac71506d6 Some correction, and class BMidiStore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 19:23:22 +00:00
Matthew Wilber
ef3a275d0f added some more testing, modified some existing testing, made style changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 05:06:40 +00:00
Stefano Ceccherini
9f83f86cbe some more tests which our implementation passes and r5 does not :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 08:24:13 +00:00
jerl1
75660c7bca Previous version were updated by error sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 16:42:26 +00:00
jerl1
f9493271b8 Made correction asked to me
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 16:38:59 +00:00
Matthew Wilber
42010ad93f made some minor style changes, added test for deleting default BTranslatorRoster
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 08:01:58 +00:00
Ingo Weinhold
f0261ccddf `resources' subdir containing the test data for BResources and BResourceStrings is now also linked to R5 test dir.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 21:00:28 +00:00
Ingo Weinhold
f788b9354b Reverted to previous version. The tests do compile and link again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 20:23:51 +00:00
ejakowatz
202ed890a9 Some bug fixing on BString and it's unit tests. Should now pass all
current tests!  Now included in the build.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 03:36:17 +00:00
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
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
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
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
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