5859606162636465666768
Directory eclipseDir = eclipseVar.dirAt("eclipse"); infoAction("dirs"); info("Preparing directories."); eclipseDir.deleteContents(); if (options.download) { download(server, eclipseVar); }
5051525354555657585960
@BeforeClass public void setUp() { RioDirsUserSettings user = dirs.userSettings(); Directory core = user.core(); core.deleteContents(); } public void user_name_get() { String[] args = FakeArgs.of("config", "user.name", "xpto");
4849505152535455565758
} @Override protected void execute0(KdoEclipseInstallOptions options) { Directory eclipseInstall = dirs.eclipseInstall(); eclipseInstall.deleteContents(); Directory kdo = dirs.kdo(); File file = options.getEclipseFile(kdo);
8081828384858687888990
infoAction("dirs"); info("Preparing directories."); Directory userVar = dirs.userVar(); Directory rioVar = userVar.dirAt("rio"); rioVar.deleteContents(); rioVar.dirAt("usr/bin"); rioVar.dirAt("usr/lib64/rio"); infoAction("download");
7980818283848586878889
3839404142434445464748
private Etcs etcs; @BeforeClass public void setUp() { Directory core = userSettings.core(); core.deleteContents(); } public void user_name_get() { execute("config", "user.name", "xpto"); execute("config", "user.name");
5253545556575859606162
@Override protected void execute0(KdoEclipsePrepareOptions options) { URL url = options.getKeplerUrl(); Directory eclipseVar = dirs.eclipseVar(); eclipseVar.deleteContents(); File file = options.getKeplerFile(eclipseVar); Rio.copy(url, file); }
3738394041424344454647
private UserSettings userSettings; @BeforeClass public void reset() { Directory core = userSettings.core(); core.deleteContents(); } public void add() { Workstations before = readEtc(Workstations.class); assertThat(before.size(), equalTo(0));