Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

unit.hpp

Go to the documentation of this file.
00001 // vim:sw=2:ts=8
00017 // Graph
00018 #include "src/ObservableGraph.hpp"
00019 #include "src/Hierarchy.hpp"
00020 #include "src/View.hpp"
00021 
00022 #include <boost/timer.hpp>
00023 
00024 #ifndef UNIT_HPP
00025 #define UNIT_HPP
00026 
00027 using namespace gns;
00028 
00029 
00040 class UnitTest
00041 {
00042   private:
00043     gns::ObservableGraph *graph;  
00044     gns::Hierarchy *hierarchy;    
00045     gns::View *view;              
00046     boost::timer start;           
00048   protected:
00050     void setUp(const char* test);
00052     void tearDown();
00053 
00054 
00055   public:
00057     void simpleTest();
00059     void basicTest();
00061     void graphChangeTest();
00063     void expandCollapseTest();
00064 
00066     void buildGraph();
00068     void buildEdges();
00070     void buildHierarchy();
00072     bool checkView();
00073 };
00074 
00075 #endif

Generated on Sun Nov 5 12:05:19 2006 for Graph by  doxygen 1.4.1