summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/camera/stress/SwitchPreview.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com/android/camera/stress/SwitchPreview.java')
-rwxr-xr-xtests/src/com/android/camera/stress/SwitchPreview.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/src/com/android/camera/stress/SwitchPreview.java b/tests/src/com/android/camera/stress/SwitchPreview.java
index 0ffe0ac..6af915e 100755
--- a/tests/src/com/android/camera/stress/SwitchPreview.java
+++ b/tests/src/com/android/camera/stress/SwitchPreview.java
@@ -72,7 +72,7 @@ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera
mfstream = new FileWriter(CAMERA_TEST_OUTPUT_FILE, true);
mOut = new BufferedWriter(mfstream);
} catch (Exception e){
- assertTrue("Camera Switch Mode",false);
+ assertTrue("Camera Switch Mode", false);
}
}
@@ -108,8 +108,7 @@ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera
mOut.flush();
}
} catch (Exception e){
- Log.v(TAG, e.toString());
+ Log.v(TAG, "Got exception", e);
}
- assertTrue("testSwitchMode",true);
}
}