mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove primitive test
This commit is contained in:
@@ -33,14 +33,11 @@ import com.intellij.testFramework.PlatformTestUtil;
|
||||
import com.jetbrains.jsonSchema.ide.JsonSchemaAnnotator;
|
||||
import com.jetbrains.jsonSchema.ide.JsonSchemaService;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.Assert;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/**
|
||||
* @author Irina.Chernushina on 9/21/2015.
|
||||
@@ -381,11 +378,6 @@ public class JsonSchemaHighlightingTest extends DaemonAnalyzerTestCase {
|
||||
testImpl(schema, wrongText);
|
||||
}
|
||||
|
||||
public void testRegexp() throws Exception {
|
||||
final Matcher matcher = Pattern.compile("^(\\([0-9]{3}\\))?[0-9]{3}-[0-9]{4}$").matcher("(112)555-1212");
|
||||
Assert.assertTrue(matcher.matches());
|
||||
}
|
||||
|
||||
public void testRootObjectRedefinedAdditionalPropertiesForbidden() throws Exception {
|
||||
testImpl(rootObjectRedefinedSchema(), "{<warning descr=\"Property 'a' is not allowed\">\"a\": true</warning>," +
|
||||
"\"r1\": \"allowed!\"}");
|
||||
|
||||
Reference in New Issue
Block a user