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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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