@@ -70,16 +70,18 @@ public void testHDRoot () throws IOException, JSONException, ValidationException
7070 assertTrue (key .getReadOnly ().serialize (true ).equals (test .getString ("public" )));
7171 assertTrue (EncryptedHDRoot .encode (seed , birth ).equals (test .getString ("clear" )));
7272 assertTrue (EncryptedHDRoot .encrypt (seed , birth , test .getString ("password" ), ScryptDifficulty .LOW ).equals (test .getString ("encryptedLow" )));
73- assertTrue (EncryptedHDRoot .encrypt (seed , birth , test .getString ("password" ), ScryptDifficulty .MEDIUM ).equals (test .getString
74- ("encryptedMedium" )));
75- assertTrue (EncryptedHDRoot .encrypt (seed , birth , test .getString ("password" ), ScryptDifficulty .HIGH ).equals (test .getString ("encryptedHigh" )));
73+ // Travis can not run these as they need lots of memory. Uncomment if curious
74+ // assertTrue (EncryptedHDRoot.encrypt (seed, birth, test.getString ("password"), ScryptDifficulty.MEDIUM).equals (test.getString
75+ // ("encryptedMedium")));
76+ // assertTrue (EncryptedHDRoot.encrypt (seed, birth, test.getString ("password"), ScryptDifficulty.HIGH).equals (test.getString ("encryptedHigh")));
7677 assertTrue (EncryptedHDRoot .decode (test .getString ("clear" )).serialize (true ).equals (key .serialize (true )));
7778 assertTrue (EncryptedHDRoot .decrypt (test .getString ("encryptedLow" ), test .getString ("password" )).serialize (true ).equals (key .serialize
7879 (true )));
79- assertTrue (EncryptedHDRoot .decrypt (test .getString ("encryptedMedium" ), test .getString ("password" )).serialize (true )
80- .equals (key .serialize (true )));
81- assertTrue (EncryptedHDRoot .decrypt (test .getString ("encryptedHigh" ), test .getString ("password" )).serialize (true )
82- .equals (key .serialize (true )));
80+ // Travis can not run these as they need lots of memory. Uncomment if curious
81+ // assertTrue (EncryptedHDRoot.decrypt (test.getString ("encryptedMedium"), test.getString ("password")).serialize (true)
82+ // .equals (key.serialize (true)));
83+ // assertTrue (EncryptedHDRoot.decrypt (test.getString ("encryptedHigh"), test.getString ("password")).serialize (true)
84+ // .equals (key.serialize (true)));
8385 }
8486 }
8587}
0 commit comments