|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Please use this as a reference:
public class EmulatorConfigTest {
//does not work
@Test
public void shouldSelectExecutor64WhenPassedAsExecutorAndAvdIsSelected(){ EmulatorConfig emulatorConfigWithAvdName = EmulatorConfig.create( "hudson_en-US_160_WVGA_android-21", "5.0", "160", "WVGA", "", "", false, false, false, "", "", "", "emulator64-arm", ""); assertEquals(Tool.EMULATOR64_ARM, emulatorConfigWithAvdName.getExecutable()); }
//does work
@Test
public void shouldSelectExecutor64WhenPassedAsExecutorAndAvdIsEmpty(){ EmulatorConfig emulatorConfigWithNoAvdName = EmulatorConfig.create("", "5.0", "160", "WVGA", "", "", false, false, false, "", "", "", "emulator64-arm", ""); assertEquals(Tool.EMULATOR64_ARM, emulatorConfigWithNoAvdName.getExecutable()); }