Examples of JPG


Examples of net.pms.formats.JPG

        format.ps3compatible(),  conf.isCompatible(info, format));

    // JPG: true
    info = new DLNAMediaInfo();
    info.setContainer("jpg");
    format = new JPG();
    format.match("test.jpeg");
    assertEquals("isCompatible() gives same outcome as ps3compatible() for JPG",
        format.ps3compatible(),  conf.isCompatible(info, format));

    // M4A: false
View Full Code Here

Examples of net.pms.formats.JPG

    // Identifier tests based on the identifiers defined in getId() of each class
    assertEquals("DVRMS matches \"test.dvr\"", true, new DVRMS().match("test.dvr"));
    assertEquals("FLAC matches \"test.flac\"", true, new FLAC().match("test.flac"));
    assertEquals("GIF matches \"test.gif\"", true, new GIF().match("test.gif"));
    assertEquals("ISO matches \"test.iso\"", true, new ISO().match("test.iso"));
    assertEquals("JPG matches \"test.jpg\"", true, new JPG().match("test.jpg"));
    assertEquals("M4A matches \"test.wma\"", true, new M4A().match("test.wma"));
    assertEquals("MKV matches \"test.mkv\"", true, new MKV().match("test.mkv"));
    assertEquals("MP3 matches \"test.mp3\"", true, new MP3().match("test.mp3"));
    assertEquals("MPG matches \"test.mpg\"", true, new MPG().match("test.mpg"));
    assertEquals("OGG matches \"test.ogg\"", true, new OGG().match("test.ogg"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.