I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bcfc7630 authored by str4d's avatar str4d
Browse files

propagate from branch 'i2p.i2p' (head 166cedda170ef76decb2d53129cfbbf8eba0b7b9)

            to branch 'i2p.i2p.unittests' (head 70175d5dae110f7d3efee256c9169e68f4a83d9f)
parents 70bb81bc 3b7daafa
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class PrivateKeySpec extends FunSpec with ShouldMatchers {
val privateKey = new PrivateKey
describe("A PrivateKey") {
it("should be 256 bytes long") (pending)
it("should be 256 bytes long") {
privateKey should have length (256)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class PublicKeySpec extends FunSpec with ShouldMatchers {
val publicKey = new PublicKey
describe("A PublicKey") {
it("should be 256 bytes long") (pending)
it("should be 256 bytes long") {
publicKey should have length (256)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class SessionKeySpec extends FunSpec with ShouldMatchers {
val sessionKey = new SessionKey
describe("A SessionKey") {
it("should be 32 bytes long") (pending)
it("should be 32 bytes long") {
sessionKey should have length (32)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class SessionTagSpec extends FunSpec with ShouldMatchers {
val sessionTag = new SessionTag
describe("A SessionTag") {
it("should be 32 bytes long") (pending)
it("should be 32 bytes long") {
sessionTag should have length (32)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class SignatureSpec extends FunSpec with ShouldMatchers {
val signature = new Signature
describe("A Signature") {
it("should be 40 bytes long") (pending)
it("should be 40 bytes long") {
signature should have length (40)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class SigningPrivateKeySpec extends FunSpec with ShouldMatchers {
val signingPrivateKey = new SigningPrivateKey
describe("A SigningPrivateKey") {
it("should be 20 bytes long") (pending)
it("should be 20 bytes long") {
signingPrivateKey should have length (20)
}
}
}
......@@ -7,7 +7,11 @@ import org.scalatest.matchers.ShouldMatchers
* @author str4d
*/
class SigningPublicKeySpec extends FunSpec with ShouldMatchers {
val signingPublicKey = new SigningPublicKey
describe("A SigningPublicKey") {
it("should be 128 bytes long") (pending)
it("should be 128 bytes long") {
signingPublicKey should have length (128)
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment