Package hipi.unittest

Source Code of hipi.unittest.SeqImageBundleTestCase

package hipi.unittest;

import hipi.imagebundle.AbstractImageBundle;
import hipi.imagebundle.SeqImageBundle;

import java.io.IOException;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;

public class SeqImageBundleTestCase extends AbstractImageBundleTestCase {

  @Override
  public AbstractImageBundle createImageBundleAndOpen(int mode) throws IOException {
    Configuration conf = new Configuration();
    SeqImageBundle sib = new SeqImageBundle(new Path("/tmp/bundle.sib"), conf);
    sib.open(mode, true);
    return sib;
  }

}
TOP

Related Classes of hipi.unittest.SeqImageBundleTestCase

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.