3 ===========================
4 STLport testing unit README
5 ===========================
10 Provide independent STLport unit tests, with clearly defined pass/failed
11 result for every single test without any user action (i.e. diff)
12 and without any input request (i.e. files, cin input ...).
21 ======================
22 Running the test suite
23 ======================
24 commad-line syntax as follows:
25 stl_unit_test [OPTIONS]
27 -t=CLASS[::TEST] run the test class CLASS or member test CLASS::TEST
28 -f=FILE save output in file FILE instead of stdout
32 - runs all tests registered with this unit
34 ./stl_unit_test -f=out.txt
35 - runs all tests registered with this unit but print results into out.txt instead of stdout
37 ./stl_unit_test -t=VectorTest
38 - runs all tests registered in VectorTest class
40 ./stl_unit_test -t=VectorTest::vec_test_1 -f=out.txt
41 - runs only VectorTest::vec_test_1() test, print result into out.txt instead of stdout
47 http://www.stlport.com/dcforum/DCForumID5/764.html
49 Note: cppunit mini sources are modified from original!
54 You can add/create new tests easily just use _template.cpp as your new
55 test class and do not forget to edit Makefile.inc
57 For guide to CppUnit like tests see http://cppunit.sourceforge.net/
59 ==============================================
60 Replacement of regression by unit tests:
61 ==============================================
64 -----------------------------------------
65 accum1.cpp accum_test.cpp
68 adjdiff0.cpp adj_test.cpp
75 advance.cpp advance_test.cpp
83 bcompos1.cpp bcompos_test.cpp
86 bind1st1.cpp bind_test.cpp
91 binsert1.cpp binsert_test.cpp
94 binsrch1.cpp bsearch_test.cpp
97 bnegate1.cpp bnegate_test.cpp
100 bvec1.cpp bvector_test.cpp
104 copy1.cpp copy_test.cpp
111 count0.cpp count_test.cpp
115 deque1.cpp deque_test.cpp
117 divides.cpp divides_test.cpp
119 eqlrnge0.cpp equal_test.cpp
127 fill1.cpp fill_test.cpp
130 find0.cpp find_test.cpp
135 finsert1.cpp finsert_test.cpp
138 float_input.cpp floatio_test.cpp
141 foreach0.cpp foreach_test.cpp
146 func1.cpp func_test.cpp
150 gener1.cpp generator_test.cpp
155 greateq.cpp greater_test.cpp
158 hmap1.cpp hash_test.cpp
163 incl0.cpp includes_test.cpp
167 inplmrg1.cpp inplace_test.cpp
170 inrprod0.cpp innerprod_test.cpp
174 insert1.cpp insert_test.cpp
177 ioiter.cpp ioiter_test.cpp
179 iota1.cpp iota_test.cpp
181 istmit1.cpp istmit_test.cpp
183 iter1.cpp iter_test.cpp
189 less.cpp less_test.cpp
192 lexcmp1.cpp lexcmp_test.cpp
195 list1.cpp list_test.cpp
200 logicand.cpp logic_test.cpp
204 lwrbnd1.cpp bound_test.cpp
209 map1.cpp map_test.cpp
213 max1.cpp max_test.cpp
218 memfunptr.cpp mfunptr_test.cpp
220 merge0.cpp merge_test.cpp
224 min1.cpp min_test.cpp
229 minus.cpp plusminus.cpp
231 mismtch0.cpp mismatch_test.cpp
235 mkheap0.cpp heap_test.cpp
240 modulus.cpp modulus_test.cpp
242 move_constructor.cpp mvctor_test.cpp
244 multiset.cpp multiset_test.cpp
246 negate.cpp neq_test.cpp
249 nextprm0.cpp perm_test.cpp
256 nthelem0.cpp nthelm_test.cpp
260 ostmit.cpp ostmit_test.cpp
262 pair0.cpp pair_test.cpp
266 parsrt0.cpp partial_test.cpp
276 pqueue1.cpp queue_test.cpp
279 ptition0.cpp partition_test.cpp
284 ptrbinf1.cpp ptr2_test.cpp
289 ptr_specialization.cpp ptrspec_test.cpp
291 quiet_signal_nan.cpp -
293 rawiter.cpp rawiter.cpp
295 remcopy1.cpp rm_cp_test.cpp
307 reviter1.cpp reviter_test.cpp
311 rndshuf0.cpp rndshf_test.cpp
315 rotate0.cpp rotate_copy.cpp
320 search0.cpp search_test.cpp
328 setdiff0.cpp setdiff_test.cpp
335 setintr0.cpp setinter_test.cpp
339 setunon0.cpp setunion_test.cpp
345 slist1.cpp slist_test.cpp
347 sort1.cpp sort_test.cpp
354 stack1.cpp stack_test.cpp
359 string1.cpp string_test.cpp
363 swap1.cpp swap_test.cpp
366 times.cpp times_test.cpp
368 trnsfrm1.cpp transform_test.cpp
373 ucompos1.cpp unary_test.cpp
378 uniqcpy1.cpp unique_test.cpp
383 vec.cpp vector_test.cpp
388 So far all tests from regression directory were ported except following ones:
390 iter2.cpp (pointless - already tested in iter1.cpp,
392 move_constructor.cpp (not fully tested see mvctor_test.cpp)
393 mset1.cpp (moved in multiset.cpp)
394 mset3.cpp (moved in multiset.cpp)
395 mset4.cpp (moved in multiset.cpp)
396 mset5.cpp (moved in multiset.cpp)
397 pair1.cpp (pointless - already tested in pair0.cpp,
399 pair2.cpp (pointless - already tested in pair0.cpp,
401 partsrt0.cpp (identic w ith parsrt0.cpp - tested in
404 revbit2.cpp (pointless - already tested in revbit1.cpp,
405 see reviter_test.cpp )
406 rndshuf1.cpp (pointless - already tested in rndshuf0.cpp,
407 see rndshf_test.cpp )
408 set1.cpp (moved in set.cpp)
409 set2.cpp (moved in set.cpp)