Skip to content

Commit 4ba1dcf

Browse files
committed
Bump scalatest version to 3.2.7
1 parent 90d3171 commit 4ba1dcf

24 files changed

+47
-44
lines changed

build.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ javaOptions in IntegrationTest ++= Seq("-Xss128M")
88

99
fork in IntegrationTest := true
1010

11-
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0-RC3" % "test"
11+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.7"
12+
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.7" % "test"
13+
1214

1315
logBuffered in IntegrationTest := false
1416

src/it/resources/regression/smtlib/solving/cvc4/define_fun2.smt2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(set-option :print-success true)
2-
(set-logic QF_UF)
2+
(set-logic UF)
33
(declare-sort U 0)
44
(declare-fun x0 () U)
55
(declare-fun y0 () U)

src/it/resources/regression/smtlib/solving/cvc4/define_fun3.smt2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(set-option :print-success true)
2-
(set-logic QF_UF)
2+
(set-logic UF)
33
(declare-sort U 0)
44
(declare-fun x0 () U)
55
(declare-fun y0 () U)

src/it/scala/smtlib/it/ProcessInterpreterTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package it
33

44
import scala.sys.process._
55

6-
import org.scalatest.FunSuite
6+
import org.scalatest.funsuite.AnyFunSuite
77

88
import java.io.File
99
import java.io.FileReader
@@ -14,7 +14,7 @@ import printer.RecursivePrinter
1414
import interpreters._
1515

1616

17-
class ProcessInterpreterTests extends FunSuite with TestHelpers {
17+
class ProcessInterpreterTests extends AnyFunSuite with TestHelpers {
1818

1919
//TODO: properly get all interpreters
2020
def interpreters: Seq[Interpreter] = Seq(getZ3Interpreter)

src/it/scala/smtlib/it/SmtLibRunnerTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package it
33

44
import scala.sys.process._
55

6-
import org.scalatest.FunSuite
6+
import org.scalatest.funsuite.AnyFunSuite
77

88
import java.io.File
99
import java.io.FileReader
@@ -21,7 +21,7 @@ import interpreters._
2121
*
2222
* TODO: proper way to display warning when not all tests are run because of not found executables.
2323
*/
24-
class SmtLibRunnerTests extends FunSuite with TestHelpers {
24+
class SmtLibRunnerTests extends AnyFunSuite with TestHelpers {
2525

2626
filesInResourceDir("regression/smtlib/solving/all", _.endsWith(".smt2")).foreach(file => {
2727
if(isZ3Available) {

src/it/scala/smtlib/it/TestHelpers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package it
33

44
import scala.sys.process._
55

6-
import org.scalatest.FunSuite
6+
import org.scalatest.funsuite.AnyFunSuite
77

88
import java.io.File
99
import java.io.FileReader

src/it/scala/smtlib/it/TheoriesBuilderTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package it
33

44
import scala.sys.process._
55

6-
import org.scalatest.FunSuite
6+
import org.scalatest.funsuite.AnyFunSuite
77

88
import java.io.File
99
import java.io.FileReader
@@ -16,7 +16,7 @@ import trees.CommandsResponses._
1616

1717

1818
/** Checks that formula build with theories module are correctly handled by solvers */
19-
class TheoriesBuilderTests extends FunSuite with TestHelpers {
19+
class TheoriesBuilderTests extends AnyFunSuite with TestHelpers {
2020

2121

2222
def mkTest(formula: Term, expectedStatus: Status, prefix: String) = {

src/test/scala/smtlib/common/BinaryTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package smtlib
22
package common
33

4-
import org.scalatest.FunSuite
4+
import org.scalatest.funsuite.AnyFunSuite
55

6-
class BinaryTests extends FunSuite {
6+
class BinaryTests extends AnyFunSuite {
77

88
test("toIntBits works with one bit") {
99
assert(Binary(List(true)).toIntBits === 1)

src/test/scala/smtlib/common/HexadecimalTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package smtlib
22
package common
33

4-
import org.scalatest.FunSuite
4+
import org.scalatest.funsuite.AnyFunSuite
55

6-
class HexadecimalTests extends FunSuite {
6+
class HexadecimalTests extends AnyFunSuite {
77

88
test("Build hexadecimal with one digit string") {
99
val zero = Hexadecimal.fromString("0")

src/test/scala/smtlib/common/LinkedListTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package smtlib.common
22

3-
import org.scalatest.FunSuite
3+
import org.scalatest.funsuite.AnyFunSuite
44

5-
class LinkedListTests extends FunSuite {
5+
class LinkedListTests extends AnyFunSuite {
66

77

88
test("append one element on empty list pop the same element") {

0 commit comments

Comments
 (0)