File tree Expand file tree Collapse file tree 3 files changed +3
-33
lines changed
src/test/scala/org/mutabilitydetector/scalaclient Expand file tree Collapse file tree 3 files changed +3
-33
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ scalaVersion := "2.11.5"
6
6
7
7
resolvers += " Local Maven Repository" at Path .userHome.asURL + " /.m2/repository"
8
8
9
- libraryDependencies += " junit" % " junit-dep" % " 4.8 " % " test"
9
+ libraryDependencies += " junit" % " junit-dep" % " 4.11 " % " test"
10
10
11
- libraryDependencies += " org.scalatest" %% " scalatest" % " 2.4 .5" % " test"
11
+ libraryDependencies += " org.scalatest" %% " scalatest" % " 2.2 .5" % " test"
12
12
13
- libraryDependencies += " org.mutabilitydetector" % " MutabilityDetector" % " 0.10 -SNAPSHOT" % " test"
13
+ libraryDependencies += " org.mutabilitydetector" % " MutabilityDetector" % " 0.9.4 -SNAPSHOT" % " test"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,32 +10,8 @@ import org.mutabilitydetector.unittesting.MutabilityAssert._
10
10
@ RunWith (classOf [JUnitRunner ])
11
11
class ImmutabilityTests extends FunSuite with ShouldMatchers {
12
12
13
- test(" non final case class" ) {
14
- assertImmutable(classOf [CaseClass ])
15
- }
16
-
17
13
test(" final case class" ) {
18
14
assertImmutable(classOf [FinalCaseClass ])
19
15
}
20
16
21
- test(" final immutable class" ) {
22
- assertImmutable(classOf [ImmutableClass ])
23
- }
24
-
25
- test(" final mutable class with reassignable fields" ) {
26
- assertImmutable(classOf [ReassignableFields ])
27
- }
28
-
29
- test(" final immutable class with immutable list field" ) {
30
- assertImmutable(classOf [ImmutableWithListField ])
31
- }
32
-
33
- test(" scala.collection.immutable.List - abstract" ) {
34
- assertImmutable(classOf [scala.collection.immutable.List [_]])
35
- }
36
-
37
- test(" non final case class with immutable fields" ) {
38
- MutabilityAssert .assertImmutable(classOf [SomeCaseClass ])
39
-
40
- }
41
17
}
You can’t perform that action at this time.
0 commit comments