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

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

propagate from branch 'i2p.i2p' (head 4b264686657ff54a00224313e00de68d37edbd31)

            to branch 'i2p.i2p.unittests' (head 63cf9916eca4b38ab0707cd781c308312e27d75f)
parents 8bbab318 bcfc7630
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