summaryrefslogtreecommitdiff
path: root/smcc/src/test/java/at/gv/egiz
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-10 12:17:17 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-07-10 12:17:17 +0000
commit9cc4995bc6d789ae746d840f3e39750ad618d9dc (patch)
tree0ca181eda37c1d27498af7a9a0c01be4da398d5c /smcc/src/test/java/at/gv/egiz
parentd8890ce7924447e18e1afc9ce9f3bbc13c0166a2 (diff)
downloadmocca-9cc4995bc6d789ae746d840f3e39750ad618d9dc.tar.gz
mocca-9cc4995bc6d789ae746d840f3e39750ad618d9dc.tar.bz2
mocca-9cc4995bc6d789ae746d840f3e39750ad618d9dc.zip
Adapt tests to ModifyPINProvider changes
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1096 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/test/java/at/gv/egiz')
-rw-r--r--smcc/src/test/java/at/gv/egiz/smcc/pin/gui/CancelChangePINProvider.java6
-rw-r--r--smcc/src/test/java/at/gv/egiz/smcc/pin/gui/ChangePINProvider.java6
-rw-r--r--smcc/src/test/java/at/gv/egiz/smcc/pin/gui/InvalidChangePINProvider.java6
3 files changed, 18 insertions, 0 deletions
diff --git a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/CancelChangePINProvider.java b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/CancelChangePINProvider.java
index 54861939..113edecf 100644
--- a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/CancelChangePINProvider.java
+++ b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/CancelChangePINProvider.java
@@ -44,4 +44,10 @@ public class CancelChangePINProvider extends DummyChangePINGUI implements Modify
throw new CancelledException("cancelled by cancelPINProvider");
}
+ @Override
+ public char[] providePUK(PinInfo pinInfo, PinInfo pukInfo, int retries)
+ throws CancelledException, InterruptedException {
+ throw new CancelledException("cancelled by cancelPINProvider");
+ }
+
} \ No newline at end of file
diff --git a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/ChangePINProvider.java b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/ChangePINProvider.java
index f5f6cefa..d6d2914c 100644
--- a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/ChangePINProvider.java
+++ b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/ChangePINProvider.java
@@ -54,4 +54,10 @@ public class ChangePINProvider extends DummyChangePINGUI implements ModifyPINGUI
return pin;
}
+ @Override
+ public char[] providePUK(PinInfo pinInfo, PinInfo pukInfo, int retries)
+ throws CancelledException, InterruptedException {
+ return null;
+ }
+
}
diff --git a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/InvalidChangePINProvider.java b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/InvalidChangePINProvider.java
index 9b34f218..b1147999 100644
--- a/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/InvalidChangePINProvider.java
+++ b/smcc/src/test/java/at/gv/egiz/smcc/pin/gui/InvalidChangePINProvider.java
@@ -61,4 +61,10 @@ public class InvalidChangePINProvider extends DummyChangePINGUI implements Modif
public char[] provideNewPIN(PinInfo spec) {
return pin;
}
+
+ @Override
+ public char[] providePUK(PinInfo pinInfo, PinInfo pukInfo, int retries)
+ throws CancelledException, InterruptedException {
+ return null;
+ }
}