A B C F G 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
assertEquals(byte[], byte[]) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
author - Variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
A fake (but stable) identity for author fields in the test.

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

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
 
committer - Variable in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
A fake (but stable) identity for committer fields in the test.
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.
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
 
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.

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.

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
 
getenv(String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
getHostname() - 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
 
getTestResourceFile(String) - Static method in class org.eclipse.jgit.junit.JGitTestUtil
 
getTimezone(long) - Method in class org.eclipse.jgit.junit.MockSystemReader
 

J

JGitTestUtil - Class in org.eclipse.jgit.junit
 

L

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
 

M

message(String) - 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
 

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
 
parseBody(T) - Method in class org.eclipse.jgit.junit.TestRepository
Ensure the body of the given object has been parsed.

R

read(File) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Fully read a UTF-8 file and return as a string.
recursiveDelete(File) - Method in class org.eclipse.jgit.junit.LocalDiskRepositoryTestCase
Recursively delete a directory, failing the test if the delete fails.
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().
setProperty(String, String) - Method in class org.eclipse.jgit.junit.MockSystemReader
 
setUp() - Method 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
Increment the LocalDiskRepositoryTestCase.author and LocalDiskRepositoryTestCase.committer times.
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.
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(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.

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

Copyright © 2011. All Rights Reserved.