static Default() { Port = 8000; IPv4 = new IPInfo("127.0.0.1", Port); IPv6 = new IPInfo("::1", Port); if (Environment.OSVersion.Platform == PlatformID.Unix) { Pipename = "testpipe"; } else { Pipename = @"\\.\pipe\testpipe"; } Directory = "./tmp"; SecondDirectory = Directory + "2"; File = "file"; TestExecutable = System.IO.Path.Combine(System.IO.Directory.GetCurrentDirectory(), "Test.exe"); if (Environment.OSVersion.Platform == PlatformID.Unix) { TestArguments = new string[] { "/usr/bin/mono", TestExecutable }; } else { TestArguments = new string[] { TestExecutable }; } }
static Default() { Port = 8000; IPv4 = new IPInfo("127.0.0.1", Port); IPv6 = new IPInfo("::1", Port); if (Environment.OSVersion.Platform == PlatformID.Unix) { Pipename = "testpipe"; } else { Pipename = @"\\.\pipe\testpipe"; } Directory = "./tmp"; SecondDirectory = Directory + "2"; File = "file"; }