Created
July 10, 2015 16:58
-
-
Save tdharris/130163993fd965bbccac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment