Newer
Older
RestfulChecker / src / main / Main.java
y-ota on 13 Dec 2018 778 bytes Mainをだいぶ整理
package main;

import testcase.*;

public class Main {
	static final String token = "ya29.GltxBrlNG1CnuccnM6c8-uSBKv9gvVsDjq4jbaNduxRaN9ei8CXYGTzEoVNV-gnAKqiLpL9WxJIZ_Jy6KT7oQKLbHbBiRzaXdHXBrZEm-xWX_EAM_-G2-NIlDz3G";

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		TestCactus[] cactus = { new TestGETCactus(), new TestCreatePOSTCactus("f", "f", "f"),
				new TestLogoutPOSTCactus("h41ZoL44toLq3Kg7B1aXreHjcjluAsoyz8DezqiXJ28s1atiGR5UHFOqi7Or3xOD"),
				new TestPUTCactus("f", "f"), new TestDELETECactus("qF9bgKYZmw8P") };
		TestYouTube[] youtube = { new TestGETYouTube(token), new TestPOSTYouTube(token), new TestPUTYouTube(token),
				new TestDELETEYouTube(token, "PLCwNa5MZdBSq_3K5-MV0x6luKXskvqrKk") };
		youtube[0].start();
	}

}