mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Avoid test execution under headless environment
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="JUnit4" level="project" />
|
||||
<orderEntry type="library" scope="TEST" name="Mocks" level="project" />
|
||||
<orderEntry type="module" module-name="testFramework" scope="TEST" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
||||
+3
@@ -1,5 +1,7 @@
|
||||
package org.jetbrains.plugins.gradle.util;
|
||||
|
||||
import com.intellij.testFramework.SkipInHeadlessEnvironment;
|
||||
import org.jetbrains.plugins.gradle.ui.RichTextControlBuilder;
|
||||
import org.jmock.Expectations;
|
||||
import org.jmock.Mockery;
|
||||
import org.jmock.integration.junit4.JMock;
|
||||
@@ -15,6 +17,7 @@ import org.junit.runner.RunWith;
|
||||
* @since 01/17/2012
|
||||
*/
|
||||
@RunWith(JMock.class)
|
||||
@SkipInHeadlessEnvironment
|
||||
public class RichTextControlBuilderTest {
|
||||
|
||||
private static final String META_KEY = "my-key";
|
||||
|
||||
Reference in New Issue
Block a user