/// <summary>
        /// Executing Actions from the ActionQueue after the proper Step
        /// </summary>
        public void Step2()
        {
            Step();
            // IQuery query = new SimpleQuery(); Will be implemented properly when the code is merged with the Action/Query group
            double myAverage = 0; // just a mock cuz of not yet working properties in this project

            Actualize();
            //myAverage
            if (PS.CheckForChange())
            {
                List <String> mockAgentsList = null;
                // query.SetNewCondition(new PropertyOp("AverageValue", o => ((double)o > myAverage)));
                IAction action = new ActionGet(this, mockAgentsList, 10);
                AddAction(action);
            }
        }
Exemple #2
0
 public void SPNameG_UseGroup_Test()
 {
     var cAction = new ActionGet<UserGroup>(new ActionAppUserGroup(_dataSource));
     var sp = cAction.GetSPName("Read");
     Assert.IsNotNull(sp);
 }
Exemple #3
0
 public void SPNameG_AppRole_Test()
 {
     var cAction = new ActionGet<AppRole>(new ActionAppRole(_dataSource));
     var sp = cAction.GetSPName("Read");
     Assert.IsNotNull(sp);
 }