Пример #1
0
        public void WinMDModule()
        {
            WinMDExp t = new WinMDExp();

            t.WinMDModule = "Foo.dll";
            CommandLine.ValidateContains(t, "Foo.dll", false);
        }
Пример #2
0
        public void WinMDModule()
        {
            WinMDExp t = new WinMDExp();

            t.WinMDModule = "Foo.dll";
            CommandLine.ValidateContains(t, "Foo.dll", useResponseFile: true);
        }
Пример #3
0
        public void OptionStrictType2()
        {
            Vbc t = new Vbc();

            t.OptionStrictType = "custom";
            CommandLine.ValidateContains(t, "/optionstrict:custom", true);
            CommandLine.ValidateDoesNotContain(t, "/optionstrict-", true);
        }
Пример #4
0
        public void OptionStrictType1()
        {
            Vbc t = new Vbc();

            t.OptionStrict     = true;
            t.OptionStrictType = "custom";
            CommandLine.ValidateContains(t, "/optionstrict+ /optionstrict:custom", true);
        }
Пример #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);
        }