From c8140917779179af3653748a9dfbcd510f3c021a Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Wed, 7 Mar 2018 20:20:52 +0300 Subject: [PATCH] move jsp tests into java ee tests group --- .../StructuralReplaceTestCase.java | 2 +- .../StructuralSearchTestCase.java | 18 ++------------- .../psi/formatter/FormatterTestCase.java | 23 ++++--------------- 3 files changed, 7 insertions(+), 36 deletions(-) diff --git a/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTestCase.java b/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTestCase.java index ab7b4e5bd26c..9f3a6230ef1e 100644 --- a/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTestCase.java +++ b/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTestCase.java @@ -11,7 +11,7 @@ import com.intellij.structuralsearch.plugin.replace.ReplaceOptions; import java.io.File; import java.io.IOException; -abstract class StructuralReplaceTestCase extends LightQuickFixTestCase { +public abstract class StructuralReplaceTestCase extends LightQuickFixTestCase { protected ReplaceOptions options; @Override diff --git a/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralSearchTestCase.java b/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralSearchTestCase.java index 6325b5d463da..8864da307c29 100644 --- a/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralSearchTestCase.java +++ b/platform/structuralsearch/testSource/com/intellij/structuralsearch/StructuralSearchTestCase.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2017 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. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.structuralsearch; import com.intellij.codeInsight.daemon.quickFix.LightQuickFixTestCase; @@ -28,7 +14,7 @@ import java.io.File; import java.io.IOException; import java.util.List; -abstract class StructuralSearchTestCase extends LightQuickFixTestCase { +public abstract class StructuralSearchTestCase extends LightQuickFixTestCase { protected MatchOptions options; protected Matcher testMatcher; diff --git a/platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java b/platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java index 5edc3bf6dfd9..8694c18b5bee 100644 --- a/platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java +++ b/platform/testFramework/src/com/intellij/psi/formatter/FormatterTestCase.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2014 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. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.formatter; import com.intellij.application.options.CodeStyle; @@ -58,14 +44,13 @@ public abstract class FormatterTestCase extends LightPlatformTestCase { protected EditorImpl myEditor; protected PsiFile myFile; - enum CheckPolicy { - - PSI(true, false),DOCUMENT(false, true),BOTH(true, true); + public enum CheckPolicy { + PSI(true, false), DOCUMENT(false, true), BOTH(true, true); private final boolean myCheckPsi; private final boolean myCheckDocument; - private CheckPolicy(boolean checkPsi, boolean checkDocument) { + CheckPolicy(boolean checkPsi, boolean checkDocument) { myCheckDocument = checkDocument; myCheckPsi = checkPsi; }