From 36f6dad18a6a59910cb9f82bbcd543fd14a0da70 Mon Sep 17 00:00:00 2001 From: Sergey Evdokimov Date: Thu, 5 Apr 2012 12:30:13 +0400 Subject: [PATCH] Delete incorrect test. --- .../plugins/sql/MavenSqlInjectionTest.groovy | 83 ------------------- 1 file changed, 83 deletions(-) delete mode 100644 plugins/maven/src/test/java/org/jetbrains/idea/maven/plugins/sql/MavenSqlInjectionTest.groovy diff --git a/plugins/maven/src/test/java/org/jetbrains/idea/maven/plugins/sql/MavenSqlInjectionTest.groovy b/plugins/maven/src/test/java/org/jetbrains/idea/maven/plugins/sql/MavenSqlInjectionTest.groovy deleted file mode 100644 index 5e0e3252b430..000000000000 --- a/plugins/maven/src/test/java/org/jetbrains/idea/maven/plugins/sql/MavenSqlInjectionTest.groovy +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Copyright 2000-2012 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.jetbrains.idea.maven.plugins.sql - -import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase -import gnu.trove.THashSet -import gnu.trove.TObjectHashingStrategy -import com.intellij.util.text.CaseInsensitiveStringHashingStrategy - -/** - * @author Sergey Evdokimov - */ -class MavenSqlInjectionTest extends LightCodeInsightFixtureTestCase { - - public void testCompletion() { - myFixture.configureByText("pom.xml", """ - - - 4.0.0 - - simpleMaven - simpleMaven - 1.0 - - jar - - - - - org.codehaus.mojo - sql-maven-plugin - 1.0 - - - groovy-magic - package - - execute - - - - - - - - - - - org.apache.ant - ant-nodeps - 1.8.0 - - - - - - - -""") - - myFixture.completeBasic() - - def lookups = myFixture.lookupElementStrings - lookups = new THashSet(lookups, CaseInsensitiveStringHashingStrategy.INSTANCE) - assert lookups.containsAll(["select", "update", "delete"]) - } - -}