예제 #1
0
def CheckForCannotCreate(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.Response,
                      AwaError.CannotCreate)
예제 #2
0
def CheckForNotDefinedWhenAddingValue(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.NotDefined)
예제 #3
0
def CheckForNotDefined(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.Response,
                      AwaError.NotDefined)
예제 #4
0
def CheckForTypeMismatchWhenAddingValue(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.TypeMismatch)
예제 #5
0
def CheckForTypeMismatch(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.Response,
                      AwaError.TypeMismatch)
예제 #6
0
def CheckForPathInvalid(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.PathInvalid)
예제 #7
0
def CheckForNullPointerException(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaNullPointerException, None)
예제 #8
0
def CheckForAlreadyDefined(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.AlreadyDefined)
예제 #9
0
def CheckForPathNotFound(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion,
                      AwaUnexpectedErrorException, AwaError.Response,
                      AwaError.PathNotFound)
예제 #10
0
def CheckForMethodNotAllowed(testCase, assertion):
    CheckForException(testCase, CheckForSuccess, assertion, AwaUnexpectedErrorException, AwaError.Response, AwaError.LWM2MError, AwaLWM2MError.MethodNotAllowed)