Newer
Older
RestfulChecker / src / main / Main.java
package main;

import testcase.cactus.*;
import testcase.twitter.*;
import testcase.youtube.*;

public class Main {
	static final String token = "ya29.GluNBnp3HTt5I_GC1L8f9RByhfxJzBnbn5HPMzaGIvzyCux9tbE94vPxMEQx5dTBP-VAaUuTYUmFYysOlhAmQYWYLULjRBCkJlPWe_86wp2D6_ltheWbjG3gFx8f";

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		TestCactus[] cactus = { new TestGETCactus(), new TestCreatePOSTCactus("f", "f", "f"),
				new TestLogoutPOSTCactus("9FeLF6LC8lwAWRD2zMoSxOpTE5vbuJdpuGVcx8NpW0VGbg4cDkDCDshFW5Zl9LQ0"),
				new TestPUTCactus("f", "f"), new TestDELETECactus("IxbvugVYRW9e") };
		TestYouTube[] youtube = { new TestGETYouTube(token), new TestPOSTYouTube(token), new TestPUTYouTube(token),
				new TestDELETEYouTube(token, "PLCwNa5MZdBSq9ty9AidV-b3lt3FGn1h6Q") };
		TestTwitter[] twitter = { new TestGETListsTwitter(), new TestPOSTcreateTwitter(),
				new TestPOSTdestroyTwitter("1082884549791514624"), new TestPOSTupdateTwitter("1082884549791514624", "updated") };
		youtube[3].start();
	}

}