]> source.dussan.org Git - jackcess.git/commitdiff
update unit tests to new propertymaps constructor
authorJames Ahlborn <jtahlborn@yahoo.com>
Sat, 12 Oct 2013 12:38:17 +0000 (12:38 +0000)
committerJames Ahlborn <jtahlborn@yahoo.com>
Sat, 12 Oct 2013 12:38:17 +0000 (12:38 +0000)
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@818 f203690c-595d-4dc9-a70b-905162fa7fd2

src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java

index 2670ae7f7573a5ca43bf4b7b6fe804eec3c39abe..e71252ed56ecaec7dad302b8016ac5a9a62cd305 100644 (file)
@@ -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<PropertyMapImpl> iter = maps.iterator();
       Iterator<PropertyMapImpl> iter2 = maps2.iterator();