summaryrefslogtreecommitdiff
path: root/smccSTAL/src/test
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:11:05 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:11:05 +0000
commitf8daac3a191bcb0fe280ed0204f28f8edcfb3008 (patch)
tree0e16a52acf9938042ea72741a4ba3b215e48f9f6 /smccSTAL/src/test
parent8596426d5daf291618b5e407bc9f804aa217b24a (diff)
downloadmocca-f8daac3a191bcb0fe280ed0204f28f8edcfb3008.tar.gz
mocca-f8daac3a191bcb0fe280ed0204f28f8edcfb3008.tar.bz2
mocca-f8daac3a191bcb0fe280ed0204f28f8edcfb3008.zip
GetStatusRequest
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@302 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTAL/src/test')
-rw-r--r--smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java12
-rw-r--r--smccSTAL/src/test/resources/log4j.properties19
2 files changed, 31 insertions, 0 deletions
diff --git a/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java b/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java
index 77997217..a5f8a771 100644
--- a/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java
+++ b/smccSTAL/src/test/java/at/gv/egiz/smcc/AbstractSMCCSTALTest.java
@@ -19,6 +19,7 @@ import at.gv.egiz.stal.InfoboxReadRequest;
import at.gv.egiz.stal.InfoboxReadResponse;
import at.gv.egiz.stal.STALRequest;
import at.gv.egiz.stal.STALResponse;
+import org.junit.Ignore;
public class AbstractSMCCSTALTest extends AbstractSMCCSTAL implements
SMCCSTALRequestHandler {
@@ -84,6 +85,16 @@ public class AbstractSMCCSTALTest extends AbstractSMCCSTAL implements
// TODO Auto-generated method stub
}
+
+ @Override
+ public byte[] getKIDs() {
+ return null;
+ }
+
+ @Override
+ public int verifyPIN(String pin, byte kid) throws LockedException, NotActivatedException, SignatureCardException {
+ return 0;
+ }
};
return false;
@@ -95,6 +106,7 @@ public class AbstractSMCCSTALTest extends AbstractSMCCSTAL implements
}
@Test
+ @Ignore
public void testRetry() {
InfoboxReadRequest irr = new InfoboxReadRequest();
List<STALRequest> irrl = new ArrayList<STALRequest>();
diff --git a/smccSTAL/src/test/resources/log4j.properties b/smccSTAL/src/test/resources/log4j.properties
new file mode 100644
index 00000000..053eac17
--- /dev/null
+++ b/smccSTAL/src/test/resources/log4j.properties
@@ -0,0 +1,19 @@
+# loglever DEBUG, appender STDOUT
+log4j.rootLogger=TRACE, STDOUT
+#log4j.logger.at.gv.egiz.slbinding.RedirectEventFilter=DEBUG, STDOUT
+
+# STDOUT appender
+log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
+log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
+#log4j.appender.STDOUT.layout.ConversionPattern=%5p | %d{dd HH:mm:ss,SSS} | %20c | %10t | %m%n
+#log4j.appender.STDOUT.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+log4j.appender.STDOUT.layout.ConversionPattern=%-5p |%d | %t | %c %x- %m%n
+
+### FILE appender
+#log4j.appender.file=org.apache.log4j.RollingFileAppender
+#log4j.appender.file.maxFileSize=100KB
+#log4j.appender.file.maxBackupIndex=9
+#log4j.appender.file.File=egovbus_ca.log
+#log4j.appender.file.threshold=info
+#log4j.appender.file.layout=org.apache.log4j.PatternLayout
+#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n \ No newline at end of file