diff -r f18401adf8e1 -r 641f389e9157 cryptomgmtlibs/securitytestfw/test/testhandler2/t_tefinput.cpp --- a/cryptomgmtlibs/securitytestfw/test/testhandler2/t_tefinput.cpp Thu Aug 19 11:38:48 2010 +0300 +++ b/cryptomgmtlibs/securitytestfw/test/testhandler2/t_tefinput.cpp Tue Aug 31 17:00:08 2010 +0300 @@ -22,6 +22,9 @@ #include #include +#ifdef SYMBIAN_AUTH_SERVER +#include +#endif _LIT8(KSpace, " "); _LIT8(KTab, "\t"); @@ -572,6 +575,83 @@ { aReturnTag.Copy(_L8("\r\n\t\tKErrAuthenticationFailure")); } + +#ifdef SYMBIAN_AUTH_SERVER + else if(aErrCode == KErrAuthServUnsupportedExprVersion) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServUnsupportedExprVersion")); + } + else if(aErrCode == KErrAuthServNoSuchPlugin) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServNoSuchPlugin")); + } + else if(aErrCode == KErrAuthServNoSuchIdentity) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServNoSuchIdentity")); + } + else if(aErrCode == KErrAuthServPluginCancelled) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServPluginCancelled")); + } + else if(aErrCode == KErrAuthServPluginQuit) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServPluginQuit")); + } + else if(aErrCode == KErrAuthServAuthenticationRequired) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServAuthenticationRequired")); + } + else if(aErrCode == KErrAuthServIdentityAlreadyExists) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServIdentityAlreadyExists")); + } + else if(aErrCode == KErrAuthServIdentityNotFound) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServIdentityNotFound")); + } + else if(aErrCode == KErrAuthServTrainingNotFound) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServTrainingNotFound")); + } + else if(aErrCode == KErrAuthServRegistrationFailed) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServRegistrationFailed")); + } + else if(aErrCode == KErrAuthServCanNotRemoveLastIdentity) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServCanNotRemoveLastIdentity")); + } + else if(aErrCode == KErrAuthServCanNotRemoveLastPlugin) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServCanNotRemoveLastPlugin")); + } + else if(aErrCode == KErrAuthServPluginNotActive) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServPluginNotActive")); + } + else if(aErrCode == KErrAuthServDescTooLong) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServDescTooLong")); + } + else if(aErrCode == KErrUnknownAuthStrengthAlias) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrUnknownAuthStrengthAlias")); + } + else if(aErrCode == KErrAuthStrengthAliasNotDefined) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthStrengthAliasNotDefined")); + } + else if(aErrCode == KErrAuthServInvalidAliasStringExpression) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServInvalidAliasStringExpression/return>")); + } + else if(aErrCode == KErrAuthServResetMayLoseIdentity) + { + aReturnTag.Copy(_L8("\r\n\t\tKErrAuthServResetMayLoseIdentity/return>")); + } +#endif + + // return err;