TestApplication.cpp
Go to the documentation of this file.00001 00002 // 00003 // This source file is a part of ParCompMark 00004 // Parallel Compositing Benchmark Framework 00005 // 00006 // for latest info see http://parcompmark.sourceforge.net 00007 00008 // 00009 // Copyright (C) 2006 IT2 ParCompMark Dev. Team 00010 // 00011 // This program is free software; you can redistribute it and/or 00012 // modify it under the terms of the GNU General Public License 00013 // as published by the Free Software Foundation; either version 2 00014 // of the License, or (at your option) any later version. 00015 // 00016 // This program is distributed in the hope that it will be useful, 00017 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 // GNU General Public License for more details. 00020 // 00021 // You should have received a copy of the GNU General Public License 00022 // along with this program; if not, write to the Free Software 00023 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 00027 00028 #include "../include/TestApplication.h" 00029 00030 namespace ParCompMarkTest 00031 { 00032 00033 void TestApplication::setUp() 00034 { 00035 std::string currentLogFile = "logs/TestApplication.log"; 00036 00037 if(Logger::getInstance() && Logger::getInstance()->getLogFileName() != currentLogFile) 00038 Logger::destroyInstance(); 00039 00040 if(!FileSystemManager::getInstance()) 00041 { 00042 FileSystemManager::createInstance(); 00043 FileSystemManager::getInstance()->setAppDirectory("./"); 00044 FileSystemManager::getInstance()->initialize(); 00045 } 00046 00047 if(!Logger::getInstance()) 00048 { 00049 Logger::createInstance(); 00050 Logger::getInstance()->setLogFileName(currentLogFile); 00051 Logger::getInstance()->initialize(); 00052 } 00053 } 00054 00055 /*----------------------------------------------------------------------*/ 00056 00057 void TestApplication::tearDown() 00058 { 00059 } 00060 00061 /*----------------------------------------------------------------------*/ 00062 00063 // 00064 // Constructor & destructor tests 00065 // 00066 00067 void TestApplication::test_constructor() 00068 { 00069 /* 00070 * Application *pApp = 0; 00071 * 00072 * CPPUNIT_ASSERT_NO_THROW(pApp = new Application()); 00073 * 00074 * // Logger is alive 00075 * CPPUNIT_ASSERT(pApp->mLogger.isNotNull()); 00076 */ 00077 } 00078 00079 /*----------------------------------------------------------------------*/ 00080 00081 void TestApplication::test_destructor() 00082 { 00083 // TODO this test confuses the logger 00084 //Application *pApp; 00085 //CPPUNIT_ASSERT_NO_THROW(pApp = new Application()); 00086 00087 //CPPUNIT_ASSERT_NO_THROW(delete pApp); 00088 } 00089 00090 /*----------------------------------------------------------------------*/ 00091 00092 // 00093 // Class method tests 00094 // 00095 00096 void TestApplication::test_complement_int_int() 00097 { 00098 00099 /* 00100 * You have to verify the following: 00101 * 00102 * Complement command line commands. 00103 */ 00104 00105 CPPUNIT_FAIL("Implement this test!"); 00106 } 00107 00108 /*----------------------------------------------------------------------*/ 00109 00110 void TestApplication::test_parseCommandLine_cu32_cchar_pp() 00111 { 00112 00113 /* 00114 * You have to verify the following: 00115 * 00116 * Parse ANSI C command line. 00117 */ 00118 00119 CPPUNIT_FAIL("Implement this test!"); 00120 } 00121 00122 /*----------------------------------------------------------------------*/ 00123 00124 void TestApplication::test_showHelp_cstd__string() 00125 { 00126 00127 /* 00128 * You have to verify the following: 00129 * 00130 * Write help to std out. 00131 */ 00132 00133 CPPUNIT_FAIL("Implement this test!"); 00134 } 00135 00136 /*----------------------------------------------------------------------*/ 00137 00138 void TestApplication::test_showVersion_cstd__string() 00139 { 00140 00141 /* 00142 * You have to verify the following: 00143 * 00144 * Write version to std out. 00145 */ 00146 00147 CPPUNIT_FAIL("Implement this test!"); 00148 } 00149 00150 /*----------------------------------------------------------------------*/ 00151 00152 void TestApplication::test_setCommanderOn_cstd__string() 00153 { 00154 00155 /* 00156 * You have to verify the following: 00157 * 00158 * Set commander mode. 00159 */ 00160 00161 CPPUNIT_FAIL("Implement this test!"); 00162 } 00163 00164 /*----------------------------------------------------------------------*/ 00165 00166 void TestApplication::test_setGUIOn_cstd__string() 00167 { 00168 00169 /* 00170 * You have to verify the following: 00171 * 00172 * Set GUI mode. 00173 */ 00174 00175 CPPUNIT_FAIL("Implement this test!"); 00176 } 00177 00178 /*----------------------------------------------------------------------*/ 00179 00180 void TestApplication::test_setLowLevelOn_cstd__string() 00181 { 00182 00183 /* 00184 * You have to verify the following: 00185 * 00186 * Set low-level scripting mode. 00187 */ 00188 00189 CPPUNIT_FAIL("Implement this test!"); 00190 } 00191 00192 /*----------------------------------------------------------------------*/ 00193 00194 void TestApplication::test_setLowLevelScriptFile_cstd__string() 00195 { 00196 00197 /* 00198 * You have to verify the following: 00199 * 00200 * Set low-level script file. 00201 */ 00202 00203 CPPUNIT_FAIL("Implement this test!"); 00204 } 00205 00206 /*----------------------------------------------------------------------*/ 00207 00208 void TestApplication::test_setDynamicScriptFile_cstd__string() 00209 { 00210 00211 /* 00212 * You have to verify the following: 00213 * 00214 * Set dynamic script file. 00215 */ 00216 00217 CPPUNIT_FAIL("Implement this test!"); 00218 } 00219 00220 /*----------------------------------------------------------------------*/ 00221 00222 void TestApplication::test_setScenarioScriptFile_cstd__string() 00223 { 00224 00225 /* 00226 * You have to verify the following: 00227 * 00228 * Set scenario script file. 00229 */ 00230 00231 CPPUNIT_FAIL("Implement this test!"); 00232 } 00233 00234 /*----------------------------------------------------------------------*/ 00235 00236 void TestApplication::test_setCluster_cstd__string() 00237 { 00238 00239 /* 00240 * You have to verify the following: 00241 * 00242 * Set cluster description file. 00243 */ 00244 00245 CPPUNIT_FAIL("Implement this test!"); 00246 } 00247 00248 /*----------------------------------------------------------------------*/ 00249 00250 void TestApplication::test_setParameters_cstd__string() 00251 { 00252 00253 /* 00254 * You have to verify the following: 00255 * 00256 * Set parameters description file. 00257 */ 00258 00259 CPPUNIT_FAIL("Implement this test!"); 00260 } 00261 00262 /*----------------------------------------------------------------------*/ 00263 00264 void TestApplication::test_setInput_cstd__string() 00265 { 00266 00267 /* 00268 * You have to verify the following: 00269 * 00270 * Set input file. 00271 */ 00272 00273 CPPUNIT_FAIL("Implement this test!"); 00274 } 00275 00276 /*----------------------------------------------------------------------*/ 00277 00278 void TestApplication::test_setOutput_cstd__string() 00279 { 00280 00281 /* 00282 * You have to verify the following: 00283 * 00284 * Set output file. 00285 */ 00286 00287 CPPUNIT_FAIL("Implement this test!"); 00288 } 00289 00290 /*----------------------------------------------------------------------*/ 00291 00292 void TestApplication::test_setExpectedHostCount_cstd__string() 00293 { 00294 00295 /* 00296 * You have to verify the following: 00297 * 00298 * Set expected number of rendering hosts. 00299 */ 00300 00301 CPPUNIT_FAIL("Implement this test!"); 00302 } 00303 00304 /*----------------------------------------------------------------------*/ 00305 00306 void TestApplication::test_setUserInterface_cstd__string() 00307 { 00308 00309 /* 00310 * You have to verify the following: 00311 * 00312 * Set user the type of interface. 00313 */ 00314 00315 CPPUNIT_FAIL("Implement this test!"); 00316 } 00317 00318 /*----------------------------------------------------------------------*/ 00319 00320 void TestApplication::test_hasEnvironmentVariable_cstd__string() 00321 { 00322 00323 /* 00324 * You have to verify the following: 00325 * 00326 * Returns true if specified environment variable exists. 00327 */ 00328 00329 CPPUNIT_FAIL("Implement this test!"); 00330 } 00331 00332 /*----------------------------------------------------------------------*/ 00333 00334 void TestApplication::test_getEnvironmentVariable_cstd__string() 00335 { 00336 00337 /* 00338 * You have to verify the following: 00339 * 00340 * Get environment variable. 00341 */ 00342 00343 CPPUNIT_FAIL("Implement this test!"); 00344 } 00345 00346 /*----------------------------------------------------------------------*/ 00347 00348 void TestApplication::test_terminateHandler() 00349 { 00350 00351 /* 00352 * You have to verify the following: 00353 * 00354 * Abnormal termination handler. 00355 */ 00356 00357 CPPUNIT_FAIL("Implement this test!"); 00358 } 00359 00360 /*----------------------------------------------------------------------*/ 00361 00362 void TestApplication::test_terminateHandlerNOP() 00363 { 00364 00365 /* 00366 * You have to verify the following: 00367 * 00368 * No operation termination handler. The terminateHandler() method sets this method as Abnormal termination handler during its run. 00369 */ 00370 00371 CPPUNIT_FAIL("Implement this test!"); 00372 } 00373 00374 /*----------------------------------------------------------------------*/ 00375 00376 void TestApplication::test_unexpectedHandler() 00377 { 00378 00379 /* 00380 * You have to verify the following: 00381 * 00382 * Unexpected exception handler. 00383 */ 00384 00385 CPPUNIT_FAIL("Implement this test!"); 00386 } 00387 00388 /*----------------------------------------------------------------------*/ 00389 00390 void TestApplication::test_segfaultHandler_int() 00391 { 00392 00393 /* 00394 * You have to verify the following: 00395 * 00396 * Segmentation fault handler. 00397 */ 00398 00399 CPPUNIT_FAIL("Implement this test!"); 00400 } 00401 00402 /*----------------------------------------------------------------------*/ 00403 00404 void TestApplication::test_interruptHandler_int() 00405 { 00406 00407 /* 00408 * You have to verify the following: 00409 * 00410 * Interrupt signal handler. 00411 */ 00412 00413 CPPUNIT_FAIL("Implement this test!"); 00414 } 00415 00416 /*----------------------------------------------------------------------*/ 00417 00418 void TestApplication::test_getInstance() 00419 { 00420 00421 /* 00422 * You have to verify the following: 00423 * 00424 * Gets the instance of the singleton class. Reimplemented for squirrel usage. 00425 */ 00426 00427 CPPUNIT_FAIL("Implement this test!"); 00428 } 00429 00430 /*----------------------------------------------------------------------*/ 00431 00432 // 00433 // Method tests 00434 // 00435 00436 void TestApplication::test_setupHandlers() 00437 { 00438 00439 /* 00440 * You have to verify the following: 00441 * 00442 * Setup special event handlers. 00443 */ 00444 00445 CPPUNIT_FAIL("Implement this test!"); 00446 } 00447 00448 /*----------------------------------------------------------------------*/ 00449 00450 void TestApplication::test_initialize() 00451 { 00452 00453 /* 00454 * You have to verify the following: 00455 * 00456 * Initialize the PCM application. 00457 */ 00458 00459 CPPUNIT_FAIL("Implement this test!"); 00460 } 00461 00462 /*----------------------------------------------------------------------*/ 00463 00464 void TestApplication::test_finalize() 00465 { 00466 00467 /* 00468 * You have to verify the following: 00469 * 00470 * Finalize the PCM application. 00471 */ 00472 00473 CPPUNIT_FAIL("Implement this test!"); 00474 } 00475 00476 /*----------------------------------------------------------------------*/ 00477 00478 void TestApplication::test_finalizeCommander() 00479 { 00480 00481 /* 00482 * You have to verify the following: 00483 * 00484 * Addintional finalization code for commander mode. This method is executed at the beginning of the common finalize() method. 00485 */ 00486 00487 CPPUNIT_FAIL("Implement this test!"); 00488 } 00489 00490 /*----------------------------------------------------------------------*/ 00491 00492 void TestApplication::test_finalizeSoldier() 00493 { 00494 00495 /* 00496 * You have to verify the following: 00497 * 00498 * Addintional finalization code for soldier mode. This method is executed at the beginning of the common finalize() method. 00499 */ 00500 00501 CPPUNIT_FAIL("Implement this test!"); 00502 } 00503 00504 /*----------------------------------------------------------------------*/ 00505 00506 void TestApplication::test_setFromConfigOptions() 00507 { 00508 00509 /* 00510 * You have to verify the following: 00511 * 00512 * Call application-wide setters on config options. 00513 */ 00514 00515 CPPUNIT_FAIL("Implement this test!"); 00516 } 00517 00518 /*----------------------------------------------------------------------*/ 00519 00520 void TestApplication::test_createVirtualMachines() 00521 { 00522 00523 /* 00524 * You have to verify the following: 00525 * 00526 * Create and initialize virtual machines for dynamic script execution and for user interaction handling. 00527 */ 00528 00529 CPPUNIT_FAIL("Implement this test!"); 00530 } 00531 00532 /*----------------------------------------------------------------------*/ 00533 00534 void TestApplication::test_startOperation() 00535 { 00536 00537 /* 00538 * You have to verify the following: 00539 * 00540 * The application starts its operation. The operation depends on the 00541 * commander mode flag. 00542 */ 00543 00544 CPPUNIT_FAIL("Implement this test!"); 00545 } 00546 00547 /*----------------------------------------------------------------------*/ 00548 00549 void TestApplication::test_writeOutput() 00550 { 00551 00552 /* 00553 * You have to verify the following: 00554 * 00555 * Write collected output. 00556 */ 00557 00558 CPPUNIT_FAIL("Implement this test!"); 00559 } 00560 00561 /*----------------------------------------------------------------------*/ 00562 00563 void TestApplication::test_waitForOutput() 00564 { 00565 00566 /* 00567 * You have to verify the following: 00568 * 00569 * Wait until the output is fully written. 00570 */ 00571 00572 CPPUNIT_FAIL("Implement this test!"); 00573 } 00574 00575 /*----------------------------------------------------------------------*/ 00576 00577 void TestApplication::test_quit() 00578 { 00579 00580 /* 00581 * You have to verify the following: 00582 * 00583 * Quit from application. 00584 */ 00585 00586 CPPUNIT_FAIL("Implement this test!"); 00587 } 00588 00589 /*----------------------------------------------------------------------*/ 00590 00591 void TestApplication::test_compileDynamic() 00592 { 00593 00594 /* 00595 * You have to verify the following: 00596 * 00597 * Compile dynamic script. 00598 */ 00599 00600 CPPUNIT_FAIL("Implement this test!"); 00601 } 00602 00603 /*----------------------------------------------------------------------*/ 00604 00605 void TestApplication::test_start() 00606 { 00607 00608 /* 00609 * You have to verify the following: 00610 * 00611 * Start compositing. 00612 */ 00613 00614 CPPUNIT_FAIL("Implement this test!"); 00615 } 00616 00617 /*----------------------------------------------------------------------*/ 00618 00619 void TestApplication::test_stop() 00620 { 00621 00622 /* 00623 * You have to verify the following: 00624 * 00625 * Stop compositing. 00626 */ 00627 00628 CPPUNIT_FAIL("Implement this test!"); 00629 } 00630 00631 /*----------------------------------------------------------------------*/ 00632 00633 void TestApplication::test_autoDetection() 00634 { 00635 00636 /* 00637 * You have to verify the following: 00638 * 00639 * Auto detection of the cluster. 00640 */ 00641 00642 CPPUNIT_FAIL("Implement this test!"); 00643 } 00644 00645 /*----------------------------------------------------------------------*/ 00646 00647 void TestApplication::test_cleanup() 00648 { 00649 00650 /* 00651 * You have to verify the following: 00652 * 00653 * Do cleanup. Empty output document etc. 00654 */ 00655 00656 CPPUNIT_FAIL("Implement this test!"); 00657 } 00658 00659 /*----------------------------------------------------------------------*/ 00660 00661 void TestApplication::test_getHostListForSquirrel() 00662 { 00663 00664 /* 00665 * You have to verify the following: 00666 * 00667 * Return the list of hosts in cluster as a Squirrel string array. 00668 */ 00669 00670 CPPUNIT_FAIL("Implement this test!"); 00671 } 00672 00673 /*----------------------------------------------------------------------*/ 00674 00675 void TestApplication::test_getLowLevelScriptForSquirrel() 00676 { 00677 00678 /* 00679 * You have to verify the following: 00680 * 00681 * Return the low-level script as a string. 00682 */ 00683 00684 CPPUNIT_FAIL("Implement this test!"); 00685 } 00686 00687 /*----------------------------------------------------------------------*/ 00688 00689 void TestApplication::test_getDynamicScriptForSquirrel() 00690 { 00691 00692 /* 00693 * You have to verify the following: 00694 * 00695 * Return the dynamic script as a string. 00696 */ 00697 00698 CPPUNIT_FAIL("Implement this test!"); 00699 } 00700 00701 /*----------------------------------------------------------------------*/ 00702 00703 void TestApplication::test_hasScenarioScript() 00704 { 00705 00706 /* 00707 * You have to verify the following: 00708 * 00709 * Return true if a scenario script is loaded. 00710 */ 00711 00712 CPPUNIT_FAIL("Implement this test!"); 00713 } 00714 00715 /*----------------------------------------------------------------------*/ 00716 00717 void TestApplication::test_getDynamicScriptParametersForSquirrel() 00718 { 00719 00720 /* 00721 * You have to verify the following: 00722 * 00723 * Return the list of dynamic script parameters as a Squirrel string array. 00724 */ 00725 00726 CPPUNIT_FAIL("Implement this test!"); 00727 } 00728 00729 /*----------------------------------------------------------------------*/ 00730 00731 void TestApplication::test_getProgramInfo() 00732 { 00733 00734 /* 00735 * You have to verify the following: 00736 * 00737 * Return one line program info as a string. 00738 */ 00739 00740 CPPUNIT_FAIL("Implement this test!"); 00741 } 00742 00743 /*----------------------------------------------------------------------*/ 00744 00745 void TestApplication::test_calculateMessageSendTime() 00746 { 00747 00748 /* 00749 * You have to verify the following: 00750 * 00751 * Calcualtes the message sendign time. 00752 */ 00753 00754 CPPUNIT_FAIL("Implement this test!"); 00755 } 00756 00757 /*----------------------------------------------------------------------*/ 00758 00759 void TestApplication::test__pseudoStop() 00760 { 00761 00762 /* 00763 * You have to verify the following: 00764 * 00765 * Handle pseudoSTOP post command. 00766 */ 00767 00768 CPPUNIT_FAIL("Implement this test!"); 00769 } 00770 00771 /*----------------------------------------------------------------------*/ 00772 00773 void TestApplication::test_commanderOperation() 00774 { 00775 00776 /* 00777 * You have to verify the following: 00778 * 00779 * Operation of a commander mode application. 00780 */ 00781 00782 CPPUNIT_FAIL("Implement this test!"); 00783 } 00784 00785 /*----------------------------------------------------------------------*/ 00786 00787 void TestApplication::test_soldierOperation() 00788 { 00789 00790 /* 00791 * You have to verify the following: 00792 * 00793 * Operation of a soldier mode (not commander mode) application. 00794 */ 00795 00796 CPPUNIT_FAIL("Implement this test!"); 00797 } 00798 00799 /*----------------------------------------------------------------------*/ 00800 00801 void TestApplication::test_textUserInterface() 00802 { 00803 00804 /* 00805 * You have to verify the following: 00806 * 00807 * Start textual user interface. 00808 */ 00809 00810 CPPUNIT_FAIL("Implement this test!"); 00811 } 00812 00813 /*----------------------------------------------------------------------*/ 00814 00815 void TestApplication::test_noUserInterface() 00816 { 00817 00818 /* 00819 * You have to verify the following: 00820 * 00821 * Start "no" user interface. 00822 */ 00823 00824 CPPUNIT_FAIL("Implement this test!"); 00825 } 00826 00827 /*----------------------------------------------------------------------*/ 00828 00829 void TestApplication::test_executeUserCommand_cstd__string() 00830 { 00831 00832 /* 00833 * You have to verify the following: 00834 * 00835 * Executes a single line user command. User command can be a Squirrel code fragment or an abrevation. 00836 */ 00837 00838 CPPUNIT_FAIL("Implement this test!"); 00839 } 00840 00841 /*----------------------------------------------------------------------*/ 00842 00843 void TestApplication::test_processSquirrelCommandList() 00844 { 00845 00846 /* 00847 * You have to verify the following: 00848 * 00849 * Executes the commands in the squirrel command list. 00850 */ 00851 00852 CPPUNIT_FAIL("Implement this test!"); 00853 } 00854 00855 /*----------------------------------------------------------------------*/ 00856 00857 void TestApplication::test_doPostCommand() 00858 { 00859 00860 /* 00861 * You have to verify the following: 00862 * 00863 * Executes current post command task. 00864 */ 00865 00866 CPPUNIT_FAIL("Implement this test!"); 00867 } 00868 00869 /*----------------------------------------------------------------------*/ 00870 00871 void TestApplication::test_loadLowLevelScript_cchar_p() 00872 { 00873 00874 /* 00875 * You have to verify the following: 00876 * 00877 * Load low-level script from the specified filename. 00878 */ 00879 00880 CPPUNIT_FAIL("Implement this test!"); 00881 } 00882 00883 /*----------------------------------------------------------------------*/ 00884 00885 void TestApplication::test_loadDynamicScript_cchar_p() 00886 { 00887 00888 /* 00889 * You have to verify the following: 00890 * 00891 * Load dynamic script from the specified filename. 00892 */ 00893 00894 CPPUNIT_FAIL("Implement this test!"); 00895 } 00896 00897 /*----------------------------------------------------------------------*/ 00898 00899 void TestApplication::test_loadScenarioScript_cchar_p() 00900 { 00901 00902 /* 00903 * You have to verify the following: 00904 * 00905 * Load scenario script from the specified filename. 00906 */ 00907 00908 CPPUNIT_FAIL("Implement this test!"); 00909 } 00910 00911 /*----------------------------------------------------------------------*/ 00912 00913 void TestApplication::test_pushSquirrelCommand_cchar_p() 00914 { 00915 00916 /* 00917 * You have to verify the following: 00918 * 00919 * Push a command into the Squirrel command list. 00920 */ 00921 00922 CPPUNIT_FAIL("Implement this test!"); 00923 } 00924 00925 /*----------------------------------------------------------------------*/ 00926 00927 void TestApplication::test_createLowLevelScript_cstd__string() 00928 { 00929 00930 /* 00931 * You have to verify the following: 00932 * 00933 * Create low-level script from dynamic script and cluster description. 00934 */ 00935 00936 CPPUNIT_FAIL("Implement this test!"); 00937 } 00938 00939 /*----------------------------------------------------------------------*/ 00940 00941 void TestApplication::test_processScenarioScript() 00942 { 00943 00944 /* 00945 * You have to verify the following: 00946 * 00947 * Process scenario script file. 00948 */ 00949 00950 CPPUNIT_FAIL("Implement this test!"); 00951 } 00952 00953 /*----------------------------------------------------------------------*/ 00954 00955 void TestApplication::test_setEnvironmentVariablesToSquirrel() 00956 { 00957 00958 /* 00959 * You have to verify the following: 00960 * 00961 * Set environment variables to the Squirrel. 00962 */ 00963 00964 CPPUNIT_FAIL("Implement this test!"); 00965 } 00966 00967 /*----------------------------------------------------------------------*/ 00968 00969 void TestApplication::test_initializeDynamicScriptParameters_cbool() 00970 { 00971 00972 /* 00973 * You have to verify the following: 00974 * 00975 * Compile dynamic script and initialize dynamic script parameters in reset or complement mode. 00976 */ 00977 00978 CPPUNIT_FAIL("Implement this test!"); 00979 } 00980 00981 /*----------------------------------------------------------------------*/ 00982 00983 void TestApplication::test_retrieveDynamicScriptParameters() 00984 { 00985 00986 /* 00987 * You have to verify the following: 00988 * 00989 * Retrieve dynamic script parameters from the loaded dynamic script. 00990 */ 00991 00992 CPPUNIT_FAIL("Implement this test!"); 00993 } 00994 00995 /*----------------------------------------------------------------------*/ 00996 00997 void TestApplication::test__loadScenario() 00998 { 00999 01000 /* 01001 * You have to verify the following: 01002 * 01003 * Handle LOADSCENARIO post command. 01004 */ 01005 01006 CPPUNIT_FAIL("Implement this test!"); 01007 } 01008 01009 /*----------------------------------------------------------------------*/ 01010 01011 void TestApplication::test__loadDynamic() 01012 { 01013 01014 /* 01015 * You have to verify the following: 01016 * 01017 * Handle LOADDYNAMIC post command. 01018 */ 01019 01020 CPPUNIT_FAIL("Implement this test!"); 01021 } 01022 01023 /*----------------------------------------------------------------------*/ 01024 01025 void TestApplication::test__compileDynamic() 01026 { 01027 01028 /* 01029 * You have to verify the following: 01030 * 01031 * Handle COMPILEDYNAMIC post command. 01032 */ 01033 01034 CPPUNIT_FAIL("Implement this test!"); 01035 } 01036 01037 /*----------------------------------------------------------------------*/ 01038 01039 void TestApplication::test__start() 01040 { 01041 01042 /* 01043 * You have to verify the following: 01044 * 01045 * Handle START post command. 01046 */ 01047 01048 CPPUNIT_FAIL("Implement this test!"); 01049 } 01050 01051 /*----------------------------------------------------------------------*/ 01052 01053 void TestApplication::test__stop() 01054 { 01055 01056 /* 01057 * You have to verify the following: 01058 * 01059 * Handle STOP post command. 01060 */ 01061 01062 CPPUNIT_FAIL("Implement this test!"); 01063 } 01064 01065 /*----------------------------------------------------------------------*/ 01066 01067 void TestApplication::test__quit() 01068 { 01069 01070 /* 01071 * You have to verify the following: 01072 * 01073 * Handle QUIT post command. 01074 */ 01075 01076 CPPUNIT_FAIL("Implement this test!"); 01077 } 01078 01079 /*----------------------------------------------------------------------*/ 01080 01081 // To register the suite we add: 01083 CPPUNIT_TEST_SUITE_REGISTRATION(TestApplication); 01084 }