From 8eae113fb8720c0957c574df884c1f75e14bdb3f Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Wed, 11 Aug 2010 13:12:41 +0400 Subject: [PATCH] separating jsp --- .../psi/optimizeImports/EmptyImportInJsp.jsp | 1 - .../optimizeImports/EmptyImportInJsp_after.jsp | 1 - .../psi/optimizeImports/UsageInCustomTag.jsp | 4 ---- .../optimizeImports/UsageInCustomTag_after.jsp | 4 ---- .../com/intellij/psi/OptimizeImportsTest.java | 16 +++++++++++++++- 5 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp.jsp delete mode 100644 java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp_after.jsp delete mode 100644 java/java-tests/testData/psi/optimizeImports/UsageInCustomTag.jsp delete mode 100644 java/java-tests/testData/psi/optimizeImports/UsageInCustomTag_after.jsp diff --git a/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp.jsp b/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp.jsp deleted file mode 100644 index 9062b95b1832..000000000000 --- a/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp.jsp +++ /dev/null @@ -1 +0,0 @@ -<%@ page autoFlush="true" import="java.util.List" %> diff --git a/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp_after.jsp b/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp_after.jsp deleted file mode 100644 index 1edc87122114..000000000000 --- a/java/java-tests/testData/psi/optimizeImports/EmptyImportInJsp_after.jsp +++ /dev/null @@ -1 +0,0 @@ -<%@ page autoFlush="true" %> diff --git a/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag.jsp b/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag.jsp deleted file mode 100644 index 92dfb608cd5d..000000000000 --- a/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag.jsp +++ /dev/null @@ -1,4 +0,0 @@ - -<%@ page import="java.util.List" %> - - diff --git a/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag_after.jsp b/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag_after.jsp deleted file mode 100644 index 92dfb608cd5d..000000000000 --- a/java/java-tests/testData/psi/optimizeImports/UsageInCustomTag_after.jsp +++ /dev/null @@ -1,4 +0,0 @@ - -<%@ page import="java.util.List" %> - - diff --git a/java/java-tests/testSrc/com/intellij/psi/OptimizeImportsTest.java b/java/java-tests/testSrc/com/intellij/psi/OptimizeImportsTest.java index 7bfc6c089d44..7da6db49e7b6 100644 --- a/java/java-tests/testSrc/com/intellij/psi/OptimizeImportsTest.java +++ b/java/java-tests/testSrc/com/intellij/psi/OptimizeImportsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2000-2010 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 com.intellij.psi; import com.intellij.openapi.application.ApplicationManager; @@ -18,7 +33,6 @@ public class OptimizeImportsTest extends PsiTestCase{ public void testSCR6138() throws Exception { doTest(); } public void testSCR18364() throws Exception { doTest(); } - public void testEmptyImportInJsp() throws Exception { doTest(".jsp"); } public void testStaticImports1() throws Exception { doTest(); } public void testStaticImportsToOptimize() throws Exception { doTest(); } public void testStaticImportsToOptimize2() throws Exception { doTest(); }