jgit/org.eclipse.jgit.junit
Shawn O. Pearce 5c780b387f Fix unit tests using MockSystemReader with user configuation
Since cc905e7d4b "Make Repository.getConfig aware of changed config"
its invalid to have a null result from FileBasedConfig.getFile(), as
the path is used to stat the location on disk before returning the
Config object from Repository.getConfig().

Mock out the isOutdated() method to return false all of the time
in the mock test environment, so we don't crash with an NPE when
this mock user configuration is being called.

Change-Id: I0b4d9cbd346d5dc225ec12674da905c35457fa7c
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2010-04-14 18:39:19 -07:00
..
.settings Fix code formatter style references 2010-01-05 11:47:49 -08:00
META-INF JGit plugin not compatible with Eclipse 3.4 2010-04-05 12:25:06 +02:00
src/org/eclipse/jgit/junit Fix unit tests using MockSystemReader with user configuation 2010-04-14 18:39:19 -07:00
.classpath Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
build.properties Partial revert "Switch build to Apache Felix maven-bundle-plugin" 2010-01-10 15:59:03 +01:00
plugin.properties Correct bundle, provider names to be consistent 2010-01-23 11:42:15 -08:00
pom.xml Qualify builds as 0.8.0 2010-03-20 19:06:58 -07:00