org.jboss.jsfunit.analysis
Class RendererTestCase

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.RendererTestCase
All Implemented Interfaces:
junit.framework.Test

public class RendererTestCase
extends AbstractInterfaceTestCase

A RendererTestCase.

Version:
$Revision: 1.1 $
Author:
Alexander Jesse

Field Summary
protected  String configFilePath
          the pat of the config file for error reporting
protected  Node rendererNode
          the DOM-node from the config file
 
Fields inherited from class org.jboss.jsfunit.analysis.AbstractInterfaceTestCase
classClass, className, jsfElement
 
Constructor Summary
RendererTestCase(String name, Node rendererNode, String configFilePath)
          Create a new RendererTestCase.
 
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

rendererNode

protected Node rendererNode
the DOM-node from the config file


configFilePath

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

Constructor Detail

RendererTestCase

public RendererTestCase(String name,
                        Node rendererNode,
                        String configFilePath)
Create a new RendererTestCase.

Parameters:
name - TestCase name
rendererNode - DOM-node of the renderer definition
configFilePath - path to a single config file
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.