- StoreImpl bdfObj = new StoreImpl("test", new String[] {});
- Slot slot = bdfObj.slot(null);
- assertEquals(slot.toString(),"=0");
- slot = bdfObj.slot("test");
- assertEquals(slot.toString(),"test=1");
- }
-
- @Test
- public void testExistingSlot() {
- StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
- Slot retVal = bdfObj.existingSlot("test");
- assertNull(retVal);
- }
-
- @Test
- public void testExistingSlotNames() {
- StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
- List<String> retVal = bdfObj.existingSlotNames();
- assertTrue(retVal.size()==0);
- }
-
- @Test
- public void testGet() {
- StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
- Object retVal = bdfObj.get(new StaticSlot(1,"test"),qname);
- assertTrue(retVal instanceof QName);
- }
-
- @Test
- public void testGetSlot() {
- StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
- Object retVal = bdfObj.get(new StaticSlot(1,"test"));
- assertNull(retVal);
- }
-
- @Test
- public void testExistingStaticSlotNames() {
- StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
- List<String> retVal = bdfObj.existingStaticSlotNames();
- assertTrue(retVal.size()==1);
- }
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {});
+ Slot slot = bdfObj.slot(null);
+ assertEquals(slot.toString(),"=0");
+ slot = bdfObj.slot("test");
+ assertEquals(slot.toString(),"test=1");
+ }
+
+ @Test
+ public void testExistingSlot() {
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
+ Slot retVal = bdfObj.existingSlot("test");
+ assertNull(retVal);
+ }
+
+ @Test
+ public void testExistingSlotNames() {
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
+ List<String> retVal = bdfObj.existingSlotNames();
+ assertTrue(retVal.size()==0);
+ }
+
+ @Test
+ public void testGet() {
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
+ Object retVal = bdfObj.get(new StaticSlot(1,"test"),qname);
+ assertTrue(retVal instanceof QName);
+ }
+
+ @Test
+ public void testGetSlot() {
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
+ Object retVal = bdfObj.get(new StaticSlot(1,"test"));
+ assertNull(retVal);
+ }
+
+ @Test
+ public void testExistingStaticSlotNames() {
+ StoreImpl bdfObj = new StoreImpl("test", new String[] {"test","test=1"});
+ List<String> retVal = bdfObj.existingStaticSlotNames();
+ assertTrue(retVal.size()==1);
+ }