Commit Graph

170 Commits

Author SHA1 Message Date
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