cryptomator / cryptofs

Java Filesystem Provider with integrated encryption
GNU Affero General Public License v3.0
94 stars 35 forks source link

add Continuation listener parameter to migrators.migrate() method an… #78

Closed infeo closed 4 years ago

infeo commented 4 years ago

…d update test

Some test are still failing:

[ERROR] Failures: 
[ERROR]   MigratorsTest.testMigrate:99 
Argument(s) are different! Wanted:
migrator.migrate(
    Mock for Path, hashCode: 800040885,
    "masterkey.cryptomator",
    "secret",
    Mock for MigrationProgressListener, hashCode: 1663786105
);
-> at org.cryptomator.cryptofs.migration.MigratorsTest.testMigrate(MigratorsTest.java:99)
Actual invocations have different arguments:
migrator.migrate(
    Mock for Path, hashCode: 800040885,
    "masterkey.cryptomator",
    "secret",
    Mock for MigrationProgressListener, hashCode: 1663786105,
    org.cryptomator.cryptofs.migration.MigratorsTest$$Lambda$836/0x00000008004b5440@6a552721
);
-> at org.cryptomator.cryptofs.migration.Migrators.migrate(Migrators.java:110)
[ERROR]   MigratorsTest.testMigrateUnsupportedVaultFormat:112 Expected java.lang.IllegalStateException to be thrown, but nothing was thrown.
overheadhunter commented 4 years ago

Probably obsolete due to a3c999b, isn't it?

infeo commented 4 years ago

That is true :D Thought before i do something else i could relieve some of your work (;

overheadhunter commented 4 years ago

We didn't notice this PR, when we started first integration tests on cryptomator/cryptomator. :(