projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify handling of Mode too
[zxing.git]
/
core
/
test
/
src
/
com
/
google
/
zxing
/
qrcode
/
decoder
/
VersionTestCase.java
diff --git
a/core/test/src/com/google/zxing/qrcode/decoder/VersionTestCase.java
b/core/test/src/com/google/zxing/qrcode/decoder/VersionTestCase.java
index
f90ffa1
..
33755be
100644
(file)
--- a/
core/test/src/com/google/zxing/qrcode/decoder/VersionTestCase.java
+++ b/
core/test/src/com/google/zxing/qrcode/decoder/VersionTestCase.java
@@
-24,11
+24,11
@@
import junit.framework.TestCase;
*/
public final class VersionTestCase extends TestCase {
*/
public final class VersionTestCase extends TestCase {
- public void testVersionForNumber()
throws ReaderException
{
+ public void testVersionForNumber() {
try {
Version.getVersionForNumber(0);
fail("Should have thrown an exception");
try {
Version.getVersionForNumber(0);
fail("Should have thrown an exception");
- } catch (
ReaderException r
e) {
+ } catch (
IllegalArgumentException ia
e) {
// good
}
for (int i = 1; i <= 40; i++) {
// good
}
for (int i = 1; i <= 40; i++) {