v203: Disable BlazeCppAutoImportHelperTest.sameDirectory_importUserHeader
@@ -18,6 +18,7 @@ package com.google.idea.blaze.cpp;
import static com.google.common.truth.Truth.assertThat;
import com.google.common.collect.Iterables;
+import com.intellij.openapi.application.ApplicationInfo;
import com.jetbrains.cidr.lang.psi.OCFile;
import com.jetbrains.cidr.lang.psi.OCReferenceElement;
import com.jetbrains.cidr.lang.quickfixes.OCImportSymbolFix;
@@ -61,8 +62,12 @@ public class BlazeCppAutoImportHelperTest extends BlazeCppResolvingTestCase {
AutoImportItem importItem = getAutoImportItem(file, "SomeClass*");
assertThat(importItem.getTitleAndLocation().getFirst()).isEqualTo("class 'SomeClass'");
+
+ // TODO(b/183949133): In v203, we get `test.h` instead of `foo/bar/test.h`
+ if (ApplicationInfo.getInstance().getBuild().getBaselineVersion() < 203) {
assertThat(importItem.getTitleAndLocation().getSecond()).isEqualTo("\"foo/bar/test.h\"");
}
+ }
@Test
public void differentDirectory_importUserHeader() {
