org.jboss.jsfunit.analysis
Class NavigationRuleTestCase

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

public class NavigationRuleTestCase
extends junit.framework.TestCase

A TestCase for a single JSF navigation rule.

Version:
$$Revision: $$
Author:
Alexander Jesse

Field Summary
protected  String configFilePath
          path to the config file
protected  Node navigationRuleNode
          DOM node of the navigation rule to test
 
Constructor Summary
NavigationRuleTestCase(String name, String configFilePath, Node navigationRuleNode)
          Create a new NavigationRuleTestCase.
 
Method Summary
 void runTest()
          Call the individual test methods.
 void testFromViewId()
          ...
 
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

configFilePath

protected String configFilePath
path to the config file


navigationRuleNode

protected Node navigationRuleNode
DOM node of the navigation rule to test

Constructor Detail

NavigationRuleTestCase

public NavigationRuleTestCase(String name,
                              String configFilePath,
                              Node navigationRuleNode)
Create a new NavigationRuleTestCase.

Parameters:
name - The name of the test-case in the JUnit test-hierarchy
configFilePath - path to a single config file
navigationRuleNode - the DOM node containing the navigation rule
Method Detail

runTest

public void runTest()
Call the individual test methods.

Overrides:
runTest in class junit.framework.TestCase

testFromViewId

public void testFromViewId()
...



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