Newer
Older
RestfulChecker / src / main / Main.java
yoichiro on 7 Jan 2019 962 bytes Merge branch 'master' into test
package main;

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

public class Main {
	static final String token = "ya29.GltyBjRFhtNUq8yk7VF_7IMz2RUmzyW3opMZi4h7oncteCGn4CXSCtnUqZu5wG8jXaV2g9WBmDmtj-3ORqAr-cclO_k4-QMpAfs5NCN9cC_tBJDHsN-uQDKN9WxX";

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		TestCactus[] cactus = { new TestGETCactus(), new TestCreatePOSTCactus("f", "f", "f"),
				new TestLogoutPOSTCactus("8gAymYyC9XS6VcU1OEIdhMVHJnCqql5Qx9EBaCPezsEsvCoqLeq88wYhjtKA7uBH"),
				new TestPUTCactus("f", "f"), new TestDELETECactus("qF9bgKYZmw8P") };
		TestYouTube[] youtube = { new TestGETYouTube(token), new TestPOSTYouTube(token), new TestPUTYouTube(token),
				new TestDELETEYouTube(token, "PLCwNa5MZdBSrIn-8nc9gDckf2kzXejtL_") };
		TestTwitter[] twitter = { new TestGETListsTwitter("masterlink3535"),
				new TestPOSTcreateTwitter("masterlink3535") };
		cactus[3].start();
	}

}