aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java b/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
index 3a1cc05..250d433 100644
--- a/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
@@ -101,8 +101,7 @@ public class OleBlobTest extends TestCase
for(Row row : t) {
try {
- blob = OleBlob.Builder.fromInternalData(
- row.getBytes("ole"));
+ blob = row.getBlob("ole");
OleBlob.Content content = blob.getContent();
assertSame(blob, content.getBlob());
assertSame(content, blob.getContent());
@@ -171,7 +170,7 @@ public class OleBlobTest extends TestCase
try {
String name = row.getString("name");
- oleBlob = OleBlob.Builder.fromInternalData(row.getBytes("ole_data"));
+ oleBlob = row.getBlob("ole_data");
OleBlob.Content content = oleBlob.getContent();
Attachment attach = null;
if(content.getType() != OleBlob.ContentType.LINK) {