edu.udo.cs.yale.test
Class SampleTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.udo.cs.yale.test.TestCase
              extended by edu.udo.cs.yale.test.SampleTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
ExampleSetSampleTest, IOObjectSampleTest, PerformanceSampleTest, SimpleSampleTest

public abstract class SampleTest
extends TestCase

Extends the JUnit test case by a method for checking the output of an experiment.

Version:
$Id: SampleTest.java,v 2.60 2006/10/03 13:53:50 ingomierswa Exp $
Author:
Ingo Mierswa, Simon Fischer

Field Summary
private  java.lang.String file
           
 
Constructor Summary
SampleTest(java.lang.String file)
           
 
Method Summary
abstract  void checkOutput(IOContainer output)
           
private static java.util.Collection<java.lang.Class<IOObject>> createClassCollection(java.lang.Class[] classes)
           
 java.lang.String getName()
           
 void sampleTest()
           
static junit.framework.Test suite()
           
 
Methods inherited from class edu.udo.cs.yale.test.TestCase
assertEqualsNaN, setUp
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

file

private java.lang.String file
Constructor Detail

SampleTest

public SampleTest(java.lang.String file)
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class junit.framework.TestCase

sampleTest

public void sampleTest()
                throws java.lang.Exception
Throws:
java.lang.Exception

checkOutput

public abstract void checkOutput(IOContainer output)
                          throws MissingIOObjectException
Throws:
MissingIOObjectException

suite

public static junit.framework.Test suite()

createClassCollection

private static java.util.Collection<java.lang.Class<IOObject>> createClassCollection(java.lang.Class[] classes)


Copyright © 2001-2006