edu.byu.ece.edif.core
Class AutoTest

java.lang.Object
  extended by edu.byu.ece.edif.core.AutoTest

public class AutoTest
extends java.lang.Object

Designed for auto testing the functionality of the whole EDIF package.

  1. What should be auto tested?
    Ideally, it should be all the classes and all the methods inside this package.
  2. Where to start with? What is the input?
    We should have several standard benchmarking circuits as the input
  3. How can we do the test?
    1. Parsing the test circuit, generate one EdifEnvironment for this circuit. This tests the edu.byu.ece.edif.util.parse.EdifParser and also the construction of all the edu.byu.ece.edif.core classes.
    2. Generate the EDIF output for the newly created EdifEnvironment object.
    3. Parsing the generated EDIF file, generate another EdifEnvironment.
    4. Compare the two EdifEnvironment Objects
    5. Create the JHDL class from the EdifEnvironment object
    6. Simulate the circuit automatically with standard input vector, and compare the results with anticipated results.
    7. According to the API, test each method one by one. If it is not automatically testable, print out some warning message.

Version:
$Id:AutoTest.java 198 2008-04-16 21:14:21Z jamesfcarroll $

Constructor Summary
AutoTest()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoTest

public AutoTest()