remove primitive test

This commit is contained in:
irengrig
2017-02-06 11:05:32 +01:00
parent aeed5fd524
commit bb76cc04d4
@@ -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!\"}");