aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java
diff options
context:
space:
mode:
authorJ08nY2018-05-28 21:45:19 +0200
committerJ08nY2018-05-28 21:45:19 +0200
commit298ffc18e590d07eb04d2c5c2b1d553f8fba71bd (patch)
tree3eccc379deb68a920951cc29c7bcb17368933fde /src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java
parenta4e52b21b1dad5f96df409c44e5b4d611bba01b9 (diff)
downloadECTester-298ffc18e590d07eb04d2c5c2b1d553f8fba71bd.tar.gz
ECTester-298ffc18e590d07eb04d2c5c2b1d553f8fba71bd.tar.zst
ECTester-298ffc18e590d07eb04d2c5c2b1d553f8fba71bd.zip
Implement tracking and writing of exceptions in standalone tests.
Diffstat (limited to 'src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java')
-rw-r--r--src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java b/src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java
index b561b8b..c05d6e3 100644
--- a/src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java
+++ b/src/cz/crcs/ectester/standalone/test/base/KeyGeneratorTestable.java
@@ -47,8 +47,7 @@ public class KeyGeneratorTestable extends StandaloneTestable<KeyGeneratorTestabl
kpg.initialize(keysize);
}
} catch (InvalidAlgorithmParameterException e) {
- ok = false;
- hasRun = true;
+ failOnException(e);
return;
}