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

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

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

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

            t.OptionStrict     = true;
            t.OptionStrictType = "custom";
            CommandLine.ValidateContains(t, "/optionstrict+ /optionstrict:custom", true);
        }
Exemplo 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);
        }