Newer
Older
RestfulChecker / src / testcase / TestCase.java
y-ota on 14 Dec 2018 507 bytes TestCaseから拡張させるように
package testcase;

import java.util.ArrayList;

import restfulchecker.RestChecker;
import restfulchecker.RestParam;

public abstract class TestCase {
	protected RestChecker check = new RestChecker();
	protected ArrayList<RestParam> query = new ArrayList<>();
	protected ArrayList<RestParam> form = new ArrayList<>();
	protected ArrayList<String> path = new ArrayList<>();

	protected TestCase(String url) {
		check.setAccount(url);
	}

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