Commit Graph

494 Commits

Author SHA1 Message Date
Waldemar Kornewald
4c7e909c5f Renamed PPPFiniteStateMachine into PPPStateMachine (the name was tooooo long).
Added some more events.
Added UpRequested methods to protocols/encapsulators.
Worked on actions and events. Also added some checks.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-23 13:03:35 +00:00
Ingo Weinhold
d50af9662a Now resizes a (shadow) partition and cancels the modification.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-22 00:21:14 +00:00
Ingo Weinhold
4c4722dd9e Added the shared private headers again, since BObjectList is used in the API now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-19 20:39:50 +00:00
Ingo Weinhold
14fa3c6b01 Also prints the disk systems' capabilities now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-18 18:46:17 +00:00
Waldemar Kornewald
7aa79f33d8 Moved OptionHandlers to LCP (where they actually belong).
Added some initial code to get general (as far as possible) multilink support (the modules must be aware of whether they belong to the device or to the bundle).
PPPDevice now reports speed and number of bytes in the output queue.
Removed PPP_CTOR_DTOR_PHASE. Modules can be loaded in PPP_DOWN_PHASE.
Worked on events and actions.
Some minor changes/fixes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 16:46:08 +00:00
Waldemar Kornewald
b912b1e24f FSM will be renamed to FiniteStateMachine. I will commit the new file later because I am working on it and when I "co" the OBOS source it gets it always comes back again. ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-17 16:34:13 +00:00
Ingo Weinhold
7fcdfb5fb8 Added registration of a file device and invocations of {Prepare,Cancel}Modifications(). Looks good so far.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 01:23:47 +00:00
Waldemar Kornewald
06a35e5e82 Added some comments.
Added lcp_packet structure.
Changed reference style.
Changed some names.
Added general events.
Completed most events.
Copy constructors and assign operators are now private (just to be on the safe side ;).
SendToDevice() now checks if the packet is small enough.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-10 11:08:44 +00:00
Ingo Weinhold
dfe606b688 Some changes due to changes in the API. Added disk system iteration.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 23:33:57 +00:00
Ingo Weinhold
671a745561 Modified the visitor implementation a bit. The Visit() with the BPartition* argument now also gets the level of the partition in the hierarchy.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 18:26:15 +00:00
Ingo Weinhold
c54d68a84e Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-08 17:38:45 +00:00
Ingo Weinhold
fb28706b69 Re-enabled Disk Device API test. Well, almost the complete old code is commented out. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 23:14:00 +00:00
Waldemar Kornewald
0491e1650c Initial checkin of ppp stack.
Still far from being complete.
Comments are welcome.

In brief: Stack will be modular and written in C++.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 16:46:29 +00:00
Ingo Weinhold
2386ff94ad Added missing include.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 12:30:23 +00:00
Philippe Houdoin
239aa01846 Moved ethernet and loopback "interface" module to new net_layer API.
Added an skeleton arp net layer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:58:38 +00:00
Philippe Houdoin
800e122ddc Merge net_protocol and net_interface modules API into a single net_layer one...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:57:02 +00:00
Philippe Houdoin
3945152869 datalink.[c|h] -> layers_manager.[c|h]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-02 12:53:03 +00:00
Ingo Weinhold
7a424c3923 * Renamed virtualdrive.c to .cpp to be able to use the saner syntax.
* Improved the driver: It now publishes a control device and ten `data'
  devices. Via an ioctl one can assign an arbitrary file to a free data
  device. (The devices are published in /dev/misc instead of /dev/disk to
  prevent them from being scanned by the Tracker and DriveSetup.)
* Added a small command line tool to (un)register files that way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-24 23:45:03 +00:00
Ingo Weinhold
6ab18748f3 Removed invocations of UsePublicHeaders, which was a no-op anyway.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-23 16:53:22 +00:00
Ingo Weinhold
ae76aede51 Added TestApp.{cpp,h}, since tests using the BTestApp class defined in
libcppunit.so don't work anymore with it, since it uses the BApplication
code of libbe.so. Several tests still fail now, but none crashes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-07 17:32:37 +00:00
Ingo Weinhold
a3b4d9e9de Removed the tests for version 1.x of the DiskDevice API from the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-06 15:48:40 +00:00
ejakowatz
0cc48ce6f9 Unit tests to ensure robust handling of bogus params to convenience funcs
plus fixes for the bugs they exposes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 23:22:08 +00:00
ejakowatz
c5d8f91d81 Unit tests for BFlattenable convenience functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-03 04:37:06 +00:00
ejakowatz
8e8e1cf6c1 The libapptest.so and libapptest_r5.so addons were getting so big they
couldn't be loaded anymore (and were causing bdb to crash).  So a stub is
loaded instead (libappteststub/_r5.so) which links directly against the
actual libraries.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:25:44 +00:00
ejakowatz
7dc2890fbb Unit tests for the Pointer convenience functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-29 05:23:41 +00:00
ejakowatz
87142a1ecf Unit tests for convenience functions for BMessenger.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 23:37:54 +00:00
ejakowatz
c48aa159a5 Minor tweaks to try and get the remote object stuff working again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:24:29 +00:00
ejakowatz
159d60f9fb Unit tests for plain C string convenience functions. Tweaks elsewhere to
deal with necessary modifications to test core.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 20:19:35 +00:00
Ingo Weinhold
5c35d41aab AddResources must precede the rule for building the target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 15:20:14 +00:00
Matthew Wilber
8ec8ccef8e added constructor test where bitmap is passed, changed to use typedef when added tests to the suite to clean things up
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-27 00:30:11 +00:00
ejakowatz
18a8d114f5 Tests for BString convenience functions, plus a fix to BMessageField for a
bug revealed by those tests.  Gotta love those unit tests!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 01:12:23 +00:00
Philippe Houdoin
1a3b3db436 Fix some typo in BUILD note.
Update headers to reflect the net_data* -> net_buffer* move


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:34:13 +00:00
Philippe Houdoin
82238517b4 net_data -> net_buffer update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-26 00:29:28 +00:00
Philippe Houdoin
5a52a89c28 net_data* -> net_buffer*
Remove some debug traces


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


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


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


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


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


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


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


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


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


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


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


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 03:36:17 +00:00
Stefano Ceccherini
1d5bd6c9d9 Fixed the building of BString tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 19:14:30 +00:00
jerl1
396c9650a5 Correct a bug that be added when I correct a bug :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 18:54:33 +00:00
jerl1
495beef2fc Correct a bug when openning just after compiling
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 19:38:45 +00:00
Stefano Ceccherini
cc4d4cd541 Fixed/Renamed a test suite
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1916 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:28:26 +00:00
Stefano Ceccherini
8b5fd18249 One more test for BString
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 12:27:53 +00:00
shadow303
c399a55fcd Minor tweaks and finish StartWatching test
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 00:45:40 +00:00
ejakowatz
1dc215ba9b First batch of tests for BMessage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-10 06:23:39 +00:00
Stefano Ceccherini
ee37218ef1 More tests. All methods are tested and are working, but LockBuffer and UnlockBuffer()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 11:50:33 +00:00
shadow303
ce088d7b5c Add clipboard and cursor test stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 01:02:08 +00:00
shadow303
4da070119b Fix initialization problem with tests
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:58:14 +00:00
shadow303
394cc79e32 Fix handling of some failure cases
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 00:54:02 +00:00
Tyler Dauwalder
58b477650f - Added recent documents, folders, and apps Load/Save/Clear test
- Added duplicate filtering test for recent docs and folders


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


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


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


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

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


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


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


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-21 16:56:53 +00:00