Ejemplo n.º 1
0
 @Parameters({"provider"})
 @BeforeMethod
 public void setUp(String provider) throws IOException {
   IRandomAccessProviderFactory factory = new IRandomAccessProviderFactory();
   IRandomAccessProvider instance = factory.getInstance(provider);
   fileHandle = instance.createMock(PAGE, MODE, BUFFER_SIZE);
 }
 @Parameters({"provider", "checkGrowth"})
 @BeforeMethod
 public void setUp(String provider, @Optional("false") String checkGrowth) throws IOException {
   this.checkGrowth = Boolean.parseBoolean(checkGrowth);
   IRandomAccessProviderFactory factory = new IRandomAccessProviderFactory();
   IRandomAccessProvider instance = factory.getInstance(provider);
   fileHandle = instance.createMock(PAGE, MODE, BUFFER_SIZE);
 }