A B C D E F G I J L M N O P R S T U W 

A

add(String, String) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
add(String, RevBlob) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
addRepoToClose(Repository) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Adds a repository to the list of repositories which is closed at the end of the tests
amend(AnyObjectId) - Method in class org.eclipse.jgit.junit.TestRepository
Amend an existing commit.
amendRef(String) - Method in class org.eclipse.jgit.junit.TestRepository
Amend an existing ref.
Assert - Class in org.eclipse.jgit.junit
 
Assert() - Constructor for class org.eclipse.jgit.junit.Assert
 
assertEquals(boolean, boolean) - Static method in class org.eclipse.jgit.junit.Assert
 
assertEquals(String, boolean, boolean) - Static method in class org.eclipse.jgit.junit.Assert
 
assertEquals(byte[], byte[]) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
assertEqualsFile(File, File) - Static method in class org.eclipse.jgit.junit.RepositoryTestCase
 
ASSUME_UNCHANGED - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
author - Variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
A fake (but stable) identity for author fields in the test.
author(PersonIdent) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
author() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 

B

blob(String) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new blob object in the repository.
blob(byte[]) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new blob object in the repository.
branch(String) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new branch builder for this repository.

C

check(Repository, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
check(String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
checkFile(File, String) - Static method in class org.eclipse.jgit.junit.RepositoryTestCase
 
checkoutBranch(String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
cherryPick(AnyObjectId) - Method in class org.eclipse.jgit.junit.TestRepository
Cherry-pick a commit onto HEAD.
child() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
CLASSPATH_TO_RESOURCES - Static variable in class org.eclipse.jgit.junit.JGitTestUtil
 
clearProperties() - Method in class org.eclipse.jgit.junit.MockSystemReader
 
commit() - Method in class org.eclipse.jgit.junit.TestRepository.BranchBuilder
 
commit(RevCommit...) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new commit.
commit(RevTree, RevCommit...) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new commit.
commit(int, RevCommit...) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new commit.
commit(int, RevTree, RevCommit...) - Method in class org.eclipse.jgit.junit.TestRepository
Create a new commit.
commit() - Method in class org.eclipse.jgit.junit.TestRepository
 
commitFile(String, String, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
Commit a file with the specified contents on the specified branch, creating the branch if it didn't exist before.
committer - Variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
A fake (but stable) identity for committer fields in the test.
committer(PersonIdent) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
committer() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
CONTENT - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
CONTENT_ID - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
copyFile(File, File) - Static method in class org.eclipse.jgit.junit.RepositoryTestCase
 
copyTestResource(String, File) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
create() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
createBareRepository() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Creates a new empty bare repository.
createBranch(ObjectId, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
createEntry(String, FileMode) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
createEntry(String, FileMode, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
createEntry(String, FileMode, int, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
createTempDirectory(String) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Creates a unique directory for a test
createTempFile() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Allocates a new unique file path that does not exist.
createUniqueTestGitDir(boolean) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Creates a new unique directory for a test repository
createWorkRepository() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Creates a new empty repository within a new empty working directory.

D

db - Variable in class org.eclipse.jgit.junit.RepositoryTestCase
Test repository, initialized for this test case.
deleteTrashFile(Repository, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
deleteTrashFile(String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 

E

edit(DirCacheEditor.PathEdit) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 

F

file(String, RevBlob) - Method in class org.eclipse.jgit.junit.TestRepository
Construct a regular file mode tree entry.
fsck(RevObject...) - Method in class org.eclipse.jgit.junit.TestRepository
Run consistency checks against the object database.
fsTick(File) - Static method in class org.eclipse.jgit.junit.RepositoryTestCase
Waits until it is guaranteed that a subsequent file modification has a younger modification timestamp than the modification timestamp of the given file.

G

get(RevTree, String) - Method in class org.eclipse.jgit.junit.TestRepository
Lookup an entry stored in a tree, failing if not present.
getCeilings() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
getClock() - Method in class org.eclipse.jgit.junit.TestRepository
 
getCurrentTime() - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getDateTimeInstance(int, int) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getenv(String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getHostname() - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getLocale() - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getName() - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
getProperty(String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getRepository() - Method in class org.eclipse.jgit.junit.TestRepository
 
getRevWalk() - Method in class org.eclipse.jgit.junit.TestRepository
 
getSimpleDateFormat(String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getTemporaryDirectory() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
getTestResourceFile(String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
getTimezone(long) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getTimeZone() - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getTimeZone() - Method in class org.eclipse.jgit.junit.TestRepository
 
git() - Method in class org.eclipse.jgit.junit.TestRepository
 

I

ident(PersonIdent) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
indexState(Repository, int) - Static method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Represent the state of the index in one String.
indexState(int) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
Represent the state of the index in one String.
insertChangeId() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
insertChangeId(String) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 

J

JGitTestUtil - Class in org.eclipse.jgit.junit
 

L

LENGTH - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
lightweightTag(String, ObjectId) - Method in class org.eclipse.jgit.junit.TestRepository
Tag an object using a lightweight tag.
LocalDiskRepositoryTestCase - Class in org.eclipse.jgit.junit
JUnit TestCase with specialized support for temporary local repository.
LocalDiskRepositoryTestCase() - Constructor for class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
lookup(Object, String, Map<Object, String>) - Static method in class org.eclipse.jgit.junit.RepositoryTestCase
Helper method to map arbitrary objects to user-defined names.

M

message(String) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
message() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
MockSystemReader - Class in org.eclipse.jgit.junit
 
MockSystemReader() - Constructor for class org.eclipse.jgit.junit.MockSystemReader
 
MOD_TIME - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 

N

nextBytes(int) - Method in class org.eclipse.jgit.junit.TestRng
Get the next cnt bytes of random data.
nextInt() - Method in class org.eclipse.jgit.junit.TestRng
 
noFiles() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
noParents() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 

O

openSystemConfig(Config, FS) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
openUserConfig(Config, FS) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
org.eclipse.jgit.junit - package org.eclipse.jgit.junit
 

P

packAndPrune() - Method in class org.eclipse.jgit.junit.TestRepository
Pack all reachable objects in the repository into a single pack file.
parent(RevCommit) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
parents() - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
parseBody(T) - Method in class org.eclipse.jgit.junit.TestRepository
Ensure the body of the given object has been parsed.

R

read(File) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
Fully read a UTF-8 file and return as a string.
read(Repository, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
read(File) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
read(String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
recursiveDelete(File) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Recursively delete a directory, failing the test if the delete fails.
RepositoryTestCase - Class in org.eclipse.jgit.junit
Base class for most JGit unit tests.
RepositoryTestCase() - Constructor for class org.eclipse.jgit.junit.RepositoryTestCase
 
reset(AnyObjectId) - Method in class org.eclipse.jgit.junit.TestRepository
Soft-reset HEAD to a detached state.
reset(String) - Method in class org.eclipse.jgit.junit.TestRepository
Soft-reset HEAD to a different commit.
resetIndex(FileTreeIterator) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
Resets the index to represent exactly some filesystem content.
rm(String) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
runHook(Repository, File, String...) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Run a hook script in the repository, returning the exit status.

S

setAuthorAndCommitter(CommitBuilder) - Method in class org.eclipse.jgit.junit.TestRepository
Set the author and committer using TestRepository.getClock().
setCurrentPlatform() - Method in class org.eclipse.jgit.junit.MockSystemReader
Assign some properties for the currently executing platform
setProperty(String, String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
setTopLevelTree(ObjectId) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
setUnix() - Method in class org.eclipse.jgit.junit.MockSystemReader
Emulate Unix
setUp() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
setUp() - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
setWindows() - Method in class org.eclipse.jgit.junit.MockSystemReader
Emulate Windows
SMUDGE - Static variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 

T

tag(String, RevObject) - Method in class org.eclipse.jgit.junit.TestRepository
Construct an annotated tag object pointing at another object.
tearDown() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
 
TestRepository<R extends Repository> - Class in org.eclipse.jgit.junit
Wrapper to make creating test data easier.
TestRepository(R) - Constructor for class org.eclipse.jgit.junit.TestRepository
Wrap a repository with test building tools.
TestRepository(R, RevWalk) - Constructor for class org.eclipse.jgit.junit.TestRepository
Wrap a repository with test building tools.
TestRepository.BranchBuilder - Class in org.eclipse.jgit.junit
Helper to build a branch with one or more commits
TestRepository.CommitBuilder - Class in org.eclipse.jgit.junit
Helper to generate a commit.
TestRng - Class in org.eclipse.jgit.junit
Toy RNG to ensure we get predictable numbers during unit tests.
TestRng(String) - Constructor for class org.eclipse.jgit.junit.TestRng
Create a new random number generator, seeded by a string.
tick() - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
tick(int) - Method in class org.eclipse.jgit.junit.TestRepository.CommitBuilder
 
tick(int) - Method in class org.eclipse.jgit.junit.TestRepository
Adjust the current time that will used by the next commit.
trash - Variable in class org.eclipse.jgit.junit.RepositoryTestCase
Working directory of RepositoryTestCase.db.
tree(DirCacheEntry...) - Method in class org.eclipse.jgit.junit.TestRepository
Construct a tree from a specific listing of file entries.

U

update(TestRepository<R>.CommitBuilder) - Method in class org.eclipse.jgit.junit.TestRepository.BranchBuilder
Forcefully update this branch to a particular commit.
update(RevCommit) - Method in class org.eclipse.jgit.junit.TestRepository.BranchBuilder
Forcefully update this branch to a particular commit.
update(String, TestRepository<R>.CommitBuilder) - Method in class org.eclipse.jgit.junit.TestRepository
Update a reference to point to an object.
update(String, T) - Method in class org.eclipse.jgit.junit.TestRepository
Update a reference to point to an object.
updateServerInfo() - Method in class org.eclipse.jgit.junit.TestRepository
Update the dumb client server info files.

W

write(File, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
Write a string as a UTF-8 file.
write(String) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Create a string to a UTF-8 temporary file and return the path.
write(File, String) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Write a string as a UTF-8 file.
writeTrashFile(Repository, String, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
writeTrashFile(Repository, String, String, String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
writeTrashFile(String, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
writeTrashFile(String, String, String) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
 
writeTrashFiles(boolean, String...) - Method in class org.eclipse.jgit.junit.RepositoryTestCase
Writes a number of files in the working tree.
A B C D E F G I J L M N O P R S T U W 

Copyright © 2015 Eclipse JGit Project. All rights reserved.