@Test public void getWorkingDirectory() { File file = new File("/foo/biz/bat"); when(hudson.getRootDir()).thenReturn(file); assertEquals(file, system.getWorkingDirectory()); }
public File getWorkingDirectory() { return getHudson().getRootDir(); }
SystemServiceImpl extends ServiceSupport implements SystemService { public File getWorkingDirectory() { return getHudson().getRootDir(); } }
SystemServiceImpl extends ServiceSupport implements SystemService { public File getWorkingDirectory() { return getHudson().getRootDir(); } @Inject  SystemServiceImpl(final SecurityService securityService); }
SystemServiceImpl extends ServiceSupport implements SystemService { public File getWorkingDirectory() { return getHudson().getRootDir(); } @Inject  SystemServiceImpl(final SecurityService securityService); File getInstallationDirectory(); File getLogDirectory(); File getWorkingDirectory(); XmlFile getConfigFile(); String getUrl(); String getVersion(); InitMilestone getInitLevel(); boolean isQuietingDown(); boolean isTerminating(); String getSystemMessage(); void doQuietDown(); void doQuietDown(boolean toggle); void doCancelQuietDown(); void doReload(); void doRestart(boolean safely); void doRestart(); void doRestartSafely(); }
SystemServiceImpl extends ServiceSupport implements SystemService { public File getWorkingDirectory() { return getHudson().getRootDir(); } @Inject  SystemServiceImpl(final SecurityService securityService); File getInstallationDirectory(); File getLogDirectory(); File getWorkingDirectory(); XmlFile getConfigFile(); String getUrl(); String getVersion(); InitMilestone getInitLevel(); boolean isQuietingDown(); boolean isTerminating(); String getSystemMessage(); void doQuietDown(); void doQuietDown(boolean toggle); void doCancelQuietDown(); void doReload(); void doRestart(boolean safely); void doRestart(); void doRestartSafely();  }