Permalink
Browse files

Make FitNesseSuite.initContext() static.

  • Loading branch information...
amolenaar committed Jan 25, 2014
1 parent 105072f commit 37a5aa0020799e88e42c6b57fd86e8237867b21e
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/fitnesse/junit/FitNesseSuite.java
@@ -287,14 +287,15 @@ protected void runPages(List<WikiPage>pages, final RunNotifier notifier) {
return new SuiteContentsFinder(suiteRoot, new fitnesse.testrunner.SuiteFilter(suiteFilter, excludeSuiteFilter), context.root).getAllPagesToRunForThisSuite();
}
- private FitNesseContext initContext(File configFile, String rootPath, String fitNesseRoot, int port) throws IOException, PluginException {
+ static FitNesseContext initContext(File configFile, String rootPath, String fitNesseRoot, int port) throws IOException, PluginException {
ContextConfigurator contextConfigurator = ContextConfigurator.systemDefaults()
.updatedWith(System.getProperties())
.updatedWith(ConfigurationParameter.loadProperties(configFile))
.updatedWith(ConfigurationParameter.makeProperties(
ConfigurationParameter.PORT, port,
ConfigurationParameter.ROOT_PATH, rootPath,
- ConfigurationParameter.ROOT_DIRECTORY, fitNesseRoot));
+ ConfigurationParameter.ROOT_DIRECTORY, fitNesseRoot,
+ ConfigurationParameter.OMITTING_UPDATES, true));
return contextConfigurator.makeFitNesseContext();
}

0 comments on commit 37a5aa0

Please sign in to comment.