Newer
Older
RestfulChecker / src / testcase / TestDELETECactus.java
y-ota on 3 Dec 2018 651 bytes 修正
package testcase;

import java.util.ArrayList;

import restfulchecker.*;
import restfulchecker.RestChecker.Method;

public class TestDELETECactus {
	private RestChecker check = new RestChecker();
	private ArrayList<RestParam> query = new ArrayList<>();
	private ArrayList<RestParam> form = new ArrayList<>();
	private ArrayList<String> path = new ArrayList<>();

	public TestDELETECactus(String uniqueID) {
		check.setAccount("http://nitta-lab-www.is.konan-u.ac.jp/CactusServer/rest/accounts");
		path.add(uniqueID);
		check.setupRestTest(Method.DELETE, query, form, path);
	}

	public void start() {
		check.doRestTest();
	}
}