Esempio n. 1
0
        public void WinMDModule()
        {
            WinMDExp t = new WinMDExp();

            t.WinMDModule = "Foo.dll";
            CommandLine.ValidateContains(t, "Foo.dll", false);
        }
Esempio n. 2
0
        public void WinMDModule()
        {
            WinMDExp t = new WinMDExp();

            t.WinMDModule = "Foo.dll";
            CommandLine.ValidateContains(t, "Foo.dll", useResponseFile: true);
        }
Esempio n. 3
0
        public void OptionStrictType2()
        {
            Vbc t = new Vbc();

            t.OptionStrictType = "custom";
            CommandLine.ValidateContains(t, "/optionstrict:custom", true);
            CommandLine.ValidateDoesNotContain(t, "/optionstrict-", true);
        }
Esempio n. 4
0
        public void OptionStrictType1()
        {
            Vbc t = new Vbc();

            t.OptionStrict     = true;
            t.OptionStrictType = "custom";
            CommandLine.ValidateContains(t, "/optionstrict+ /optionstrict:custom", true);
        }
Esempio n. 5
0
        public void MultipleResponseFiles()
        {
            Vbc t = new Vbc();

            t.ResponseFiles = new TaskItem[]
            {
                new TaskItem(@"1.rsp"),
                new TaskItem(@"2.rsp"),
                new TaskItem(@"3.rsp"),
                new TaskItem(@"4.rsp")
            };
            CommandLine.ValidateContains(t, "@1.rsp @2.rsp @3.rsp @4.rsp", true);
        }