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
Tyler Dauwalder
b706324201
Renamed to HandlerLooperTest.{h,cpp}
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:30:05 +00:00
Tyler Dauwalder
be2939cab7
Moved the rest of the App Kit tests over to the new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-22 09:28:00 +00:00
Ingo Weinhold
23ce7baa24
Added a very basic test to see, if BRoster cooperates smoothly with the registrar to init its messengers. And yes, it does. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:54:15 +00:00
Ingo Weinhold
70da77794e
The build team apparently forgot to add the servers tests to the build. Lazy bastards! ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 22:51:13 +00:00
Tyler Dauwalder
6b3c7cc36d
Fixed dynamic loading problems for remote object tests
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 19:50:15 +00:00
Ingo Weinhold
a0ea8d5fd3
Added tests for the missing SendMessage() version and also use remote targets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:54:19 +00:00
Ingo Weinhold
037c2e4631
Invoker for the 5th SendMessage() version added.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:52:28 +00:00
Ingo Weinhold
15df6f8a0c
Made use of the shiny new RemoteSMTarget to implement test cases operating on remote targets.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:51:23 +00:00
Ingo Weinhold
7e2c6197d8
Added SMRemoteTargetApp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:49 +00:00
Ingo Weinhold
6d24e9d8c8
Some cleanup concerning the SendMessage() cases.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:49:04 +00:00
Ingo Weinhold
40c28b75d4
Added class RemoteSMTarget that starts application SMRemoteTargetApp and communicates with it via ports. The remote app runs a looper with an optional handler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 14:48:09 +00:00
Ingo Weinhold
014ff00176
Added test framework for BMessenger::SendMessage() and tests for four of the five versions. Testing sending messages to remote targets isn't implemented either.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 01:02:17 +00:00
Ingo Weinhold
63cf9844c1
Added tests for < operator, which also test == and !=.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-21 00:58:08 +00:00
Ingo Weinhold
45962ab457
Fixed the test output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:08:06 +00:00
Ingo Weinhold
7ce28c0458
Added tests for BMessenger::LockTargetWithTimeout(), the assignment operator and the comparisson operators == and !=. < has still to be done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 17:07:36 +00:00
Ingo Weinhold
68e46d4eb4
Made the lib directory in the directory of the tester executable the default search dir for test add-ons. It was ./lib before, which didn't allow you to run the tester from another directory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:14:18 +00:00
Ingo Weinhold
bb653c6459
Migrated the BMessenger tests to the new test framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 14:08:36 +00:00
Tyler Dauwalder
a6b33ea3de
+ Moved BAutolock and BArchivable over to new testing framework.
...
+ Added ability to specify entire suites to the UnitTester program.
+ BAutolock and BArchivable tests now use CPPUNIT_ASSERT, but BLocker
tests crash for some unknown reason with said assertion, so plain old vanilla
assert() is still used. I'll look into this later.
+ BArchivable tests that try to load a RemoteTestObject are failing
because the resource file doesn't appear to be linked into
libsupporttest_RemoteTestObject.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:45:28 +00:00
Tyler Dauwalder
da21df9f97
No longer used
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-19 06:27:49 +00:00
Ingo Weinhold
9f2313755f
Added BMessenger::IsTargetLocal/Target() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:20:10 +00:00
Ingo Weinhold
c128929474
Added BMessenger::LockTarget() tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 22:19:16 +00:00
Tyler Dauwalder
9285de5124
+ Started migrating Support Kit to new testing framework
...
+ Migrated BLocker tests.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:32:00 +00:00
Tyler Dauwalder
24b5aaa2fe
Obsolete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 05:25:59 +00:00
Tyler Dauwalder
aad997bd6c
Finished migrating Storage Kit tests to new framework.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 01:03:19 +00:00
Tyler Dauwalder
feae69d2c9
No longer needed, thus removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 00:58:54 +00:00
ejakowatz
19ba51b74d
More BLooper tests and minor tweaks.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 20:19:53 +00:00
ejakowatz
da94386c62
Added DEBUGGER_ESCAPE to the final test, which will launch the debugger
...
otherwise (in order to test the debugger message).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:54:08 +00:00
ejakowatz
04de1897ed
More tests for BLooper.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 19:50:28 +00:00
Ingo Weinhold
25fc975af4
Minor tweaks for sake of correctness and aesthetics. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 16:30:17 +00:00
Tyler Dauwalder
d1f6c38f0d
Unit testing update:
...
- Verbosity is now honored globally
- Added BTestCase::Outputf()
- Migrated BNode, BStatable, BDirectory, and BPath tests
- Added CommonTestLib, TestLib, and R5TestLib rules to Jamrules
- Updated Jamfiles for unit testing stuff
- Probably a few other things I've forgotten
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 10:50:55 +00:00
ejakowatz
38f5ceca01
Some more BLooper unit tests, with some minor resulting tweaks to BLooper.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 06:18:27 +00:00
Ingo Weinhold
4f139d7754
Added BMessenger::IsTargetLocal() test cases.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:34:40 +00:00
Ingo Weinhold
8e4f7c25a8
Link against /boot/home/config/lib/libopenbeos.so rather than the one in distr/... This adds the necessary dependency, so that you can be sure that when running the test, it will use a version that is up to date.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 23:33:22 +00:00
ejakowatz
e3684651de
Finally figured out why the first assert in IsMessageWaiting5() always
...
worked under R5 but only sometimes for OBOS. Answer: the OBOS
implementation of BLooper was attempting to lock itself prior to fetching
the message from the queue. I moved the lock attempt after the fetch and
it worked the same. I realized that if the system was loaded heavily
enough, the assert might still fail simply because the looper would not had
enough time to get to the fetch (thereby emptying the queue), making the
assert pretty useless. Given that it was originally there as a probing
test (rather than as an integral part of the unit test), there is no real
need for it anyway, so it is no longer used.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-16 07:51:51 +00:00
Ingo Weinhold
4b8c4e675c
Added definition of B_BAD_DATA.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 17:13:15 +00:00
Ingo Weinhold
0505163bc5
To be able to build from other directories we need to add the subdir path to the included headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:24:53 +00:00
Axel Dörfler
296e9ce964
Fixed building of the btreeTest in the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:57:02 +00:00
ejakowatz
abb579331f
Tweaks to deal with new repository hierarchy and use of unified CppUnit;
...
some bug fixes and a couple of new tests for BLooper.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 15:51:31 +00:00
Tyler Dauwalder
4b9ebdb7e6
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:59:19 +00:00
Tyler Dauwalder
8d86fe19f9
Added dynamic test suite loading
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 06:58:52 +00:00
beveloper
07d1d1fff1
Taking the address of a temporary is a bug, even if it seems to work fine.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 01:58:07 +00:00
Ingo Weinhold
13076722ef
Unsuccessful attempts to get the BArchivable tests building.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:45:21 +00:00
Ingo Weinhold
285a7bf086
Tried to get the remaining tests added to the build.
...
* The support kit tests are commented out as they badly fail to compile.
* I tried the net kit tests, but had to stop very early as I didn't get it
compiled. David?
* Some BFS tests don't compile due to a missing header and the undefined
B_BAD_DATA. Axel?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 22:43:55 +00:00
Ingo Weinhold
b3727040a0
Added add-ons test to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-13 20:43:24 +00:00
Ingo Weinhold
0b0485aa13
Exclude the storage kit tests from the build until they will compile again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:40:28 +00:00
Ingo Weinhold
f203c28641
Use RelSymLink instead of SymLink.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 18:49:07 +00:00
ejakowatz
865f9d8e38
Fixes in BLooper and its tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@84 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 15:49:01 +00:00
Tyler Dauwalder
bc85a65ae3
Initial checking of unified unit testing app and example test.
...
+ Currently, only statically linked tests are supported.
+ None of the existing tests have been integrated into it yet; that will come after I add dynamic linking.
+ The example test has multithreaded and singlethreaded examples
+ The name of the unit testing app is open for negotiation if UnitTester is unacceptable for some reason. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@78 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 03:34:41 +00:00
ejakowatz
e24ab46c4e
Changes to BLooper tests so that they will work again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@69 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 00:04:38 +00:00
Ingo Weinhold
70c31e5157
Reflect the latest change to the UsePublicHeaders rule.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@43 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 16:36:50 +00:00
Ingo Weinhold
28fd2c3c85
The included Test.StorageKit.h has been renamed to StorageKitTester.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@32 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:06:51 +00:00
Ingo Weinhold
690f2d09ff
Adjusted the SK tests Jamfile to work in the new tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@31 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:05:10 +00:00
Ingo Weinhold
97a2517bdc
The public OBOS include dirs were invalid.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@30 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:04:14 +00:00
Ingo Weinhold
fc5a434b2c
Include the Storage Kit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@29 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 02:03:00 +00:00
Ingo Weinhold
5527b575c3
Renamed Test.StorageKit.cpp/h to StorageKitTester.cpp/h. Just to avoid problems with Jam's suffix handling.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@22 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:50:25 +00:00
Ingo Weinhold
533dbf2142
Adjusted to the new tree structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@20 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 21:43:03 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00