nu.xom.tests
Class VerifierTest
java.lang.Object
TestCase
nu.xom.tests.XOMTestCase
nu.xom.tests.VerifierTest
public class VerifierTest
- extends XOMTestCase
Tests to make sure name and character rules are enforced.
The rules are tested by comparison with the rules in
the org.apache.xerces.util.XMLChar class.
This is an undocumented class so this is potentially dangerous
in the long run. it also means the tests depend on Xerces 2
specifically. However, this dependence does not extend into the
core API.
- Version:
- 1.1d7
- Author:
- Elliotte Rusty Harold
Methods inherited from class nu.xom.tests.XOMTestCase |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifierTest
public VerifierTest(java.lang.String name)
testElementNames
public void testElementNames()
testLegalIRIs
public void testLegalIRIs()
testAllASCIILettersAllowedToBeginSchemeNames
public void testAllASCIILettersAllowedToBeginSchemeNames()
testAllASCIILettersAllowedInSchemeNames
public void testAllASCIILettersAllowedInSchemeNames()
testAllASCIILettersAllowedInQueryStrings
public void testAllASCIILettersAllowedInQueryStrings()
testAllASCIIDigitsAllowedInQueryStrings
public void testAllASCIIDigitsAllowedInQueryStrings()
testSlashAllowedInQueryString
public void testSlashAllowedInQueryString()
testQuestionMarkAllowedInQueryString
public void testQuestionMarkAllowedInQueryString()
testColonAllowedInQueryString
public void testColonAllowedInQueryString()
testAtSignAllowedInQueryString
public void testAtSignAllowedInQueryString()
testNonASCIICharactersNotAllowedInQueryStrings
public void testNonASCIICharactersNotAllowedInQueryStrings()
testDelimsNotAllowedInQueryStrings
public void testDelimsNotAllowedInQueryStrings()
testUnwiseCharactersNotAllowedInQueryStrings
public void testUnwiseCharactersNotAllowedInQueryStrings()
testUnwiseCharactersNotAllowedInUserInfo
public void testUnwiseCharactersNotAllowedInUserInfo()
testUnwiseCharactersNotAllowedInHost
public void testUnwiseCharactersNotAllowedInHost()
testDelimsNotAllowedInHost
public void testDelimsNotAllowedInHost()
testUnwiseCharactersNotAllowedInPath
public void testUnwiseCharactersNotAllowedInPath()
testAllASCIILettersAllowedInHostNames
public void testAllASCIILettersAllowedInHostNames()
testAllASCIIDigitsAllowedInHostNames
public void testAllASCIIDigitsAllowedInHostNames()
testNonASCIICharactersNotAllowedInHostNames
public void testNonASCIICharactersNotAllowedInHostNames()
testAllASCIILettersAllowedInUserInfo
public void testAllASCIILettersAllowedInUserInfo()
testAllSubDelimsAllowedInUserInfo
public void testAllSubDelimsAllowedInUserInfo()
testAllSubDelimsAllowedInPath
public void testAllSubDelimsAllowedInPath()
testAllUnreservedPunctuationMarksAllowedInUserInfo
public void testAllUnreservedPunctuationMarksAllowedInUserInfo()
testAllUnreservedPunctuationMarksAllowedInHost
public void testAllUnreservedPunctuationMarksAllowedInHost()
testAllSubDelimsAllowedInQueryString
public void testAllSubDelimsAllowedInQueryString()
testAllSubDelimsAllowedInHost
public void testAllSubDelimsAllowedInHost()
testAllUnreservedPunctuationMarksAllowedInQueryString
public void testAllUnreservedPunctuationMarksAllowedInQueryString()
testAllASCIIDigitsAllowedInUserInfo
public void testAllASCIIDigitsAllowedInUserInfo()
testNonASCIICharactersNotAllowedInUserInfo
public void testNonASCIICharactersNotAllowedInUserInfo()
testDelimCharactersNotAllowedInUserInfo
public void testDelimCharactersNotAllowedInUserInfo()
testMalformedURI
public void testMalformedURI()
testFragmentIDContainsQuestionMark
public void testFragmentIDContainsQuestionMark()
testFragmentIDContainsFirstColon
public void testFragmentIDContainsFirstColon()
testEmptyHostAllowed
public void testEmptyHostAllowed()
testC0ControlsNotAllowedInUserInfo
public void testC0ControlsNotAllowedInUserInfo()
testC0ControlsNotAllowedInPath
public void testC0ControlsNotAllowedInPath()
testC0ControlsNotAllowedInQueryString
public void testC0ControlsNotAllowedInQueryString()
testHostNameTooLong
public void testHostNameTooLong()
testSymbolsNotAllowedInSchemeNames
public void testSymbolsNotAllowedInSchemeNames()
testNonASCIILettersNotAllowedToBeginSchemeNames
public void testNonASCIILettersNotAllowedToBeginSchemeNames()
testBadHexEscapeInQueryString
public void testBadHexEscapeInQueryString()
testHexEscapeInUserInfo
public void testHexEscapeInUserInfo()
testHexEscapeInHost
public void testHexEscapeInHost()
testBadHexEscapeInUserInfo
public void testBadHexEscapeInUserInfo()
testBadHexEscapeInHost
public void testBadHexEscapeInHost()
testQuestionmarkIsNotAHexDigit
public void testQuestionmarkIsNotAHexDigit()
testIllegalIRIs
public void testIllegalIRIs()
testLegalIP6Addresses
public void testLegalIP6Addresses()
testIllegalIP6Addresses
public void testIllegalIP6Addresses()
testC0Controls
public void testC0Controls()
testAttributeNameThatEndsWithAColon
public void testAttributeNameThatEndsWithAColon()
testAttributeNameThatBeginsWithAColon
public void testAttributeNameThatBeginsWithAColon()
testElementNameThatEndsWithAColon
public void testElementNameThatEndsWithAColon()
testElementNameThatBeginsWithAColon
public void testElementNameThatBeginsWithAColon()
Copyright 2002-2005 Elliotte Rusty Harold
elharo@metalab.unc.edu