am 0d922ec9: Merge "Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)" into honeycomb-mr1

* commit '0d922ec92dfe1d4adb6c66cdd2d3c16eb6b29776':
  Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)
This commit is contained in:
shailendra
2011-03-18 11:02:35 -07:00
committed by Android Git Automerger
2 changed files with 5 additions and 1 deletions

View File

@@ -585,7 +585,9 @@ public class MediaItemThumbnailTest extends
try{
final MediaImageItem mii = new MediaImageItem(mVideoEditor, "m1",
imageItemFileName, 3000, renderingMode);
}catch (IllegalArgumentException e){
} catch (IllegalArgumentException e) {
flagForException = true;
} catch (IOException e) {
flagForException = true;
}
assertTrue(" Invalid File Path", flagForException);

View File

@@ -513,6 +513,8 @@ public class MediaPropertiesTest extends
MediaItem.RENDERING_MODE_BLACK_BORDER);
} catch (IllegalArgumentException e) {
flagForException = true;
} catch (IOException e) {
flagForException = true;
}
assertTrue("Media Properties for non exsisting file", flagForException);
}