public class HostnameValidatorTest extends Object
Modifier and Type | Field and Description |
---|---|
ExpectedException |
exception |
Constructor and Description |
---|
HostnameValidatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
emptyHostComponent_shouldThrowException() |
void |
hostComponentTooLong_shouldThrowException() |
void |
hostComponentWithEncodedString_shouldThrowException() |
void |
hostComponentWithSlash_shouldThrowException() |
void |
nullHostComponent_shouldThrowException() |
void |
validHostComponent_shouldWork() |
public void validHostComponent_shouldWork()
public void nullHostComponent_shouldThrowException()
public void emptyHostComponent_shouldThrowException()
public void hostComponentWithSlash_shouldThrowException()
public void hostComponentWithEncodedString_shouldThrowException()
public void hostComponentTooLong_shouldThrowException()
Copyright © 2021. All rights reserved.