citysdk.tourism.client.tests
Class CitySdkTests

java.lang.Object
  extended by citysdk.tourism.client.tests.CitySdkTests

public class CitySdkTests
extends java.lang.Object

Unit tests

Author:
Pedro Cruz

Constructor Summary
CitySdkTests()
           
 
Method Summary
 void setUp()
           
 void testAvailableLanguages()
           
 void testCategories()
           
 void testCode()
           
 void testDataReader()
           
 void testListEvent()
           
 void testPoiWithId()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CitySdkTests

public CitySdkTests()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testListEvent

public void testListEvent()
                   throws InvalidParameterException,
                          java.io.IOException,
                          ResourceNotAllowedException,
                          UnknownErrorException,
                          ServerErrorException,
                          VersionNotAvailableException,
                          InvalidValueException
Throws:
InvalidParameterException
java.io.IOException
ResourceNotAllowedException
UnknownErrorException
ServerErrorException
VersionNotAvailableException
InvalidValueException

testCategories

public void testCategories()
                    throws java.io.IOException,
                           UnknownErrorException,
                           InvalidParameterTermException,
                           ServerErrorException,
                           ResourceNotAllowedException,
                           VersionNotAvailableException,
                           InvalidParameterException,
                           InvalidValueException
Throws:
java.io.IOException
UnknownErrorException
InvalidParameterTermException
ServerErrorException
ResourceNotAllowedException
VersionNotAvailableException
InvalidParameterException
InvalidValueException

testPoiWithId

public void testPoiWithId()
                   throws InvalidParameterException,
                          java.io.IOException,
                          UnknownErrorException,
                          ServerErrorException,
                          ResourceNotAllowedException,
                          VersionNotAvailableException,
                          InvalidValueException
Throws:
InvalidParameterException
java.io.IOException
UnknownErrorException
ServerErrorException
ResourceNotAllowedException
VersionNotAvailableException
InvalidValueException

testAvailableLanguages

public void testAvailableLanguages()
                            throws InvalidParameterException,
                                   java.io.IOException,
                                   ResourceNotAllowedException,
                                   UnknownErrorException,
                                   ServerErrorException,
                                   VersionNotAvailableException,
                                   InvalidValueException
Throws:
InvalidParameterException
java.io.IOException
ResourceNotAllowedException
UnknownErrorException
ServerErrorException
VersionNotAvailableException
InvalidValueException

testDataReader

public void testDataReader()
                    throws InvalidParameterException,
                           java.io.IOException,
                           ResourceNotAllowedException,
                           UnknownErrorException,
                           ServerErrorException,
                           VersionNotAvailableException,
                           InvalidValueException
Throws:
InvalidParameterException
java.io.IOException
ResourceNotAllowedException
UnknownErrorException
ServerErrorException
VersionNotAvailableException
InvalidValueException

testCode

public void testCode()
              throws java.io.IOException,
                     UnknownErrorException,
                     ServerErrorException,
                     InvalidParameterException,
                     InvalidValueException,
                     InvalidParameterTermException,
                     ResourceNotAllowedException,
                     VersionNotAvailableException
Throws:
java.io.IOException
UnknownErrorException
ServerErrorException
InvalidParameterException
InvalidValueException
InvalidParameterTermException
ResourceNotAllowedException
VersionNotAvailableException