Java 类com.google.zxing.common.TestResult 实例源码

项目:ZxingCore    文件:PDF417BlackBox4TestCase.java   
public PDF417BlackBox4TestCase() {
  super(TEST_BASE_PATH_SUFFIX, null, BarcodeFormat.PDF_417);
  // A little workaround to prevent aggravation in my IDE
  testBase = new File(TEST_BASE_PATH_SUFFIX);
  if (!testBase.exists()) {
    // try starting with 'core' since the test base is often given as the project root
    testBase = new File("core/" + TEST_BASE_PATH_SUFFIX);
  }
  testResults.add(new TestResult(2, 2, 0, 0, 0.0f));
}
项目:zxing-bsplus    文件:PDF417BlackBox4TestCase.java   
public PDF417BlackBox4TestCase() {
  super("src/test/resources/blackbox/pdf417-4", null, BarcodeFormat.PDF_417);
  testResults.add(new TestResult(2, 2, 0, 0, 0.0f));
}