File tree Expand file tree Collapse file tree 9 files changed +26
-20
lines changed
reactify/src/test/scala/test Expand file tree Collapse file tree 9 files changed +26
-20
lines changed Original file line number Diff line number Diff line change 11# reactify
22
3- [ ![ Build Status] ( https://travis-ci.org/outr/reactify.svg?branch=master )] ( https://travis-ci.org/outr/reactify )
4- [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/759324d19db5496dbd9867b4a113c806 )] ( https://www.codacy.com/app/matthicks/reactify?utm_source=github.com& ; utm_medium=referral& ; utm_content=outr/reactify& ; utm_campaign=Badge_Grade )
5- [ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Coverage/759324d19db5496dbd9867b4a113c806 )] ( https://www.codacy.com/app/matthicks/reactify?utm_source=github.com&utm_medium=referral&utm_content=outr/reactify&utm_campaign=Badge_Coverage )
3+ [ ![ CI] ( https://github.com/outr/reactify/actions/workflows/ci.yml/badge.svg )] ( https://github.com/outr/reactify/actions/workflows/ci.yml )
64[ ![ Gitter] ( https://badges.gitter.im/Join%20Chat.svg )] ( https://gitter.im/outr/reactify )
75[ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/com.outr/reactify_2.12/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/com.outr/reactify_2.12 )
86[ ![ Latest version] ( https://index.scala-lang.org/outr/reactify/reactify/latest.svg )] ( https://index.scala-lang.org/outr/reactify )
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify ._
56import reactify .bind .Binding
67
78import scala .language .implicitConversions
89
9- class BindingSpec extends Spec {
10+ class BindingSpec extends AnyWordSpec with Matchers {
1011 " Bindings" when {
1112 " dealing with a simple binding" should {
1213 val a = Var [String ](" a" )
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify .Channel
56
67import scala .language .implicitConversions
78
8- class ChannelSpec extends Spec {
9+ class ChannelSpec extends AnyWordSpec with Matchers {
910 " Channels" should {
1011 " notify when changed" in {
1112 var changes = 0
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify ._
56
67import scala .collection .mutable .ListBuffer
78import scala .language .implicitConversions
89
9- class DepSpec extends Spec {
10+ class DepSpec extends AnyWordSpec with Matchers {
1011 " Deps" should {
1112 val width : Var [Double ] = Var (0.0 )
1213
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify ._
56
67import scala .language .implicitConversions
78
8- class DepSpecialSpec extends Spec {
9+ class DepSpecialSpec extends AnyWordSpec with Matchers {
910 " Deps Special Use-Cases" when {
1011 " combining Ints" should {
1112 " do simple addition" in {
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify .Var
56import reactify .transaction .Transaction
7+
68import scala .language .implicitConversions
79
8- class TransactionSpec extends Spec {
10+ class TransactionSpec extends AnyWordSpec with Matchers {
911 " Transactions" should {
1012 " support undoing" in {
1113 val v = Var (" One" )
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify .Trigger
56
67import scala .language .implicitConversions
78
8- class TriggerSpec extends Spec {
9+ class TriggerSpec extends AnyWordSpec with Matchers {
910 " Triggers" should {
1011 " handle simple invocations" in {
1112 val t = Trigger ()
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify ._
56
67import scala .language .implicitConversions
78
8- class ValSpec extends Spec {
9+ class ValSpec extends AnyWordSpec with Matchers {
910 " Vals" should {
1011 " contain the proper value" in {
1112 val v = Val (5 )
Original file line number Diff line number Diff line change 11package test
22
3- import testy ._
3+ import org .scalatest .matchers .should .Matchers
4+ import org .scalatest .wordspec .AnyWordSpec
45import reactify ._
56import reactify .group .VarGroup
67
78import scala .collection .mutable .ListBuffer
8-
99import scala .language .implicitConversions
1010
11- class VarSpec extends Spec {
11+ class VarSpec extends AnyWordSpec with Matchers {
1212 lazy val lazyDouble : Var [Double ] = Var (0.0 )
1313
1414 " Vars" should {
You can’t perform that action at this time.
0 commit comments