From: James Ahlborn Date: Sat, 12 Oct 2013 12:38:17 +0000 (+0000) Subject: update unit tests to new propertymaps constructor X-Git-Tag: jackcess-2.0.1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2161dac9a5904e60f1c0d24ef3c73447238e9ddc;p=jackcess.git update unit tests to new propertymaps constructor git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@818 f203690c-595d-4dc9-a70b-905162fa7fd2 --- diff --git a/src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java b/src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java index 2670ae7..e71252e 100644 --- a/src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java +++ b/src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java @@ -48,7 +48,7 @@ public class PropertiesTest extends TestCase public void testPropertyMaps() throws Exception { - PropertyMaps maps = new PropertyMaps(10, null); + PropertyMaps maps = new PropertyMaps(10, null, null); assertTrue(maps.isEmpty()); assertEquals(0, maps.getSize()); assertFalse(maps.iterator().hasNext()); @@ -224,7 +224,7 @@ public class PropertiesTest extends TestCase byte[] mapsBytes = maps.write(); PropertyMaps maps2 = ((DatabaseImpl)db).readProperties( - mapsBytes, maps.getObjectId()); + mapsBytes, maps.getObjectId(), null); Iterator iter = maps.iterator(); Iterator iter2 = maps2.iterator();