コード例 #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)