示例#1
0
文件: SGenTests.cs 项目: vml-t/corefx
        public static void SgenCommandTest()
        {
            string codefile = "Microsoft.XmlSerializer.Generator.Tests.XmlSerializers.cs";
            int    n        = Sgen.Main(new string[] { "Microsoft.XmlSerializer.Generator.Tests.dll", "/force", "/casesensitive" });

            Assert.Equal(0, n);
            Assert.True(File.Exists(codefile), string.Format("Fail to generate {0}.", codefile));
        }
示例#2
0
文件: SGenTests.cs 项目: vml-t/corefx
        public static void BasicTest()
        {
            int n = Sgen.Main(new string[0]);

            Assert.Equal(0, n);
        }
示例#3
0
        public static void BasicTest()
        {
            int n = Sgen.Main(null);

            Assert.Equal(0, n);
        }