diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2013-06-04 03:10:46 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2013-06-04 03:10:46 +0000 |
commit | 741093e3a25d8baab985984b4973e67427e54b7b (patch) | |
tree | a601c6eba24bfc8e13120d7639a893c6f559a7bd /test | |
parent | 52df2373c7bb61b784b3d983c6ee42ae4b1cb030 (diff) | |
download | jackcess-741093e3a25d8baab985984b4973e67427e54b7b.tar.gz jackcess-741093e3a25d8baab985984b4973e67427e54b7b.zip |
add attachment encoding support
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@734 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'test')
-rw-r--r-- | test/src/java/com/healthmarketscience/jackcess/ComplexColumnTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/ComplexColumnTest.java b/test/src/java/com/healthmarketscience/jackcess/ComplexColumnTest.java index 6dbcbed..2122b53 100644 --- a/test/src/java/com/healthmarketscience/jackcess/ComplexColumnTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/ComplexColumnTest.java @@ -189,6 +189,11 @@ public class ComplexColumnTest extends TestCase row8ValFk.addAttachment(null, "test_data.txt", "txt", getFileBytes("test_data.txt"), null, null); checkAttachments(row8ValFk.get(), row8ValFk, "test_data.txt"); + row8ValFk.addDecodedAttachment(null, "test_data2.txt", "txt", + getDecodedFileBytes("test_data2.txt"), null, + null); + checkAttachments(row8ValFk.get(), row8ValFk, "test_data.txt", + "test_data2.txt"); Cursor cursor = Cursor.createCursor(t1); assertTrue(cursor.findFirstRow(t1.getColumn("id"), "row4")); |