no.ntnu.ime.xmlconverter.server
Class XMLSourceParserServiceImplTest
java.lang.Object
no.ntnu.ime.xmlconverter.server.XMLSourceParserServiceImplTest
public class XMLSourceParserServiceImplTest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlsps
private XMLSourceParserServiceImpl xmlsps
XMLSourceParserServiceImplTest
public XMLSourceParserServiceImplTest()
setUp
public void setUp()
testIsValidSourceURIShouldReturnFalseOnEmptyString
public void testIsValidSourceURIShouldReturnFalseOnEmptyString()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldReturnTrueOnHttpAddress
public void testIsValidSourceURIShouldReturnTrueOnHttpAddress()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldReturnTrueOnHttpsAddress
public void testIsValidSourceURIShouldReturnTrueOnHttpsAddress()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldReturnTrueOnFTPAddress
public void testIsValidSourceURIShouldReturnTrueOnFTPAddress()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldReturnTrueOnFTPAddressWithUsernameAndPassword
public void testIsValidSourceURIShouldReturnTrueOnFTPAddressWithUsernameAndPassword()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldRaiseValidSourceExceptionOnMalformedURL
public void testIsValidSourceURIShouldRaiseValidSourceExceptionOnMalformedURL()
throws ValidSourceException
- Throws:
ValidSourceException
testIsValidSourceURIShouldRaiseValidSourceExceptionOnNotConnectableAddress
public void testIsValidSourceURIShouldRaiseValidSourceExceptionOnNotConnectableAddress()
throws ValidSourceException
- Throws:
ValidSourceException