Newer
Older
RestfulChecker / src / testcase / TestDELETEYouTube.java
y-ota on 13 Dec 2018 557 bytes PUTとDELETEの中身を作成
package testcase;

import restfulchecker.RestParam;
import restfulchecker.RestChecker.Method;

public class TestDELETEYouTube extends TestYouTube {

	public TestDELETEYouTube(String token, String id) {
		super(token);
		check.getGetnesParam().setPathParams("playlists");
		check.getGetnesParam().setQueryParams(new RestParam("mine", "true"));
		check.getGetnesParam().setQueryParams(new RestParam("part", "id"));
		path.add("playlists");
		query.add(new RestParam("id", id));
		check.setupRestTest(Method.DELETE, query, form, path);
	}

}