Skip to content

Commit

Permalink
fix(iot-e2e): remove spaces in test cases' name
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmineymlo committed Oct 22, 2018
1 parent befdf92 commit f58bc80
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Expand Up @@ -8,6 +8,7 @@
import com.microsoft.appcenter.espresso.Factory;
import com.microsoft.appcenter.espresso.ReportHelper;
import com.microsoft.azure.sdk.iot.android.BuildConfig;
import com.microsoft.azure.sdk.iot.android.helper.Rerun;
import com.microsoft.azure.sdk.iot.common.helpers.DeviceTestManager;
import com.microsoft.azure.sdk.iot.common.iothubservices.DeviceMethodCommon;
import com.microsoft.azure.sdk.iot.deps.util.Base64;
Expand All @@ -31,11 +32,14 @@
@RunWith(Parameterized.class)
public class DeviceMethodITonAndroid extends DeviceMethodCommon
{
@Rule
public Rerun count = new Rerun(3);

@Rule
public ReportHelper reportHelper = Factory.getReportHelper();

//This function is run before even the @BeforeClass annotation, so it is used as the @BeforeClass method
@Parameterized.Parameters(name = "{1} with {2} auth using {3}")
@Parameterized.Parameters(name = "{1}_{2}_{3}")
public static Collection inputsCommons() throws IOException, IotHubException, GeneralSecurityException, URISyntaxException, InterruptedException, ModuleClientException
{
String privateKeyBase64Encoded = BuildConfig.IotHubPrivateKeyBase64;
Expand Down
Expand Up @@ -34,7 +34,7 @@ public class DeviceTwinITonAndroid extends DeviceTwinCommon
public ReportHelper reportHelper = Factory.getReportHelper();

//This function is run before even the @BeforeClass annotation, so it is used as the @BeforeClass method
@Parameterized.Parameters(name = "{2} with {3} auth using {4}")
@Parameterized.Parameters(name = "{2}_{3}_{4}")
public static Collection inputsCommons() throws IOException, GeneralSecurityException
{
String privateKeyBase64Encoded = BuildConfig.IotHubPrivateKeyBase64;
Expand Down
Expand Up @@ -30,7 +30,7 @@ public class ReceiveMessagesITonAndroid extends ReceiveMessagesCommon
public ReportHelper reportHelper = Factory.getReportHelper();

//This function is run before even the @BeforeClass annotation, so it is used as the @BeforeClass method
@Parameterized.Parameters(name = "{1} with {4} auth using {5}")
@Parameterized.Parameters(name = "{1}_{4}_{5}")
public static Collection inputs() throws IOException, IotHubException, GeneralSecurityException, URISyntaxException, ModuleClientException
{
String privateKeyBase64Encoded = BuildConfig.IotHubPrivateKeyBase64;
Expand Down
Expand Up @@ -38,7 +38,7 @@ public class SendMessagesITonAndroid extends SendMessagesCommon
public ReportHelper reportHelper = Factory.getReportHelper();

//This function is run before even the @BeforeClass annotation, so it is used as the @BeforeClass method
@Parameterized.Parameters(name = "{1} with {3} auth using {4}")
@Parameterized.Parameters(name = "{1}_{3}_{4}")
public static Collection inputs() throws IOException, IotHubException, GeneralSecurityException, URISyntaxException, ModuleClientException
{
String privateKeyBase64Encoded = BuildConfig.IotHubPrivateKeyBase64;
Expand Down

0 comments on commit f58bc80

Please sign in to comment.