From f72126361934bb5dbdc0145f59a402a5e41375d1 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 1 Jul 2010 02:13:50 +0400 Subject: [PATCH] Fix project encoding in Convert to Basic Latin intention test --- .../codeInsight/intention/ConvertToBasicLatinTest.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/intention/ConvertToBasicLatinTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/intention/ConvertToBasicLatinTest.java index 68a7eebb6085..3f9cc1c6907e 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/intention/ConvertToBasicLatinTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/intention/ConvertToBasicLatinTest.java @@ -14,18 +14,11 @@ * limitations under the License. */ -/* - * Created by IntelliJ IDEA. - * User: mike - * Date: Aug 22, 2002 - * Time: 2:58:42 PM - * To change template for new class use - * Code Style | Class Templates options (Tools | IDE Options). - */ package com.intellij.codeInsight.intention; import com.intellij.JavaTestUtil; import com.intellij.codeInsight.CodeInsightBundle; +import com.intellij.openapi.vfs.encoding.EncodingProjectManager; import com.intellij.testFramework.fixtures.CodeInsightTestUtil; import com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase; @@ -38,6 +31,7 @@ public class ConvertToBasicLatinTest extends JavaCodeInsightFixtureTestCase { public void setUp() throws Exception { super.setUp(); myIntention = CodeInsightBundle.message("intention.convert.to.basic.latin"); + EncodingProjectManager.getInstance().setDefaultCharsetName("UTF-8"); } public void testConvertCharLiteral() throws Exception {