Exemplo n.º 1
0
 public function testProject()
 {
     //Send the test file to see the output of the class
     $testFile = "test.xml";
     $output = parseListXML($testFile);
     // Assert
     $WantedOutputSize;
     $this->assertEquals($WantedOutputSize, $output);
     // Assert
     $WantedOutputName;
     $this->assertEquals($WantedOutputName, $output);
 }
Exemplo n.º 2
0
 public function testFilter()
 {
     //Send the test file to see the output of the class
     $comment = "f**k this";
     $output = parseListXML($comment);
     // Assert
     $WantedOutput = "******* this";
     $this->assertEquals($WantedOutputSize, $output);
     // Assert
     $WantedOutputName;
     $this->assertEquals($WantedOutputName, $output);
 }
Exemplo n.º 3
0
          <li><a href="index.html">Home</a></li>
          <li class="selected"><a href="Assignment0.php">Assignment0</a></li>
          <li><a href="Assignment1.php">Assignment1</a></li>
          <li><a href="Assignment2.php">Assignment2</a></li>
          <li><a href="FinalP.php">Final Project</a></li>
		  <li><a href="comments.php">Comments</a></li>
        </ul>
      </div>
    </div>
    <div id="site_content">
      <div id="content">
        <!-- insert the page content here -->
        <?php 
echo "<h1><b>Projects</b></h1>";
include 'ParseLog.php';
parseXML();
printInfo("teapot");
//Print files info
echo "<h1><b>Files</b></h1>";
include 'ParseList.php';
parseListXML();
printFileInfo("teapot");
?>
      
      </div>
    </div>
    <div id="footer">
    </div>
  </div>
</body>
</html>