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
9 changed files
with
207 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package blinky.v0 | ||
|
||
import blinky.TestSpec | ||
|
||
class MutatorTest extends TestSpec { | ||
|
||
"Collections" should { | ||
|
||
"return the correct ListApply 'symbolsToMatch'" in { | ||
Mutator.Collections.ListApply.symbolsToMatch mustEqual | ||
Seq( | ||
"scala/collection/immutable/List.", | ||
"scala/package.List." | ||
) | ||
} | ||
|
||
"return the correct SeqApply 'symbolsToMatch'" in { | ||
Mutator.Collections.SeqApply.symbolsToMatch mustEqual | ||
Seq( | ||
"scala/collection/Seq.", | ||
"scala/collection/mutable/Seq.", | ||
"scala/collection/immutable/Seq.", | ||
"scala/package.Seq." | ||
) | ||
} | ||
|
||
"return the correct SetApply 'symbolsToMatch'" in { | ||
Mutator.Collections.SetApply.symbolsToMatch mustEqual | ||
Seq( | ||
"scala/Predef.Set.", | ||
"scala/collection/mutable/Set.", | ||
"scala/collection/immutable/Set.", | ||
"scala/package.Set." | ||
) | ||
} | ||
|
||
"return the correct Reverse 'symbolsToMatch'" in { | ||
Mutator.Collections.ReverseSymbols mustEqual | ||
Seq( | ||
"scala/collection/SeqLike#reverse().", | ||
"scala/collection/immutable/List#reverse().", | ||
"scala/collection/IndexedSeqOptimized#reverse().", | ||
"scala/collection/SeqOps#reverse().", | ||
"scala/collection/IndexedSeqOps#reverse().", | ||
"scala/collection/ArrayOps#reverse().", | ||
"scala/collection/StringOps#reverse()." | ||
) | ||
} | ||
|
||
} | ||
|
||
} |
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