Package net.sf.fmj.test.tracing

Examples of net.sf.fmj.test.tracing.TracingDataSource


      assertTrue(false);
    }
   
    try
    {
      p.setSource(new TracingDataSource());
      assertTrue(false);
    } catch (IncompatibleSourceException e)
    {
    } catch (IOException e)
    {
View Full Code Here


    assertEquals(p.getSupportedInputContentDescriptors()[0].getContentType(), "raw");
    assertEquals(p.getSupportedInputContentDescriptors()[0].getEncoding(), "raw");
    assertEquals(p.getSupportedInputContentDescriptors()[0].getDataType(), byte[].class);
 
    {
      TracingDataSource ds = new TracingDataSource();
      p.setSource(ds);
     
      assertEquals(p.getName(), "Raw parser");
      assertEquals(p.isPositionable(), false);
      assertEquals(p.isRandomAccess(), false);
      assertEquals(p.getTracks(), null);
      assertEquals(p.getMediaTime(), Time.TIME_UNKNOWN);
      assertEquals(p.getDuration(), Duration.DURATION_UNKNOWN);
     
      assertEquals(ds.getStringBuffer().toString(), "")// does not appear to call the data source to get these
     
   
    }
   
   
View Full Code Here

   
    assertEquals(p.getName(), "Raw pull stream parser");
   
    try
    {
      p.setSource(new TracingDataSource());
      assertTrue(false);
    } catch (IncompatibleSourceException e)
    {
    } catch (IOException e)
    {
View Full Code Here

TOP

Related Classes of net.sf.fmj.test.tracing.TracingDataSource

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.