public class XmlNameEncoderTest extends Object
XmlNameEncoder| Constructor and Description |
|---|
XmlNameEncoderTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDecoding(String input,
String output) |
protected void |
checkEncoding(String input,
String expected) |
protected void |
checkForNoDecoding(String input) |
protected void |
checkForNoEncoding(String input) |
void |
shouldDecodeIfCompleteHexadecimal() |
void |
shouldDecodeIllegalStartCharacter() |
void |
shouldEncodeIllegalStartCharacter() |
void |
shouldEncodeNonAlphaNumericCharacters() |
void |
shouldEncodeUnderscoreIfFollowedByLowercaseX() |
void |
shouldEncodeUnderscoreOnlyWhenFollowedByX() |
void |
shouldNotDecodeIfNotValidEncodedFormat() |
void |
shouldNotDecodeIfNotValidHexadecimalValue() |
void |
shouldNotEncodeAlphabeticCharacters() |
void |
shouldNotEncodeDigits() |
void |
shouldNotEncodePeriodOrDashOrUnderscoreCharacters() |
void |
shouldNotEncodeUnderscoreIfNotFollowedByLowercaseX() |
public XmlNameEncoderTest()
protected void checkEncoding(String input, String expected)
protected void checkForNoEncoding(String input)
protected void checkForNoDecoding(String input)
protected void checkDecoding(String input, String output)
public void shouldNotEncodeUnderscoreIfNotFollowedByLowercaseX()
public void shouldEncodeUnderscoreIfFollowedByLowercaseX()
public void shouldNotDecodeIfNotValidHexadecimalValue()
public void shouldNotDecodeIfNotValidEncodedFormat()
public void shouldNotEncodeDigits()
public void shouldNotEncodeAlphabeticCharacters()
public void shouldNotEncodePeriodOrDashOrUnderscoreCharacters()
public void shouldDecodeIfCompleteHexadecimal()
public void shouldEncodeUnderscoreOnlyWhenFollowedByX()
public void shouldEncodeNonAlphaNumericCharacters()
public void shouldEncodeIllegalStartCharacter()
public void shouldDecodeIllegalStartCharacter()
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.