|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.scm.provider.git.gitexe.command.blame.GitBlameConsumerTest
public class GitBlameConsumerTest
Test the GitBlameConsumer
in various different situations.
Depending on the underlying operating system we might get
slightly different output from a
git blamecommandline invocation.
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
basedir, container |
Constructor Summary | |
---|---|
GitBlameConsumerTest()
|
Method Summary | |
---|---|
void |
testConsumer()
|
void |
testConsumerCompareWithOriginal()
This unit test compares the output of our new parsing with a simplified git blame output. |
void |
testConsumerEasy()
|
void |
testConsumerEmptyFile()
Test what happens if a git-blame command got invoked on a file which has no content. |
void |
testConsumerOnNewFile()
Test what happens if a git-blame command got invoked on a file which didn't got added to the git repo yet. |
void |
testConsumerWithDifferentAuthor()
Test a case where the committer and author are different persons |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GitBlameConsumerTest()
Method Detail |
---|
public void testConsumerEasy() throws Exception
Exception
public void testConsumer() throws Exception
Exception
public void testConsumerEmptyFile() throws Exception
Exception
public void testConsumerOnNewFile() throws Exception
Exception
public void testConsumerWithDifferentAuthor() throws Exception
Exception
public void testConsumerCompareWithOriginal() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |