-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
import org.mockito.ArgumentMatcher; | ||
|
||
/** | ||
* JMock constraint to compare tags since it has no equals method. | ||
* Mockito constraint to compare tags since it has no equals method. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ | |
import org.mockito.ArgumentMatcher; | ||
|
||
/** | ||
* Mockito constraint to compare tags since it has no equals method. | ||
* | ||
* @author <a href="mailto:[email protected]">olamy</a> | ||
*/ | ||
public class IsScmBranchParametersEquals implements ArgumentMatcher<ScmBranchParameters> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,9 @@ | |
import org.mockito.ArgumentMatcher; | ||
|
||
/** | ||
* JMock constraint to compare file sets since it has no equals method. | ||
* Mockito constraint to compare file sets since it has no equals method. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @todo add an equals() method | ||
*/ | ||
public class IsScmFileSetEquals implements ArgumentMatcher<ScmFileSet> | ||
{ | ||
|
@@ -55,4 +54,6 @@ public boolean matches( ScmFileSet argument ) | |
throw new RuntimeException(e.getMessage(), e); | ||
} | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,9 @@ | |
import org.mockito.ArgumentMatcher; | ||
|
||
/** | ||
* JMock constraint to compare tags since it has no equals method. | ||
* Mockito constraint to compare tags since it has no equals method. | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @todo add an equals() method | ||
*/ | ||
public class IsScmTagEquals implements ArgumentMatcher<ScmTag> | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ | |
import org.mockito.ArgumentMatcher; | ||
|
||
/** | ||
* Mockito constraint to compare tags since it has no equals method. | ||
* | ||
* @author <a href="mailto:[email protected]">olamy</a> | ||
*/ | ||
public class IsScmTagParametersEquals implements ArgumentMatcher<ScmTagParameters> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,10 @@ | |
import org.apache.maven.model.Scm; | ||
|
||
/** | ||
* Stub for a MavenProject with a flat structure. | ||
* <p/> | ||
* TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set. | ||
* Just overriding the ones I need for this plugin. | ||
* <p>Stub for a MavenProject with a flat structure.</p> | ||
* | ||
* <p>TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set. | ||
* Just overriding the ones I need for this plugin.</p> | ||
* | ||
* @author <a href="mailto:[email protected]">Maria Odea Ching</a> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,12 @@ | |
import org.apache.maven.model.Model; | ||
|
||
/** | ||
* Stub for MavenProject. | ||
* <p/> | ||
* TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set. | ||
* Just overriding the ones I need for this plugin. | ||
* <p>Stub for MavenProject.</p> | ||
* | ||
* <p>TODO: shouldn't need to do this, but the "stub" in the harness just throws away values you set. | ||
* Just overriding the ones I need for this plugin.</p> | ||
* | ||
* @author <a href="mailto:[email protected]">Brett Porter</a> | ||
* @noinspection ClassNameSameAsAncestorName | ||
*/ | ||
public class MavenProjectStub | ||
extends org.apache.maven.plugin.testing.stubs.MavenProjectStub | ||
|