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)); }
public static void BasicTest() { int n = Sgen.Main(new string[0]); Assert.Equal(0, n); }
public static void BasicTest() { int n = Sgen.Main(null); Assert.Equal(0, n); }