CommandLineRunnerTestCase.java (zxing-zxing-3.4.1) | : | CommandLineRunnerTestCase.java (zxing-zxing-3.5.0) | ||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
import org.junit.Assert; | import org.junit.Assert; | |||
import org.junit.Test; | import org.junit.Test; | |||
/** | /** | |||
* Tests {@link CommandLineRunner}. | * Tests {@link CommandLineRunner}. | |||
*/ | */ | |||
public final class CommandLineRunnerTestCase extends Assert { | public final class CommandLineRunnerTestCase extends Assert { | |||
@Test | @Test | |||
public void testCommandLineRunner() throws Exception { | public void testCommandLineRunner() throws Exception { | |||
String[] args = { "--pure_barcode", DecodeWorkerTestCase.IMAGE_DATA_URI }; | String[] args = { "--pure_barcode", "--try_harder", | |||
DecodeWorkerTestCase.IMAGE_DATA_URI, DecodeWorkerTestCase.IMAGE_NOBARCODE_ | ||||
DATA_URI }; | ||||
// Not a lot to do here but make sure it runs | // Not a lot to do here but make sure it runs | |||
CommandLineRunner.main(args); | CommandLineRunner.main(args); | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |