Axel Dörfler
db94ee0595
Added a userland dprintf() export; the output is simply directed to stdout.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 18:35:23 +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
Axel Dörfler
199002915e
Added the bfs_shell to the build.
...
To use it, type "bfs_shell <device-name-or-image>" - for example test.image,
or /dev/disk/ide/0/master/0/0_1; use with care, it has the power to destroy
everything :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:16:00 +00:00
Axel Dörfler
6e1c01fbd7
Beginnings of a buildable bfs userland shell (Jamfile is missing).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:03:50 +00:00
Axel Dörfler
138a8c079e
Lazy mode possibility to add additional, fs dependent commands to the shell;
...
removed BFS specific command(s).
Cleaned up the file a bit.
Removed Debug.h - it was a leftover from the BFS shell.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-20 02:01:40 +00:00
Axel Dörfler
9767c7befd
Added my updated version of Dominic's fsh.
...
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-19 17:50:50 +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
Matthew Wilber
2dc6f398bd
added basic testing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-13 03:13:02 +00:00
Matthew Wilber
3d4100d5c3
initial check-in for TIFFTranslator Tests (they don't actually test anything yet)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:56:39 +00:00
Matthew Wilber
0ef3968843
added TIFFTranslator Tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-12 00:55:01 +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
Tyler Dauwalder
5743b0d24a
iso9660.c => iso9660.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-03-05 07:44:40 +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
5ef822af8a
Aestetical change. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-24 00:45:47 +00:00
Michael Pfeiffer
2394890a66
Added PCL6 disassembler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-23 20:59:57 +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
Tyler Dauwalder
121b19e599
Updated cdrom.c => cdrom.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-17 08:59:05 +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
Philippe Houdoin
1e9364f3ab
Remove userland network modules from build, as it's not ready.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:26:32 +00:00
Philippe Houdoin
d11f020628
Remove the useless userland_modules test app from CVS, now moved
...
into the test net_server app.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 20:53:09 +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
Ingo Weinhold
1c18696ba4
Added pseudo-target for building the userland versions of all disk_scanner modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:49:51 +00:00
Ingo Weinhold
78e7610fdd
extended_partition_info::mounted_at is gone.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-08 00:48:56 +00:00
Ingo Weinhold
f5b05b5ac5
Oops, committed .../registrar/DiskDeviceManager.cpp instead of DiskScannerTest.cpp: Moved the implementation of the disk_scanner API out of the test code to the libroot sources, where it belongs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 23:02:54 +00:00
Ingo Weinhold
de40feed71
kernelland_emu is now a shared rather than a static library. The userland versions of the kernel modules are now linked against it and not longer against DiskScannerTest.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-02 22:56:16 +00:00
Ingo Weinhold
a074951297
Indention. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-31 21:23:01 +00:00
Ingo Weinhold
42941d8728
Source files for intel partition add-on added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-28 23:23:43 +00:00
Ingo Weinhold
8bb94d272f
Renamed intel.c to intel.cpp. Real C++ coming soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:23:25 +00:00
Ingo Weinhold
9d192d5917
Added partitionMapName parameter to get_nth_partition_info(). Added the new fields to the output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:14:59 +00:00
Axel Dörfler
d499baecf3
Added a comment about from where to start that application.
...
If get_nth_partition/session_info() returns with anything else than a
B_ENTRY_NOT_FOUND, an error message is printed out.
The device name can now be specified on the command line, added shortcuts
to identify a particular device, i.e. "cd-1-slave" or "slave1-cd" or
"1-atapi-slave" would be expanded to /dev/disk/ide/atapi/1/slave/0/raw.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 08:59:04 +00:00
Ingo Weinhold
f0272f00b0
Added functions for partitioning and FS initialization. The latter ones have empty implementation though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:06:30 +00:00
Ingo Weinhold
a0e033784d
Adjusted according to the disk_scanner module hook signature changes. Added some comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:22:12 +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
Philippe Houdoin
75218d4299
Now follow SymLinked add-ons too.
...
Fix a bug when a module didn't init successfully.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 21:42:35 +00:00
Philippe Houdoin
a205eafe00
Let's add an icon to our net_server...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 21:41:03 +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
Tyler Dauwalder
11e8a16025
Userland session module jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:52:42 +00:00
Tyler Dauwalder
1a4ef71a51
Added iso9660
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:36:59 +00:00
Tyler Dauwalder
42870eecf0
Added session modules
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:35:25 +00:00
Tyler Dauwalder
7683e96fd8
Set device to first atapi drive for cd rom testing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:34:14 +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
d138c6bb6c
added testing for translating from and to a MallocIO object (before it only translated from BFiles)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-28 03:27:05 +00:00
Ingo Weinhold
dcf2d78c94
Adjusted according to the changes to the disk_scanner module interface.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:19:12 +00:00
Ingo Weinhold
067b3e93d4
Cleaned up Module a bit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:17:56 +00:00
Ingo Weinhold
af8f3b2175
Doesn't try to get a FS info for non-data partitions anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 12:08:37 +00:00
Matthew Wilber
9c721dde42
fixed CompareStreams() made minor changes to which files are used with the TranslateTests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 03:16:28 +00:00
Matthew Wilber
915dc0d244
added tests to check the output of Translate()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-24 04:09:56 +00:00
Ingo Weinhold
6749e47f61
Fixed bug in ModuleManager::GetModule(): The module pointer was not returned, when the module was already loaded.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-23 23:05:12 +00:00
Matthew Wilber
fb4fed8157
added more tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-23 02:59:20 +00:00
Tyler Dauwalder
6977e77e35
Updated PARTSCAN_MODULE_NAME to DISK_SCANNER_MODULE_NAME
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:51:48 +00:00
Tyler Dauwalder
36fc6e8559
Added in missing <userland> folders and Jamfiles for partition
...
and fs modules, whose absence was breaking the DiskScannerTest
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:46:00 +00:00
Matthew Wilber
201df7927c
added more test files, removed some duplicate code, added a few new tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 04:26:39 +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
Ingo Weinhold
37152fbae0
Added disk_scanner tests to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:16:36 +00:00
Ingo Weinhold
a923d65567
disk_scanner test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:13:40 +00:00
Ingo Weinhold
739b4f1491
Emulation for kernel module handling in userland.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:11:24 +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
a2c128905a
added testing for Identify, Translate and basic BTranslator member functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-16 03:22:39 +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
b0ec1a797d
initial checkin for "StyledEdit Files" (STXT) Translator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:10:07 +00:00
Matthew Wilber
e166e3f558
moved libtranslatortest.so building from bmptranslator folder to the translators folder in order to make it work better for adding more translators to the test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:07:42 +00:00
Matthew Wilber
b165e92c98
moved this functionality into the translators folder (one level up)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-15 13:05:33 +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
1de140e4ca
added resource "res_image", type B_TRANSLATOR_BITMAP, id 246. added for use with BTranslationUtils tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-14 02:47:59 +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
Axel Dörfler
a576ea9bba
Made the B+tree test a bit harder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-05 20:28:33 +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
Axel Dörfler
af04ec0bfd
Added the missing Inode::IsContainer() method, thanks to Marcus for pointing
...
this out!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 17:16:01 +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
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
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
Matthew Wilber
72c21dd2d6
added some code that actually tests the BMPTranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 01:24:00 +00:00
Matthew Wilber
92c7babd9d
added some test code that actually tests the BMPTranslator
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 01:23:38 +00:00
Axel Dörfler
47b30e4a6a
Fixed compilation of some BFS tests, caused by the move from befs/ to bfs/.
...
I will eventually move the tests to the bfs directory as well later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 20:45:59 +00:00
Matthew Wilber
9956e82fbb
uses OpenBeOS libtranslation.so during OpenBeOS test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 14:42:27 +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
d8575caf51
+ Used to be UnitTester.*
...
+ Now gracefully handles situations where a suite and an
individual test both have the same name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:42:49 +00:00
Tyler Dauwalder
2ce9f3a6c6
Renamed UnitTesterHelper.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 03:41:15 +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
Matthew Wilber
f6c5c63d63
Changed the name of the Suite so that it was not the same name as the test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:10:11 +00:00
Matthew Wilber
ec3ff25fee
changed the indenting
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:09:35 +00:00
Matthew Wilber
ab95d761d8
fixed it so that it actually builds the code, but its still not entirely right
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 02:08:24 +00:00
Ingo Weinhold
bee021cf93
Include bmptranslator.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 20:46:37 +00:00
Ingo Weinhold
7d371dc7da
Added translators subdir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 20:45:49 +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
Matthew Wilber
98044aa821
initial checkin, doesn't seem to work yet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:47 +00:00
Matthew Wilber
cf51e393c6
initial program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:10:15 +00:00
Matthew Wilber
c523ad7c3e
inital program check in
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 20:09:55 +00:00
matzon
157a1c84d2
fixed: apparently GetInputFormats may return 0 too :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:45:39 +00:00
matzon
ae90960e33
fixed: apparently GetOutputFormats may return 0.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 14:42:20 +00:00
Tyler Dauwalder
2129049b13
Accounted for ParserTest -> MimeSnifferTest name change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:41:55 +00:00
Tyler Dauwalder
c4dc6c7c5a
Accounted for ParsetTest -> MimeSnifferTest name change
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:29:42 +00:00
Tyler Dauwalder
a06e9158c7
Used to be ParserTest.*
...
+ Added some scanner tests
+ Parser tests still do very little testing
+ The "1e-25 ('ABCD')" test, which apparently fails with
R5's CheckSnifferRule(), has been commented out, as our
version accepts it and I can't currently figure out why it
would be an invalid sniffer rule.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:27:50 +00:00
Tyler Dauwalder
b7b28d766e
Renamed to MimeSnifferTest.*
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:25:02 +00:00
Ingo Weinhold
dc7dfa74f4
Now the quit command prints the error code, when constructing the messenger to the app failed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:50:36 +00:00
Ingo Weinhold
ff952bade4
Added tests for BApplication::Quit()/QuitRequested().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 00:37:55 +00:00
ejakowatz
752c497115
The last remnants of the Old Repub ... er, static looper list data has been
...
removed. The old static BLooper functions for managing the looper list are
still there, but they are officially deprecated. The approved interface
for this information is BPrivate::BLooperList, accessible via the global
BPrivate::gLooperList variable. Being as it lives in BPrivate, it is for
API-internal use *ONLY*. User apps use it to their own risk.
Also added a small test to make sure that the size of BLooper stays the
same. I will probably add this to other classes as well; doesn't hurt to
be safe. =)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 17:16:56 +00:00
Ingo Weinhold
79f45f7f8f
The RosterShell is now built as a CommonUnitTest, which also gives us a R5 version for the time being. In case we will add (OBOS) registrar internals, it might go away again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:24:11 +00:00
Ingo Weinhold
f65749a18c
Fixed a typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:21:47 +00:00
Ingo Weinhold
c9640d94a3
BApplication tests:
...
* Added constructor tests.
* Added Run() tests.
* AppRunner -> PipedAppRunner + some improvements
* New AppRunner using ports for data transfer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 16:07:02 +00:00
Ingo Weinhold
37eae7179d
Added some more BApplication constructor tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 19:59:05 +00:00
Ingo Weinhold
8909e4ba29
Added first BApplication test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 00:36:22 +00:00
Tyler Dauwalder
47daa6c0a7
Ooops...doesn't compile with R5 tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:58:59 +00:00
Tyler Dauwalder
395d31a081
Started on parser tests, which so far are shaping up
...
to be very similar to the BMimeType::Sniffer tests... :-)
These tests have the added bonus of not need full
BMimeType/Registrar functionality, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:05:49 +00:00
ejakowatz
0b55d6648f
More tests, more fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 04:09:50 +00:00
ejakowatz
7bf6c06936
More tests with fixes to BLooper so it will pass those tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 03:08:43 +00:00
ejakowatz
b1698c8e74
Mostly fixes for silly compile error, plus an additional test.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 21:49:42 +00:00
Ingo Weinhold
4455f219ee
Added a "shell" for the roster. It can list, activate and quit application.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:28:09 +00:00
Michael Pfeiffer
839e5ecb24
Updated window title and application signature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:02:38 +00:00
Michael Pfeiffer
e6b7649c0f
Renamed View.* to BBView.* and Application.* to BBApp.*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:58:30 +00:00
Michael Pfeiffer
8002202d9d
Renamed View.* to PathView.* and Application.* to LPBApp.*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:53:03 +00:00
Tyler Dauwalder
224e92720e
Added "position in original character stream" marker to Token class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 04:13:30 +00:00
Tyler Dauwalder
dc685e9ad8
Finished scanner:
...
+ Octals are now handled properly in both quoted and
unquoted strings
+ Added support for \xXX style hex escapes in both
quoted and unquoted strings
+ Finished up the tests, so I think pretty much everything
should be working
NOTE: signed floating point numbers are no longer supported,
as they have no usefulness to sniffer rules
NOTE: extended format floating point numbers (i.e. 2.4e23) are
no longer supported, as they have no usefulness to sniffer rules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 03:21:21 +00:00
Tyler Dauwalder
ef831f3638
Updated to include MIME Sniffer Parser tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:31 +00:00
Tyler Dauwalder
6c6ea7dac5
Tests for the MIME sniffer parser.
...
Added a few scanner tests. More to come...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:20:59 +00:00
Ingo Weinhold
448187a8c3
Added some now working hooks and some more output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:06:21 +00:00
Ingo Weinhold
48f01b6d20
We need to link against libbe now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 20:05:25 +00:00
Tyler Dauwalder
4177635e24
Added initialization and MIME string functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-24 09:29:16 +00:00
Tyler Dauwalder
762a48a083
+ Finished BMimeType doxygen
...
+ Finally checked in my remaining BMimeType tests... :-)
NOTE -- The BMimeType::GetSupportingApps() test is
not yet finished. For some reason GetSupportingApps()
is returning a few strange signatures that don't appear
to be in the database. I'm still figuring out where they're
coming from.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:29:25 +00:00
Tyler Dauwalder
242a6db230
Changed TestApp to BTestApp for sake of consitency with
...
the rest of the test classes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 22:27:43 +00:00
Ingo Weinhold
20476a6b71
Don't run the application for the time being.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 21:23:01 +00:00
ejakowatz
ec9673bf48
Added/tweaked tests for BLooper; fixes to BLooper stemming from those tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 05:09:43 +00:00
Ingo Weinhold
c158e8008b
We actually build something in bmessenger/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:48:07 +00:00
Tyler Dauwalder
e61306cb63
Obsolete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:31:57 +00:00