Fixing RemoteDuplicatesIndexTest after recent changes.
authorJan Lahoda <jlahoda@netbeans.org>
Tue, 10 Jul 2012 21:56:49 +0200
changeset 82639a5b50f3e10
parent 825 c1664a34b430
child 827 7480f97ad1e0
Fixing RemoteDuplicatesIndexTest after recent changes.
duplicates/ide/impl/test/unit/src/org/netbeans/modules/jackpot30/impl/duplicates/indexing/RemoteDuplicatesIndexTest.java
     1.1 --- a/duplicates/ide/impl/test/unit/src/org/netbeans/modules/jackpot30/impl/duplicates/indexing/RemoteDuplicatesIndexTest.java	Tue Jul 10 21:14:29 2012 +0200
     1.2 +++ b/duplicates/ide/impl/test/unit/src/org/netbeans/modules/jackpot30/impl/duplicates/indexing/RemoteDuplicatesIndexTest.java	Tue Jul 10 21:56:49 2012 +0200
     1.3 @@ -95,6 +95,8 @@
     1.4          TestUtilities.copyStringToFile(data2.createData("T4.java"), "0123456789");
     1.5          
     1.6          TestUtils.addRemoteContent(new URL("test://test/index/duplicates/findDuplicates?hashes=[%0A%20%20%20%20%2200%22,%0A%20%20%20%20%2201%22,%0A%20%20%20%20%2202%22%0A]"), "{ \"00\": { \"foo1\": [ \"T1.java\", \"T2.java\" ], \"foo2\": [ \"T3.java\", \"T4.java\" ] } }");
     1.7 +        TestUtils.addRemoteContent(new URL("test://test/index/info?path=foo1"), "{ }");
     1.8 +        TestUtils.addRemoteContent(new URL("test://test/index/info?path=foo2"), "{ }");
     1.9          RemoteIndex.saveIndices(Arrays.asList(RemoteIndex.create(FileUtil.toFile(data1).toURI().toURL(), new URL("test://test/index"), "foo1"),
    1.10                                                RemoteIndex.create(FileUtil.toFile(data2).toURI().toURL(), new URL("test://test/index"), "foo2")));
    1.11