StatementTest.h

Go to the documentation of this file.
00001 /*==============================================================================
00002  * FILE:       StatementTest.h
00003  * OVERVIEW:   Provides the interface for the StatementTest class, which
00004  *              tests the dataflow subsystems
00005  *============================================================================*/
00006 /*
00007  * $Revision: 1.7 $
00008  *
00009  * 14 Jan 03 - Trent: Created
00010  */
00011 
00012 #include <cppunit/TestCaller.h>
00013 #include <cppunit/TestCase.h>
00014 #include <cppunit/TestSuite.h>
00015 
00016 #include "proc.h"
00017 #include "prog.h"
00018 
00019 class StatementTest : public CppUnit::TestCase {
00020   protected:
00021 
00022   public:
00023     StatementTest(std::string name) : CppUnit::TestCase (name)
00024     {}
00025 
00026     virtual void registerTests(CppUnit::TestSuite* suite);
00027 
00028     int countTestCases () const;
00029 
00030     void setUp ();
00031     void tearDown ();
00032 
00033     void testEmpty ();
00034     void testFlow ();
00035     void testKill ();
00036     void testUse ();
00037     void testUseOverKill ();
00038     void testUseOverBB ();
00039     void testUseKill();
00040     void testEndlessLoop();
00041     void testLocationSet();
00042     void testWildLocationSet();
00043     void testRecursion();
00044     void testExpand();
00045     void testClone();
00046     void testIsAssign();
00047     void testIsFlagAssgn();
00048     void testAddUsedLocsAssign();
00049     void testAddUsedLocsBranch();
00050     void testAddUsedLocsCase();
00051     void testAddUsedLocsCall();
00052     void testAddUsedLocsReturn();
00053     void testAddUsedLocsBool();
00054     void testSubscriptVars();
00055     void testBypass();
00056     void testStripSizes();
00057     void testFindConstants();
00058 };
00059 

Generated on Tue Sep 19 21:18:34 2006 for Boomerang by  doxygen 1.4.6