mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[file-history] assume case insensitive fs in test for case-only renames
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user