Merge "Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)" into honeycomb-mr1
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user