mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Skip WSL test on non-Windows
It touches advapi that doesn't exist in non-win GitOrigin-RevId: b9a0d57f73726d7d17ee7c859d108b498f556000
This commit is contained in:
committed by
intellij-monorepo-bot
parent
55bbdd4d37
commit
1024c402b9
+9
@@ -2,11 +2,15 @@
|
||||
package com.intellij.execution.wsl;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.SystemInfoRt;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.testFramework.ServiceContainerUtil;
|
||||
import com.intellij.testFramework.fixtures.TestFixtureRule;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.Assume;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -18,6 +22,11 @@ public final class WslDistributionManagerTest {
|
||||
@Rule
|
||||
public final TestFixtureRule myTestFixtureRule = new TestFixtureRule();
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
Assume.assumeTrue(SystemInfoRt.isWindows);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void caseInsensitiveDistributionName() {
|
||||
String ubuntuName = "Ubuntu";
|
||||
|
||||
Reference in New Issue
Block a user