aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2020-09-07 16:03:04 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2020-09-07 16:03:04 +0000
commit43d6d9b38f3a7c250a1123afce4ecf89de6f18ce (patch)
tree9588fa65db4957ac9f325c0108511b18f94dda39 /src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
parent8ebcd46751337630d6840de8389e49ab3ce95452 (diff)
downloadjackcess-43d6d9b38f3a7c250a1123afce4ecf89de6f18ce.tar.gz
jackcess-43d6d9b38f3a7c250a1123afce4ecf89de6f18ce.zip
Add more static utility methods to DatabaseBuilder to enable more succinct object construction code using static imports
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@1337 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java6
1 files changed, 3 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 725daa0..3096be3 100644
--- a/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/util/OleBlobTest.java
@@ -66,7 +66,7 @@ public class OleBlobTest extends TestCase
OleBlob blob = null;
try {
- blob = new OleBlob.Builder()
+ blob = t.newBlob()
.setSimplePackage(sampleFile)
.toBlob();
t.addRow(1, blob);
@@ -75,7 +75,7 @@ public class OleBlobTest extends TestCase
}
try {
- blob = new OleBlob.Builder()
+ blob = t.newBlob()
.setLink(sampleFile)
.toBlob();
t.addRow(2, blob);
@@ -84,7 +84,7 @@ public class OleBlobTest extends TestCase
}
try {
- blob = new OleBlob.Builder()
+ blob = t.newBlob()
.setPackagePrettyName("Text File")
.setPackageClassName("Text.File")
.setPackageTypeName("TextFile")