Newer
Older
RestfulChecker / src / main / Main.java
yoichiro on 8 Jan 2019 1007 bytes twitter apiの動作を確認
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(), new TestPOSTcreateTwitter(),
				new TestPOSTdestroyTwitter(""), new TestPOSTupdateTwitter("", "updated") };
		twitter[1].start();
	}

}