Package org.apache.kato.common

Examples of org.apache.kato.common.SubsetDataProvider.readByte()


   
  }
  public void testGetDataAt00() throws IOException {
   
    SubsetDataProvider provider=new SubsetDataProvider(new MockDataProvider(),10);
    short b=provider.readByte();
    assertEquals(0,b);
   
  }
  public void testGetDataAt01() throws IOException {
   
View Full Code Here


  public void testGetDataAt01() throws IOException {
   
    MockDataProvider p=new MockDataProvider();
    p.moveTo(1);
    SubsetDataProvider provider=new SubsetDataProvider(p,10);
    short b=provider.readByte();
    assertEquals(1,b);
   
  }
 
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.