mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests fixed
This commit is contained in:
@@ -345,7 +345,7 @@ public class XmlCompletionTest extends LightCodeInsightFixtureTestCase {
|
||||
}
|
||||
|
||||
public void testInsertExtraRequiredAttributeSingleQuote() throws Exception {
|
||||
final CodeStyleSettings settings = CodeStyleSchemes.getInstance().getCurrentScheme().getCodeStyleSettings();
|
||||
final CodeStyleSettings settings = getCurrentCodeStyleSettings();
|
||||
final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE;
|
||||
try {
|
||||
settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.Single;
|
||||
@@ -357,7 +357,7 @@ public class XmlCompletionTest extends LightCodeInsightFixtureTestCase {
|
||||
}
|
||||
|
||||
public void testInsertExtraRequiredAttributeNoneQuote() throws Exception {
|
||||
final CodeStyleSettings settings = CodeStyleSchemes.getInstance().getCurrentScheme().getCodeStyleSettings();
|
||||
final CodeStyleSettings settings = getCurrentCodeStyleSettings();
|
||||
final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE;
|
||||
try {
|
||||
settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.None;
|
||||
|
||||
@@ -100,7 +100,7 @@ public class XmlTypedHandlersTest extends LightPlatformCodeInsightFixtureTestCas
|
||||
}
|
||||
|
||||
public void testSingleQuotes() {
|
||||
final CodeStyleSettings settings = CodeStyleSchemes.getInstance().getCurrentScheme().getCodeStyleSettings();
|
||||
final CodeStyleSettings settings = getCurrentCodeStyleSettings();
|
||||
final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE;
|
||||
try {
|
||||
settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.Single;
|
||||
@@ -113,7 +113,7 @@ public class XmlTypedHandlersTest extends LightPlatformCodeInsightFixtureTestCas
|
||||
}
|
||||
|
||||
public void testNoneQuotes() {
|
||||
final CodeStyleSettings settings = CodeStyleSchemes.getInstance().getCurrentScheme().getCodeStyleSettings();
|
||||
final CodeStyleSettings settings = getCurrentCodeStyleSettings();
|
||||
final CodeStyleSettings.QuoteStyle quote = settings.HTML_QUOTE_STYLE;
|
||||
try {
|
||||
settings.HTML_QUOTE_STYLE = CodeStyleSettings.QuoteStyle.None;
|
||||
|
||||
Reference in New Issue
Block a user