use of org.apache.tika.parser.audio.AudioParser in project opencast by opencast.
the class MediaInspectionServiceImplTest method init.
/**
* Setup test.
*/
@Ignore
private Option<MediaInspector> init(URI resource) throws Exception {
for (String binary : ffprobePath) {
final File f = new File(resource);
Workspace workspace = EasyMock.createNiceMock(Workspace.class);
EasyMock.expect(workspace.get(resource)).andReturn(f);
EasyMock.expect(workspace.get(resource)).andReturn(f);
EasyMock.expect(workspace.get(resource)).andReturn(f);
EasyMock.replay(workspace);
return some(new MediaInspector(workspace, new AudioParser(), binary));
}
return none();
}
Aggregations