Package net.pms.formats

Examples of net.pms.formats.WEB


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

    // WEB: type=IMAGE
    info = new DLNAMediaInfo();
    info.setContainer("jpg");
    format = new WEB();
    format.match("http://test.org/");
    format.setType(Format.IMAGE);
    assertEquals("isCompatible() give same outcome as ps3compatible() for WEB image",
        format.ps3compatible(),  conf.isCompatible(info, format));
View Full Code Here


    assertEquals("OGG matches \"test.ogg\"", true, new OGG().match("test.ogg"));
    assertEquals("PNG matches \"test.png\"", true, new PNG().match("test.png"));
    assertEquals("RAW matches \"test.arw\"", true, new RAW().match("test.arw"));
    assertEquals("TIF matches \"test.tiff\"", true, new TIF().match("test.tiff"));
    assertEquals("WAV matches \"test.wav\"", true, new WAV().match("test.wav"));
    assertEquals("WEB matches \"http\"", true, new WEB().match("http://test.org/"));
  }
View Full Code Here

TOP

Related Classes of net.pms.formats.WEB

Copyright © 2018 www.massapicom. 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.