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