-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bumped version of java-diff-utils (#64)
* bumped version of java-diff-utils, killing some mutants * predictable order * doc fix
- Loading branch information
1 parent
8209e44
commit 8fa205c
Showing
12 changed files
with
223 additions
and
13 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
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
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
53 changes: 53 additions & 0 deletions
53
assert/assert-core/src/test/java/com/mastercard/test/flow/assrt/mock/AltTestContext.java
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
package com.mastercard.test.flow.assrt.mock; | ||
|
||
import java.util.Collections; | ||
import java.util.Set; | ||
|
||
import com.mastercard.test.flow.Actor; | ||
import com.mastercard.test.flow.Context; | ||
import com.mastercard.test.flow.assrt.TestModel.Actors; | ||
|
||
/** | ||
* Trivial {@link Context} implementation to use in tests. Crucially, this is a | ||
* different class from {@link TestContext} | ||
*/ | ||
public class AltTestContext implements Context { | ||
|
||
private String value; | ||
|
||
/** | ||
* @return context value | ||
*/ | ||
public String value() { | ||
return value; | ||
} | ||
|
||
/** | ||
* @param v context value | ||
* @return <code>this</code> | ||
*/ | ||
public AltTestContext value( String v ) { | ||
value = v; | ||
return this; | ||
} | ||
|
||
@Override | ||
public String name() { | ||
return "AltTestContext"; | ||
} | ||
|
||
@Override | ||
public Set<Actor> domain() { | ||
return Collections.singleton( Actors.B ); | ||
} | ||
|
||
@Override | ||
public Context child() { | ||
return new AltTestContext().value( value ); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "AltTestContext[" + value + "]"; | ||
} | ||
} |
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
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
Oops, something went wrong.