static int serverId = 0; // Which server in the JSON file (first=0) static void test(string path) { IEnumerable <object[]> servers = JsonConvert.DeserializeObject <List <object[]> >( File.ReadAllText(path)); object[] server = servers.ElementAt(serverId); SyncTests tests = new SyncTests(); tests.Init(); // Enter the unit test method to debug below. tests.DeleteRemoteDocument((string)server[0], (string)server[1], (string)server[2], (string)server[3], (string)server[4], (string)server[5], (string)server[6]); tests.TearDown(); }
static void Main(string[] args) { ExtensionsTests.Run(); ArrayTests.Run(); ParameterTests.Run(); ExampleTests.Run(); ClassifierTests.Run(); ChannelTests.Run(); ControlTests.Run(); SyncTests.Run(); RandomizedQueueTests.Run(); "Finished!".Print(); while (true) { System.Threading.Thread.Sleep(30000); } }