@Test public void testDefault_inKaraf() throws Exception { File dir = this.folder.newFolder(); try { System.setProperty( "karaf.data", dir.getAbsolutePath()); this.mngr = new ConfigurationMngrImpl(); Assert.assertEquals( new File( dir, "roboconf" ), this.mngr.getWorkingDirectory()); } finally { System.setProperty( "karaf.data", "" ); } }
@Override public File getWorkingDirectory() { return this.workingDirectory; }
ConfigurationMngrImpl implements IConfigurationMngr { @Override public File getWorkingDirectory() { return this.workingDirectory; } }
ConfigurationMngrImpl implements IConfigurationMngr { @Override public File getWorkingDirectory() { return this.workingDirectory; } ConfigurationMngrImpl(); }
ConfigurationMngrImpl implements IConfigurationMngr { @Override public File getWorkingDirectory() { return this.workingDirectory; } ConfigurationMngrImpl(); @Override File getWorkingDirectory(); @Override void setWorkingDirectory( File workingDirectory ); @Override File findIconFromPath( String urlPath ); }
ConfigurationMngrImpl implements IConfigurationMngr { @Override public File getWorkingDirectory() { return this.workingDirectory; } ConfigurationMngrImpl(); @Override File getWorkingDirectory(); @Override void setWorkingDirectory( File workingDirectory ); @Override File findIconFromPath( String urlPath );  }