Browse Source

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
tags/jackcess-2.0.1
James Ahlborn 10 years ago
parent
commit
2161dac9a5

+ 2
- 2
src/test/java/com/healthmarketscience/jackcess/PropertiesTest.java View 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();

Loading…
Cancel
Save