Author: michiel Date: 2009-08-13 19:37:23 +0200 (Thu, 13 Aug 2009) New Revision: 37792
Modified: mmbase/trunk/applications/streams/src/test/java/org/mmbase/streams/RecognizerTest.java Log: Virtual -> Dummy Modified: mmbase/trunk/applications/streams/src/test/java/org/mmbase/streams/RecognizerTest.java =================================================================== --- mmbase/trunk/applications/streams/src/test/java/org/mmbase/streams/RecognizerTest.java 2009-08-13 17:34:32 UTC (rev 37791) +++ mmbase/trunk/applications/streams/src/test/java/org/mmbase/streams/RecognizerTest.java 2009-08-13 17:37:23 UTC (rev 37792) @@ -9,7 +9,7 @@ import org.mmbase.bridge.*; import org.mmbase.datatypes.DataType; import static org.mmbase.datatypes.Constants.*; -import org.mmbase.bridge.virtual.*; +import org.mmbase.bridge.dummy.*; import org.mmbase.streams.transcoders.*; import static org.mmbase.streams.transcoders.AnalyzerUtils.*; import org.mmbase.util.logging.*; @@ -23,7 +23,7 @@ @RunWith(Parameterized.class) public class RecognizerTest { - private final static CloudContext cloudContext = VirtualCloudContext.getCloudContext(); + private final static CloudContext cloudContext = DummyCloudContext.getCloudContext(); private final static Map<String, File> files = new HashMap<String, File>(); @@ -79,15 +79,15 @@ public static void setUp() { { Map<String, DataType> undef = getParent(); - VirtualCloudContext.addNodeManager(MEDIA, undef); + DummyCloudContext.addNodeManager(MEDIA, undef); } { Map<String, DataType> images = getParent(); images.put("height", DATATYPE_INTEGER); images.put("width", DATATYPE_INTEGER); - VirtualCloudContext.addNodeManager(IMAGE, images); - VirtualCloudContext.addNodeManager(IMAGEC,images); + DummyCloudContext.addNodeManager(IMAGE, images); + DummyCloudContext.addNodeManager(IMAGEC,images); } { Map<String, DataType> audio = getParent(); @@ -95,8 +95,8 @@ audio.put("bitrate", DATATYPE_INTEGER); audio.put("length", DATATYPE_INTEGER); - VirtualCloudContext.addNodeManager(AUDIO, audio); - VirtualCloudContext.addNodeManager(AUDIOC, audio); + DummyCloudContext.addNodeManager(AUDIO, audio); + DummyCloudContext.addNodeManager(AUDIOC, audio); } { Map<String, DataType> video = getParent(); @@ -106,8 +106,8 @@ video.put("channels", DATATYPE_INTEGER); video.put("length", DATATYPE_INTEGER); - VirtualCloudContext.addNodeManager(VIDEO, video); - VirtualCloudContext.addNodeManager(VIDEOC, video); + DummyCloudContext.addNodeManager(VIDEO, video); + DummyCloudContext.addNodeManager(VIDEOC, video); } File baseDir = new File(System.getProperty("user.dir")); File samples = new File(baseDir, "samples"); @@ -124,7 +124,7 @@ } - @org.junit.Test + @Test public void test() throws Exception { CommandTranscoder transcoder = new FFMpegTranscoder("1").clone(); Logger logger = Logging.getLoggerInstance("FFMPEG"); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs