Remove Tabs, per Jococo
[aaf/authz.git] / misc / env / src / test / java / org / onap / aaf / misc / env / jaxb / JU_StoreImplTest.java
index 39d4306..22c209c 100644 (file)
@@ -45,104 +45,104 @@ import org.onap.aaf.misc.env.TimeTaken;
 
 @RunWith(MockitoJUnitRunner.class) 
 public class JU_StoreImplTest {
-       
-       @Mock
-       QName qname;
-       
-       @Mock
-       Env env;
-       
-       TimeTaken tt,ttstringify;
-       
-       LogTarget logT;
-       
-       @Before
-       public void setUp() {
-               initMocks(this);
-               tt=Mockito.mock(TimeTaken.class);
-       Mockito.doReturn(tt).when(env).start("JAXB Marshal", Env.XML);
-               Mockito.doNothing().when(tt).done();
-               logT = Mockito.mock(LogTarget.class);
-               Mockito.doReturn(logT).when(env).debug();
-       }
+    
+    @Mock
+    QName qname;
+    
+    @Mock
+    Env env;
+    
+    TimeTaken tt,ttstringify;
+    
+    LogTarget logT;
+    
+    @Before
+    public void setUp() {
+        initMocks(this);
+        tt=Mockito.mock(TimeTaken.class);
+        Mockito.doReturn(tt).when(env).start("JAXB Marshal", Env.XML);
+        Mockito.doNothing().when(tt).done();
+        logT = Mockito.mock(LogTarget.class);
+        Mockito.doReturn(logT).when(env).debug();
+    }
 
-       @Test
+    @Test
     public void testPropsFromArgs() {
-               StoreImpl bdfObj = new StoreImpl();
-               bdfObj = new StoreImpl("");
-               bdfObj.propsFromArgs(null, new String[] {"test"});
-               bdfObj.propsFromArgs("test", new String[] {"test","te=st","test=1"});
-       
+        StoreImpl bdfObj = new StoreImpl();
+        bdfObj = new StoreImpl("");
+        bdfObj.propsFromArgs(null, new String[] {"test"});
+        bdfObj.propsFromArgs("test", new String[] {"test","te=st","test=1"});
+        
     }
-       
-       @Test
+    
+    @Test
     public void testMorePropsConstructor() {
-               Properties props = Mockito.mock(Properties.class);
-               new StoreImpl(null,props);
-               StoreImpl bdfObj = new StoreImpl("test",props);
+        Properties props = Mockito.mock(Properties.class);
+        new StoreImpl(null,props);
+        StoreImpl bdfObj = new StoreImpl("test",props);
     }
-       
-       @Test
+    
+    @Test
     public void testMorePropsFileNOtExists() {
-               Properties props = Mockito.mock(Properties.class);
-               Mockito.doReturn("test").when(props).getProperty("test");
-               StoreImpl bdfObj = new StoreImpl("test",props);
+        Properties props = Mockito.mock(Properties.class);
+        Mockito.doReturn("test").when(props).getProperty("test");
+        StoreImpl bdfObj = new StoreImpl("test",props);
     }
-       
-       @Test
+    
+    @Test
     public void testMorePropsExists() {
-               Properties props = Mockito.mock(Properties.class);
-               Mockito.doReturn(System.getProperty("user.dir")+"/src/test/java/org/onap/aaf/misc/env/JU_StoreImplTest.java").when(props).getProperty("test");
-               StoreImpl bdfObj = new StoreImpl("test",props);
+        Properties props = Mockito.mock(Properties.class);
+        Mockito.doReturn(System.getProperty("user.dir")+"/src/test/java/org/onap/aaf/misc/env/JU_StoreImplTest.java").when(props).getProperty("test");
+        StoreImpl bdfObj = new StoreImpl("test",props);
     }
-       
-       @Test
+    
+    @Test
     public void testNewTransState() {
-               StoreImpl bdfObj = new StoreImpl(null, new String[] {});
-               bdfObj.newTransState();
-       }
-       
-       @Test
+        StoreImpl bdfObj = new StoreImpl(null, new String[] {});
+        bdfObj.newTransState();
+    }
+    
+    @Test
     public void testSlot() {
-               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);
+    }
 }