GraphTest.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?php
  2. namespace OSInet\Class_Grapher;
  3. require_once 'OSInet/Class_Grapher/Graph.php';
  4. require_once 'PHPUnit/Framework/TestCase.php';
  5. /**
  6. * Graph test case.
  7. */
  8. class GraphTest extends \PHPUnit_Framework_TestCase {
  9. /**
  10. *
  11. * @var Graph
  12. */
  13. private $Graph;
  14. /**
  15. * Prepares the environment before running a test.
  16. */
  17. protected function setUp() {
  18. parent::setUp();
  19. // TODO Auto-generated GraphTest::setUp()
  20. $this->Graph = new Graph(/* parameters */);
  21. }
  22. /**
  23. * Cleans up the environment after running a test.
  24. */
  25. protected function tearDown() {
  26. // TODO Auto-generated GraphTest::tearDown()
  27. $this->Graph = null;
  28. parent::tearDown();
  29. }
  30. /**
  31. * Constructs the test case.
  32. */
  33. public function __construct() {
  34. // TODO Auto-generated constructor
  35. }
  36. /**
  37. * Tests Graph->attributes()
  38. */
  39. public function testAttributes() {
  40. // TODO Auto-generated GraphTest->testAttributes()
  41. $this->markTestIncomplete("attributes test not implemented");
  42. $this->Graph->attributes(/* parameters */);
  43. }
  44. /**
  45. * Tests Graph->debug()
  46. */
  47. public function testDebug() {
  48. // TODO Auto-generated GraphTest->testDebug()
  49. $this->markTestIncomplete("debug test not implemented");
  50. $this->Graph->debug(/* parameters */);
  51. }
  52. /**
  53. * Tests Graph->getFiles()
  54. */
  55. public function testGetFiles() {
  56. // TODO Auto-generated GraphTest->testGetFiles()
  57. $this->markTestIncomplete("getFiles test not implemented");
  58. $this->Graph->getFiles(/* parameters */);
  59. }
  60. /**
  61. * Tests Graph->initGraph()
  62. */
  63. public function testInitGraph() {
  64. // TODO Auto-generated GraphTest->testInitGraph()
  65. $this->markTestIncomplete("initGraph test not implemented");
  66. $this->Graph->initGraph(/* parameters */);
  67. }
  68. /**
  69. * Tests Graph->registerClass()
  70. */
  71. public function testRegisterClass() {
  72. // TODO Auto-generated GraphTest->testRegisterClass()
  73. $this->markTestIncomplete("registerClass test not implemented");
  74. $this->Graph->registerClass(/* parameters */);
  75. }
  76. /**
  77. * Tests Graph->registerInterface()
  78. */
  79. public function testRegisterInterface() {
  80. // TODO Auto-generated GraphTest->testRegisterInterface()
  81. $this->markTestIncomplete("registerInterface test not implemented");
  82. $this->Graph->registerInterface(/* parameters */);
  83. }
  84. /**
  85. * Tests Graph->extractGrammar()
  86. */
  87. public function testExtractGrammar() {
  88. // TODO Auto-generated GraphTest->testExtractGrammar()
  89. $this->markTestIncomplete("extractGrammar test not implemented");
  90. $this->Graph->extractGrammar(/* parameters */);
  91. }
  92. /**
  93. * Tests Graph->__construct()
  94. */
  95. public function test__construct() {
  96. // TODO Auto-generated GraphTest->test__construct()
  97. $this->markTestIncomplete("__construct test not implemented");
  98. $this->Graph->__construct(/* parameters */);
  99. }
  100. /**
  101. * Tests Graph->implementsAttributes()
  102. */
  103. public function testImplementsAttributes() {
  104. // TODO Auto-generated GraphTest->testImplementsAttributes()
  105. $this->markTestIncomplete("implementsAttributes test not implemented");
  106. $this->Graph->implementsAttributes(/* parameters */);
  107. }
  108. /**
  109. * Tests Graph->buildSymbols()
  110. */
  111. public function testBuildSymbols() {
  112. // TODO Auto-generated GraphTest->testBuildSymbols()
  113. $this->markTestIncomplete("buildSymbols test not implemented");
  114. $this->Graph->buildSymbols(/* parameters */);
  115. }
  116. /**
  117. * Tests Graph->build()
  118. */
  119. public function testBuild() {
  120. // TODO Auto-generated GraphTest->testBuild()
  121. $this->markTestIncomplete("build test not implemented");
  122. $this->Graph->build(/* parameters */);
  123. }
  124. }