[complement-svn] SF.net SVN: complement: [1857] trunk/complement/explore/app/SMTP-tools/ smtp_serve
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2008-04-25 08:54:16
|
Revision: 1857 http://complement.svn.sourceforge.net/complement/?rev=1857&view=rev Author: complement Date: 2008-04-25 01:53:58 -0700 (Fri, 25 Apr 2008) Log Message: ----------- fix dependency between tests; sample of setting dependency between tests Modified Paths: -------------- trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc Property Changed: ---------------- trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc Modified: trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc =================================================================== --- trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc 2008-04-24 12:03:43 UTC (rev 1856) +++ trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc 2008-04-25 08:53:58 UTC (rev 1857) @@ -1,4 +1,4 @@ -// -*- C++ -*- Time-stamp: <08/03/26 10:12:21 ptr> +// -*- C++ -*- Time-stamp: <08/04/25 12:01:55 yeti> #include "my_test_suite.h" #include "my_test.h" @@ -7,11 +7,20 @@ int EXAM_IMPL(my_test_suite) { - exam::test_suite t( "my test" ); + exam::test_suite t( "test suite for SMTP server" ); my_test test; - t.add( &my_test::test_gen, test, "my_test::test_gen" ); - t.add( &my_test::thread_call, test, "my_test::thread_call" ); + // exam::test_suite::test_case_type tc0; + + t.add( &my_test::thread_call, test, "my_test::thread_call", + t.add( &my_test::test_gen, test, "my_test::test_gen" ) ); + +#if 0 + tc0 = t.add( &my_test::test_gen, test, "my_test::test_gen" ); + t.add( &my_test::thread_call, test, "my_test::thread_call", tc0 ); + t.add( &my_test::thread_call, test, "my_test::thread_call_yet_more", tc0 ); +#endif + return t.girdle(); }; Property changes on: trunk/complement/explore/app/SMTP-tools/smtp_server_ut/my_test_suite.cc ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |