Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package lmp.test.comms.inbound;
- import java.util.Collection;
- import org.json.JSONException;
- import org.json.JSONObject;
- import org.junit.After;
- import org.junit.Test;
- import org.junit.runner.RunWith;
- import org.junit.runners.Parameterized;
- import org.junit.runners.Parameterized.Parameters;
- import sf.test.TestBase;
- @RunWith(Parameterized.class)
- public class test extends TestBase
- {
- public test(String _data)
- {
- try
- {
- JSONObject json = new JSONObject(_data);
- testCase = json.getJSONArray("testCase");
- } catch (JSONException e)
- {
- e.printStackTrace();
- }
- }
- @Parameters
- public static Collection<String[]> data()
- {
- return TestBase.data("ui_" + test.class.getSimpleName() + ".json", "ui_" + test.class.getSimpleName(), "/");
- }
- @After
- public void tearDown()
- {
- }
- @Test
- public void testtest()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement