|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.ail.coretest.TestXMLString
public class TestXMLString
Tests for the XMLString class. These tests use the following example xml/xsl strings:
| xml1 |
<doc> |
| xml2 |
<doc>Hello</doc>
|
| xsl1 |
<?xml version="1.0"?> |
| Field Summary | |
|---|---|
static java.lang.String |
eol
|
static XMLString |
loadedXML
|
| Constructor Summary | |
|---|---|
TestXMLString(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testMultiNodeXPathMatch()
Test an xpath eval that matches multiple nodes. |
void |
testOddSectionError()
Test an xpath query that causes problems in a server side environment. |
void |
testSafeXmlToString()
Test that the stringToSafeXML correctly converts string chars that would upset XML into entity chars that won't |
void |
testStringToSafeXml()
Test that the stringToSafeXML correctly converts string chars that would upset XML into entity chars that won't |
void |
testXpathEval()
Test that XMLString's eval method correctly handles an xpath. |
void |
testXpathEvalInline()
Test that XMLString's inline eval method correctly handles an xpath. |
void |
testXsiTypeDetectionWithSpace()
Test that an XMLString correctly returns the xsi:type of the XML even if there are spaces before the root tag. |
void |
testXSLT()
Test that XMLString's transform method works. |
void |
testXSLTInline()
Test that XMLString's inline transform method works. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static XMLString loadedXML
public static java.lang.String eol
| Constructor Detail |
|---|
public TestXMLString(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
public void testXpathEval()
throws java.lang.Exception
java.lang.Exception
public void testXpathEvalInline()
throws java.lang.Exception
java.lang.Exception
public void testXSLT()
throws java.lang.Exception
java.lang.Exception
public void testXSLTInline()
throws java.lang.Exception
java.lang.Exception
public void testMultiNodeXPathMatch()
throws java.lang.Exception
java.lang.Exception
public void testOddSectionError()
throws java.lang.Exception
java.lang.Exceptionpublic void testStringToSafeXml()
public void testSafeXmlToString()
public void testXsiTypeDetectionWithSpace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||