Exemplo n.º 1
0
        public void  TestGenerateRuleSet()
        {
            // the number of rules
            int    count           = 1000;
            string objectName      = "Account";
            string outputFileType1 = count + "_rules_type1.drl";
            string outputFileType2 = count + "_rules_type2.drl";
            string outputFileType3 = count + "_rules_type3.drl";

            GenerateRuleSet grs = new GenerateRuleSet();

            grs.generateOneCondition(outputFileType1, count);
            grs.generate2Condition(outputFileType2, count);
            grs.generate3Condition(outputFileType3, count);
        }
Exemplo n.º 2
0
        public void TestGenerateRuleSet()
        {
            // the number of rules
            int count = 1000;
            string objectName = "Account";
            string outputFileType1 = count + "_rules_type1.drl";
            string outputFileType2 = count + "_rules_type2.drl";
            string outputFileType3 = count + "_rules_type3.drl";

            GenerateRuleSet grs = new GenerateRuleSet();
            grs.generateOneCondition(outputFileType1, count);
            grs.generate2Condition(outputFileType2, count);
            grs.generate3Condition(outputFileType3, count);
        }