We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 741c4ac + fbbda54 commit 45c70d0Copy full SHA for 45c70d0
test/org/opensolaris/opengrok/history/FileHistoryCacheTest.java
@@ -18,7 +18,7 @@
18
*/
19
20
/*
21
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
22
23
package org.opensolaris.opengrok.history;
24
@@ -351,7 +351,7 @@ public void testRenamedFile() throws Exception {
351
Repository repo = RepositoryFactory.getRepository(reposRoot);
352
353
// The test expects support for renamed files.
354
- System.setProperty("org.opensolaris.opengrok.history.RenamedHandlingEnabled", "1");
+ RuntimeEnvironment.getInstance().setHandleHistoryOfRenamedFiles(true);
355
356
History historyToStore = repo.getHistory(reposRoot);
357
0 commit comments