org.apache.commons.scxml
Class NamespacePrefixedXPathsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.scxml.NamespacePrefixedXPathsTest
All Implemented Interfaces:
junit.framework.Test

public class NamespacePrefixedXPathsTest
extends junit.framework.TestCase

Unit tests for namespace prefixes in XPaths pointing bits in a <data>.


Constructor Summary
NamespacePrefixedXPathsTest(String name)
          Construct a new instance of NamespacePrefixedXPathsTest with the specified name
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
           
 void tearDown()
          Tear down instance variables required by this test case.
 void testNamespacePrefixedXPathsEL()
           
 void testNamespacePrefixedXPathsJexl()
          Test the XPath evaluation
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamespacePrefixedXPathsTest

public NamespacePrefixedXPathsTest(String name)
Construct a new instance of NamespacePrefixedXPathsTest with the specified name

Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Set up instance variables required by this test case.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
Tear down instance variables required by this test case.

Overrides:
tearDown in class junit.framework.TestCase

testNamespacePrefixedXPathsJexl

public void testNamespacePrefixedXPathsJexl()
                                     throws Exception
Test the XPath evaluation

Throws:
Exception

testNamespacePrefixedXPathsEL

public void testNamespacePrefixedXPathsEL()
                                   throws Exception
Throws:
Exception

main

public static void main(String[] args)


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.