16 references to ErrorCode
Client.ClientBase.IntegrationTests (9)
MessageInspectorTests.4.4.0.cs (9)
46string expectedErrorDescription = TestTypes.ResultMessage.GetErrorDescription(TestTypes.ErrorCode.UserNotAuthenticated); 48TestTypes.ErrorCode returnedErrorCode = (TestTypes.ErrorCode)result1.ErrorCode; 49Assert.True(returnedErrorCode.Equals(TestTypes.ErrorCode.UserNotAuthenticated), String.Format("Expected Error Code: {0}/nActual Error Code: {1}", TestTypes.ErrorCode.UserNotAuthenticated, returnedErrorCode)); 53expectedErrorDescription = TestTypes.ResultMessage.GetErrorDescription(TestTypes.ErrorCode.Ok); 55returnedErrorCode = (TestTypes.ErrorCode)result2.ErrorCode; 56Assert.True(returnedErrorCode.Equals(TestTypes.ErrorCode.Ok), String.Format("Expected Error Code: {0}/nActual Error Code: {1}", TestTypes.ErrorCode.Ok, returnedErrorCode));
ScenarioTests.Common.Tests (7)
ScenarioTestTypes.cs (7)
111ErrorCode = (int)TestTypes.ErrorCode.Ok, 113ResultMessage = TestTypes.ResultMessage.GetErrorDescription(TestTypes.ErrorCode.Ok) 122ErrorCode = (int)TestTypes.ErrorCode.UserNotAuthenticated, 124ResultMessage = TestTypes.ResultMessage.GetErrorDescription(TestTypes.ErrorCode.UserNotAuthenticated) 153public static string GetErrorDescription(ErrorCode errorCode) 157case ErrorCode.Ok: 160case ErrorCode.UserNotAuthenticated: