org.jboss.jsfunit.analysis
Class ValidatorTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.jsfunit.analysis.AbstractInterfaceTestCase
              extended by org.jboss.jsfunit.analysis.ValidatorTestCase
All Implemented Interfaces:
junit.framework.Test

public class ValidatorTestCase
extends AbstractInterfaceTestCase

A ValidatorTestCase.

Version:
$Revision: 1.1 $
Author:
Alexander Jesse

Field Summary
protected  String configFilePath
          the pat of the config file for error reporting
protected  Node validatorNode
          the DOM-node from the config file
 
Fields inherited from class org.jboss.jsfunit.analysis.AbstractInterfaceTestCase
classClass, className, jsfElement
 
Constructor Summary
ValidatorTestCase(String name, Node validatorNode, String configFilePath)
          Create a new ConverterTestCase.
 
Method Summary
protected  Class<?> getClassToExtend()
          Return the class to be extended, this munst be implemented by the specific TestCase.
 void runTest()
          Call the individual test methods.
 
Methods inherited from class org.jboss.jsfunit.analysis.AbstractInterfaceTestCase
setClassName, testClassLoadable, testInterface
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

validatorNode

protected Node validatorNode
the DOM-node from the config file


configFilePath

protected String configFilePath
the pat of the config file for error reporting

Constructor Detail

ValidatorTestCase

public ValidatorTestCase(String name,
                         Node validatorNode,
                         String configFilePath)
Create a new ConverterTestCase.

Parameters:
name - TestCase name
converterNode - DOM-node of the converter definition
Method Detail

getClassToExtend

protected Class<?> getClassToExtend()
Description copied from class: AbstractInterfaceTestCase
Return the class to be extended, this munst be implemented by the specific TestCase.

Specified by:
getClassToExtend in class AbstractInterfaceTestCase
Returns:
the class to be extended

runTest

public void runTest()
Description copied from class: AbstractInterfaceTestCase
Call the individual test methods.

Overrides:
runTest in class AbstractInterfaceTestCase


Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.