diff options
author | Chris Price <chris@puppetlabs.com> | 2015-07-07 13:06:50 +0100 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2015-07-10 00:56:58 +0200 |
commit | 37a1e4beaa9e31e642be3aef645f060eb96b1b86 (patch) | |
tree | 95fed7f09e83a81399aa88cacc5fde8a471ad81c /org.eclipse.jgit.test | |
parent | ad16eaac6ebc6daa994a6dbdccb687094485c36f (diff) | |
download | jgit-37a1e4beaa9e31e642be3aef645f060eb96b1b86.tar.gz jgit-37a1e4beaa9e31e642be3aef645f060eb96b1b86.zip |
Move `RepositoryTestCase.indexState` to parent class
The test helper method `indexState` in `RepositoryTestCase` is
very useful for writing tests, even in cases where we need to
do things like create more than one repository for a test and
thus we don't want to use the built-in `db` member variable that
exists in `RepositoryTestCase`. Since the method is static,
we can move it up to the parent class `LocalDiskRepositoryTestCase`,
where it can be used by tests that aren't a great fit for inheriting
directly from `RepositoryTestCase`.
Bug: 436200
Change-Id: I2b6de75c001d2d77ddb607488af246548784a67f
Signed-off-by: Chris Price <chris@puppetlabs.com>
Diffstat (limited to 'org.eclipse.jgit.test')
0 files changed, 0 insertions, 0 deletions