diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-06-16 11:19:41 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-06-16 11:19:41 +0000 |
commit | 265b0aca555d9880361b754b6a18ce70b5be28cd (patch) | |
tree | 158387c96aa33e53beec0caab6bb938148c15587 /smcc/src/test/java/at/gv/egiz/smcc/File.java | |
parent | 1615a1e0bea092641bd72351876f6aa6edba655e (diff) | |
download | mocca-265b0aca555d9880361b754b6a18ce70b5be28cd.tar.gz mocca-265b0aca555d9880361b754b6a18ce70b5be28cd.tar.bz2 mocca-265b0aca555d9880361b754b6a18ce70b5be28cd.zip |
Refactored smart card unit tests to use Spring to configure smart card emulators.
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@754 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/test/java/at/gv/egiz/smcc/File.java')
-rw-r--r-- | smcc/src/test/java/at/gv/egiz/smcc/File.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/smcc/src/test/java/at/gv/egiz/smcc/File.java b/smcc/src/test/java/at/gv/egiz/smcc/File.java index e47c5f7d..d3376fa1 100644 --- a/smcc/src/test/java/at/gv/egiz/smcc/File.java +++ b/smcc/src/test/java/at/gv/egiz/smcc/File.java @@ -17,10 +17,14 @@ package at.gv.egiz.smcc; public class File { + public byte[] fid; public byte[] file; public byte[] fcx; public int kid = -1; + + public File() { + } public File(byte[] fid, byte[] file, byte[] fcx) { this.fid = fid; @@ -35,4 +39,62 @@ public class File { this.kid = kid; } + /** + * @return the fid + */ + public byte[] getFid() { + return fid; + } + + /** + * @param fid the fid to set + */ + public void setFid(byte[] fid) { + this.fid = fid; + } + + /** + * @return the file + */ + public byte[] getFile() { + return file; + } + + /** + * @param file the file to set + */ + public void setFile(byte[] file) { + this.file = file; + } + + /** + * @return the fcx + */ + public byte[] getFcx() { + return fcx; + } + + /** + * @param fcx the fcx to set + */ + public void setFcx(byte[] fcx) { + this.fcx = fcx; + } + + /** + * @return the kid + */ + public int getKid() { + return kid; + } + + /** + * @param kid the kid to set + */ + public void setKid(int kid) { + this.kid = kid; + } + + + }
\ No newline at end of file |