-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test classes for actors and routes
- Loading branch information
Showing
9 changed files
with
48 additions
and
5 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
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/actors/BlockActorTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.actors | ||
|
||
class BlockActorTest { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/actors/BlockchainActorTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.actors | ||
|
||
class BlockchainActorTest { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/actors/TransactionActorTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.actors | ||
|
||
class TransactionActorTest { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/routes/BlockRoutesTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.routes | ||
|
||
class BlockRoutesTest { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/routes/BlockchainRoutesTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.routes | ||
|
||
class BlockchainRoutesTest { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
src/test/scala/com/fluency03/blockchain/api/routes/TransactionRoutesTest.scala
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,5 @@ | ||
package com.fluency03.blockchain.api.routes | ||
|
||
class TransactionRoutesTest { | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
src/test/scala/com/fluency03/blockchain/api/utils/GenericMessageTest.scala
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,12 @@ | ||
package com.fluency03.blockchain.api.utils | ||
|
||
import com.fluency03.blockchain.api.utils.GenericMessage.Response | ||
import org.scalatest.{FlatSpec, Matchers} | ||
|
||
class GenericMessageTest extends FlatSpec with Matchers { | ||
|
||
"A Response" should "contain " in { | ||
Response("Response test.").message shouldEqual "Response test." | ||
} | ||
|
||
} |