Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scalatest to 3.2.2 #340

Merged
merged 1 commit into from
Sep 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ val refinedVersion = "0.9.15"
val scalacheckShapelessVersion = "1.2.5"
val scalajsJqueryVersion = "1.0.0"
val scalajsReactVersion = "1.7.5"
val scalaTestVersion = "3.0.8"
val scalaTestVersion = "3.2.2"
val specs2Version = "4.10.3"
val webjarJqueryVersion = "3.3.1"
val webjarReactVersion = "16.7.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package kartograffel

import org.scalatest.FunSuite
import org.scalatest.funsuite.AnyFunSuite

class ClientSpec extends FunSuite {
class ClientSpec extends AnyFunSuite {
test("run main") {
//Client.main(Array.empty)
true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package kartograffel.server.domain.model

import io.circe.testing.CodecTests
import io.circe.testing.instances._
import org.scalatest.FunSuite
import org.typelevel.discipline.scalatest.Discipline

import kartograffel.server.ArbitraryInstances._
import org.scalatest.funsuite.AnyFunSuite

class GraffelSpec extends FunSuite with Discipline {
class GraffelSpec extends AnyFunSuite with Discipline {
checkAll("Graffel", CodecTests[Graffel].codec)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package kartograffel.server.domain.model

import io.circe.testing.CodecTests
import io.circe.testing.instances._
import org.scalatest.FunSuite
import org.typelevel.discipline.scalatest.Discipline

import kartograffel.server.ArbitraryInstances._
import org.scalatest.funsuite.AnyFunSuite

class TagTest extends FunSuite with Discipline {
class TagTest extends AnyFunSuite with Discipline {
checkAll("Tag", CodecTests[Tag].codec)
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package kartograffel.server.infrastructure.doobie.repository
import org.scalatest.{FunSuite, Matchers}
import kartograffel.server.ArbitraryInstances._
import kartograffel.server.domain.model.Graffel
import kartograffel.server.infrastructure.doobie.DbSpecification._
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers

class DbGraffelRepositoryTest extends FunSuite with Matchers {
class DbGraffelRepositoryTest extends AnyFunSuite with Matchers {
test("findByPosition") {
val g = sampleOf[Graffel]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import kartograffel.server.ArbitraryInstances._
import kartograffel.server.domain.model.Radius.LengthRange
import kartograffel.server.domain.model._
import kartograffel.server.infrastructure.doobie.DbSpecification._
import org.scalatest.{FunSuite, Matchers}
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers

class DbTagRepositoryTest extends FunSuite with Matchers {
class DbTagRepositoryTest extends AnyFunSuite with Matchers {
test("create") {
val graffel = sampleOf[Graffel]
val tag = sampleOf[Tag].copy(graffelId = graffel.id)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package kartograffel.server.infrastructure.doobie.service
import eu.timepit.refined.refineMV
import org.scalatest.{FunSuite, Matchers}
import kartograffel.server.ArbitraryInstances._
import kartograffel.server.domain.model.Radius.LengthRange
import kartograffel.server.domain.model.{kilometer, Radius}
import kartograffel.server.infrastructure.doobie.DbSpecification._
import kartograffel.shared.domain.model.Position
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers

class DbGraffelServiceTest extends FunSuite with Matchers {
class DbGraffelServiceTest extends AnyFunSuite with Matchers {
test("create") {
val name = sampleOf[String]
val pos = sampleOf[Position]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package kartograffel.server.infrastructure.doobie.statements
import org.scalatest.FunSuite
import kartograffel.server.infrastructure.doobie.DbSpecification._
import kartograffel.server.ArbitraryInstances._
import kartograffel.server.domain.model.{Graffel, GraffelId}
import kartograffel.shared.domain.model.Position
import org.scalatest.funsuite.AnyFunSuite

class GraffelStatementsTest extends FunSuite {
class GraffelStatementsTest extends AnyFunSuite {
test("create") {
check(GraffelStatements.create(sampleOf[Graffel]))
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package kartograffel.server.infrastructure.doobie.statements
import org.scalatest.FunSuite
import kartograffel.server.infrastructure.doobie.DbSpecification._
import kartograffel.server.ArbitraryInstances._
import kartograffel.server.domain.model.{GraffelId, Radius, Tag}
import kartograffel.shared.domain.model.Position
import org.scalatest.funsuite.AnyFunSuite

class TagStatementsTest extends FunSuite {
class TagStatementsTest extends AnyFunSuite {
test("find") {
check(TagStatements.find(sampleOf[String], sampleOf[GraffelId]))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package kartograffel.shared.domain.model

import io.circe.testing.CodecTests
import io.circe.testing.instances._
import org.scalatest.FunSuite
import org.typelevel.discipline.scalatest.Discipline

import kartograffel.shared.SharedArbitraryInstances._
import org.scalatest.funsuite.AnyFunSuite

class PositionSpec extends FunSuite with Discipline {
class PositionSpec extends AnyFunSuite with Discipline {
checkAll("Position", CodecTests[Position].codec)
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package kartograffel.shared.ui.model
import io.circe.testing.CodecTests
import org.scalatest.FunSuite

import io.circe.testing.instances._
import org.typelevel.discipline.scalatest.Discipline

import kartograffel.shared.SharedArbitraryInstances._
import org.scalatest.funsuite.AnyFunSuite

class TagViewSpec extends FunSuite with Discipline {
class TagViewSpec extends AnyFunSuite with Discipline {
checkAll("TagView", CodecTests[TagView].codec)
}