Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
philburk committed Jul 18, 2024
1 parent f47d11f commit b062e1c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class TestDataPathsActivity extends BaseAutoGlitchActivity {
private double mPhaseErrorSum;
private double mPhaseErrorCount;

private boolean skipRemainingTests;
private boolean mSkipRemainingTests;

private CheckBox mCheckBoxInputPresets;
private CheckBox mCheckBoxAllChannels;
Expand Down Expand Up @@ -405,13 +405,13 @@ protected String whyShouldTestBeSkipped() {
&& (requestedInConfig.getDeviceId() != actualInConfig.getDeviceId())) {
why += "inDev(" + requestedInConfig.getDeviceId()
+ "!=" + actualInConfig.getDeviceId() + "),";
skipRemainingTests = true; // the device must have been unplugged
mSkipRemainingTests = true; // the device must have been unplugged
}
if (requestedOutConfig.getDeviceId() != 0
&& (requestedOutConfig.getDeviceId() != actualOutConfig.getDeviceId())) {
why += ", outDev(" + requestedOutConfig.getDeviceId()
+ "!=" + actualOutConfig.getDeviceId() + "),";
skipRemainingTests = true; // the device must have been unplugged
mSkipRemainingTests = true; // the device must have been unplugged
}
if ((requestedInConfig.getInputPreset() != actualInConfig.getInputPreset())) {
why += ", inPre(" + requestedInConfig.getInputPreset()
Expand Down Expand Up @@ -472,7 +472,7 @@ String getOneLineSummary() {

@Override
protected TestResult testCurrentConfigurations() throws InterruptedException {
if (skipRemainingTests) {
if (mSkipRemainingTests) {
throw new DeviceUnpluggedException();
}
TestResult testResult = super.testCurrentConfigurations();
Expand Down Expand Up @@ -884,11 +884,11 @@ public void runTest() {

runOnUiThread(() -> keepScreenOn(true));

skipRemainingTests = false;
mSkipRemainingTests = false;
try {
testOutputDeviceTypes();
} catch(DeviceUnpluggedException e) {
log("remaining tests were skipped, " + e.getMessage());
log("Remaining tests were skipped, " + e.getMessage());
}

compareFailedTestsWithNearestPassingTest();
Expand Down

0 comments on commit b062e1c

Please sign in to comment.