use of net.pms.dlna.WebStream in project UniversalMediaServer by UniversalMediaServer.
the class PlayerUtilTest method setUpClass.
@BeforeClass
public static void setUpClass() {
// initialise the fixtures
// XXX we need to call isValid to call checktype(), which is needed to initialise the format
image = new RealFile(getNonExistingFile("test.jpg"));
image.isValid();
audio = new RealFile(getNonExistingFile("test.mp3"));
audio.isValid();
video = new RealFile(getNonExistingFile("test.mpg"));
video.isValid();
webImage = new WebStream("", "http://example.com/test.jpg", "", Format.IMAGE);
webImage.isValid();
webAudio = new WebStream("", "http://example.com/test.mp3", "", Format.AUDIO);
webAudio.isValid();
webVideo = new WebStream("", "http://example.com/test.mpg", "", Format.VIDEO);
webVideo.isValid();
}
Aggregations