[file-history] assume case insensitive fs in test for case-only renames

This commit is contained in:
Julia Beliaeva
2018-10-02 22:59:56 +03:00
parent eefb23628e
commit 5d9d2f544c
@@ -2,6 +2,7 @@
package com.intellij.vcs.log.history
import com.intellij.openapi.util.Couple
import com.intellij.openapi.util.SystemInfo
import com.intellij.openapi.vcs.FilePath
import com.intellij.openapi.vcs.LocalFilePath
import com.intellij.util.containers.MultiMap
@@ -17,6 +18,7 @@ import com.intellij.vcs.log.graph.impl.facade.FilteredController
import gnu.trove.THashMap
import gnu.trove.TIntObjectHashMap
import org.junit.Assert
import org.junit.Assume.assumeFalse
import org.junit.Ignore
import org.junit.Test
@@ -233,6 +235,8 @@ class FileHistoryTest {
@Test
fun historyWithCyclicCaseOnlyRenames() {
assumeFalse("Case insensitive fs is required", SystemInfo.isFileSystemCaseSensitive)
val lowercasePath = LocalFilePath("file.txt", false)
val uppercasePath = LocalFilePath("FILE.TXT", false)
val mixedPath = LocalFilePath("FiLe.TxT", false)