mil.dod.th.ose.time.service/test/mil/dod/th/ose/time/service/logging/TestTimeChangeServiceLogger.java
@Test
    public void testSetupLoggerCustomLoc()
    {
        File file = new File(CUSTOM_LOG_DIR);
        if (!file.exists())
        {
            file.mkdirs();
        }
        
        TimeChangeServiceLogger.setupLogger(CUSTOM_LOG_DIR);
        
        File customFile = new File(CUSTOM_LOG_LOCATION);
        assertThat(customFile.exists(), is(true));
    }
/**
     * Test that logger is setup to write to a custom location.
     */
Test that logger is setup to write to a custom location.
Test that logger is setup to write to a custom location .
@Test
    public void testSetupLoggerCustomLoc()
    {
        File file = new File(CUSTOM_LOG_DIR);
        if (!file.exists())
        {
            file.mkdirs();
        }
        TimeChangeServiceLogger.setupLogger(CUSTOM_LOG_DIR);
        File customFile = new File(CUSTOM_LOG_LOCATION);
        assertThat(customFile.exists(), is(true));
    }
@ Test public void testSetupLoggerCustomLoc ( ) { File file = new File ( CUSTOM_LOG_DIR ) ; if ( ! file . exists ( ) ) { file . mkdirs ( ) ; } TimeChangeServiceLogger . setupLogger ( CUSTOM_LOG_DIR ) ; File customFile = new File ( CUSTOM_LOG_LOCATION ) ; assertThat ( customFile . exists ( ) , is ( true ) ) ; }
Test that logger is setup to write to a custom location.
Test that logger is setup to write to a custom location .