Exemple #1
0
        public void SearchAllRulesCategory_No_Service()
        {
            String strErrorResut = String.Empty;

            SearchAllRulesCategoryReq     req = new SearchAllRulesCategoryReq();
            SearchAllRulesCategoryRes     res;
            SearchAllRulesCategoryService svc = new SearchAllRulesCategoryService();

            req.SecurityProviderName = SecurityProviderName;

            try
            {
                res = svc.Execute(req);
            }
            catch (Exception ex)
            {
                strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex);
            }

            Assert.AreEqual <String>(strErrorResut, string.Empty, strErrorResut);
        }
Exemple #2
0
        public void SearchAllRulesCategory_No_Service()
        {
            String strErrorResut = String.Empty;

            SearchAllRulesCategoryReq req = new SearchAllRulesCategoryReq();
            SearchAllRulesCategoryRes res;
            SearchAllRulesCategoryService svc = new SearchAllRulesCategoryService();
            req.SecurityProviderName = SecurityProviderName;

            try
            {
                res = svc.Execute(req);

            }
            catch (Exception ex)
            {
                strErrorResut = Fwk.Exceptions.ExceptionHelper.GetAllMessageException(ex);
            }

            Assert.AreEqual<String>(strErrorResut, string.Empty, strErrorResut);



        }