@Override public void before() throws Throwable { super.before(); }
@Override protected void before() throws Throwable { super.before(); originalPropertyValue = System.setProperty(propertyName, getRoot().getCanonicalPath()); }
@Override protected void before() throws Throwable { super.before(); originalPropertyValue = System.setProperty(propertyName, getRoot().getCanonicalPath()); }
protected void before() throws Throwable { super.before(); output = tmpDir.getRoot(); env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath()); } };
protected void before() throws Throwable { super.before(); output = tmpDir.getRoot(); env.put(ToolConstants.CFG_OUTPUTDIR, output.getCanonicalPath()); } };
@Override public void before() throws Throwable { super.before(); Thread.currentThread().setContextClassLoader( classLoader ); }
/** * Starts an embedded server with {@link #start()} and calls {@link #scaffold(CentralDogma)}. */ @Override protected void before() throws Throwable { super.before(); start(); final CentralDogma client = this.client; assert client != null; scaffold(client); }
@Override protected void before() throws Throwable { super.before(); if (transDir == null) { transDir = getRoot(); } }
@Override protected void before() throws Throwable { super.before(); Realm.init(InstrumentationRegistry.getTargetContext()); }
/** * Configures an {@link Executor}, {@link ProjectManager} and {@link CommandExecutor}, then starts the * {@link CommandExecutor} and initializes internal projects. */ @Override protected final void before() throws Throwable { super.before(); final Executor worker = newWorker(); projectManager = newProjectManager(worker); executor = newCommandExecutor(projectManager, worker); executor.start().get(); ProjectInitializer.initializeInternalProject(executor); afterExecutorStarted(); }
@Override protected void before() throws Throwable { super.before(); final MagnoliaConfigurationProperties magnoliaConfigurationProperties = new TestMagnoliaConfigurationProperties("magnolia.resources.dir", getRoot().getPath()); this.resourceOrigin = new CustomFileSystemResourceOrigin(magnoliaConfigurationProperties, mock(DirectoryWatcherService.class), name); }