コード例 #1
0
        private static Build Create154Build()
        {
            /* create build 15.4 sanities*/
            Build Build_154 = new Build();
            Build_154.Sanities = new List<Sanity>();
            Build_154.Name = "R15.4";

            Sanity DTNX_15_4 = new Sanity();
            DTNX_15_4.Name = "DTNX";
            DTNX_15_4.Scripts = new List<TestScript>();
            Sanity ILS4_15_4 = new Sanity();
            ILS4_15_4.Name = "ILS4";
            ILS4_15_4.Scripts = new List<TestScript>();

            Build_154.Sanities.Add(DTNX_15_4);
            Build_154.Sanities.Add(ILS4_15_4);
            /* end of build 15.4 sanities*/
            return Build_154;
        }
コード例 #2
0
        private static Build Create161Build()
        {
            /* create build 15.3 sanities*/
            Build Build_161 = new Build();
            Build_161.Sanities = new List<Sanity>();
            Build_161.Name = "R15.3";

            Sanity DTNX_16_1 = new Sanity();
            DTNX_16_1.Name = "DTNX";
            DTNX_16_1.Scripts = new List<TestScript>();
            Sanity ILS3_16_1 = new Sanity();
            ILS3_16_1.Name = "ILS3";
            ILS3_16_1.Scripts = new List<TestScript>();

            Build_161.Sanities.Add(DTNX_16_1);
            Build_161.Sanities.Add(ILS3_16_1);
            /* end of build 15.3 sanities*/
            return Build_161;
        }
コード例 #3
0
        private static Build Create153Build()
        {
            /* create build 15.3 sanities*/
            Build Build_153 = new Build();
            Build_153.Sanities = new List<Sanity>();
            Build_153.Name = "R15.3";

            Sanity DTNX_15_3 = new Sanity();
            DTNX_15_3.Name = "DTNX";
            DTNX_15_3.Scripts = new List<TestScript>();

            TestScript script = new TestScript();
            script.Path = "/15.3/DTNX/InstallBuild.cit";
            script.Name = "InstallBuild.cit";
            DTNX_15_3.Scripts.Add(script);

            script = new TestScript();
            script.Path = "/15.3/DTNX/ChangePassowrd.cit";
            script.Name = "ChangePassowrd.cit";
            DTNX_15_3.Scripts.Add(script);

            script = new TestScript();
            script.Path = "/15.3/DTNX/ProvisionChassis.cit";
            script.Name = "ProvisionChassis.cit";
            DTNX_15_3.Scripts.Add(script);

            Sanity ILS3_15_3 = new Sanity();
            ILS3_15_3.Name = "ILS3";
            ILS3_15_3.Scripts = new List<TestScript>();

            Build_153.Sanities.Add(DTNX_15_3);
            Build_153.Sanities.Add(ILS3_15_3);
            /* end of build 15.3 sanities*/
            return Build_153;
        }