Back to project page androidtestdebug.
The source code is released under:
MIT License
If you think the Android project androidtestdebug listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
import java.util.Arrays; import java.util.Collection; //from w w w . j av a2 s.c om import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; @RunWith(Parameterized.class) public class DataDrivenDemoTest { private String _user; private String _password; public DataDrivenDemoTest(String user, String password) { _user = user; _password = password; } @SuppressWarnings("rawtypes") @Parameters public static Collection data() { return Arrays.asList(new Object[][] { { "username1", "password1" }, { "username2", "password2" } }); } @Test public void ??????() { System.out.println("????????" + _user + ", ????" + _password + " ??"); } }