am a5eaf2ea: am 0d922ec9: Merge "Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)" into honeycomb-mr1
* commit 'a5eaf2eae0d11c45d9167f7fcadaafdeefad645c': Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)
This commit is contained in:
@@ -585,7 +585,9 @@ public class MediaItemThumbnailTest extends
|
|||||||
try{
|
try{
|
||||||
final MediaImageItem mii = new MediaImageItem(mVideoEditor, "m1",
|
final MediaImageItem mii = new MediaImageItem(mVideoEditor, "m1",
|
||||||
imageItemFileName, 3000, renderingMode);
|
imageItemFileName, 3000, renderingMode);
|
||||||
}catch (IllegalArgumentException e){
|
} catch (IllegalArgumentException e) {
|
||||||
|
flagForException = true;
|
||||||
|
} catch (IOException e) {
|
||||||
flagForException = true;
|
flagForException = true;
|
||||||
}
|
}
|
||||||
assertTrue(" Invalid File Path", flagForException);
|
assertTrue(" Invalid File Path", flagForException);
|
||||||
|
|||||||
@@ -513,6 +513,8 @@ public class MediaPropertiesTest extends
|
|||||||
MediaItem.RENDERING_MODE_BLACK_BORDER);
|
MediaItem.RENDERING_MODE_BLACK_BORDER);
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
flagForException = true;
|
flagForException = true;
|
||||||
|
} catch (IOException e) {
|
||||||
|
flagForException = true;
|
||||||
}
|
}
|
||||||
assertTrue("Media Properties for non exsisting file", flagForException);
|
assertTrue("Media Properties for non exsisting file", flagForException);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user