Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8b4efdd authored by shailendra's avatar shailendra
Browse files

Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile...

Fix for testThumbnailForInvalidFilePath and testPropertiesForNonExsitingFile failed with HMI75B(4124235)

Change-Id: Iab523e666c11b7f99aac71c761a4295d32ca026c
parent 296c1616
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -587,6 +587,8 @@ public class MediaItemThumbnailTest extends
            imageItemFileName, 3000, renderingMode);
        } catch (IllegalArgumentException e) {
            flagForException = true;
        } catch (IOException e) {
            flagForException = true;
        }
        assertTrue(" Invalid File Path", flagForException);
    }
+2 −0
Original line number Diff line number Diff line
@@ -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);
     }