test.weka
Class DataSetCheckerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.weka.DataSetCheckerTest
All Implemented Interfaces:
junit.framework.Test

public class DataSetCheckerTest
extends junit.framework.TestCase

Class

Version:
8 Sep 2010
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
DataSetCheckerTest()
           
 
Method Summary
static DataSetChecker getDataSetCheckerKO()
           
static DataSetChecker getDataSetCheckerOK()
           
 void setUp()
           
 void testInitialisationKO()
          No xml query property, the initialisation should fail *before* generating the arff and xml files (and not waste time in generating the arff file and then fail at the generation of the xml file)
 void testInitialisationOK()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataSetCheckerTest

public DataSetCheckerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testInitialisationKO

public void testInitialisationKO()
No xml query property, the initialisation should fail *before* generating the arff and xml files (and not waste time in generating the arff file and then fail at the generation of the xml file)


testInitialisationOK

public void testInitialisationOK()

getDataSetCheckerKO

public static DataSetChecker getDataSetCheckerKO()

getDataSetCheckerOK

public static DataSetChecker getDataSetCheckerOK()