use of com.intellij.refactoring.actions.InlineAction in project android by JetBrains.
the class AndroidInlineStyleTest method doCommonInlineAction.
private AndroidInlineTestConfig doCommonInlineAction(boolean inlineThisOnly) {
final AndroidInlineTestConfig config = new AndroidInlineTestConfig(inlineThisOnly);
AndroidInlineStyleHandler.setTestConfig(config);
try {
final Presentation p = myFixture.testAction(new InlineAction());
assertTrue(p.isEnabled());
assertTrue(p.isVisible());
} finally {
AndroidInlineStyleHandler.setTestConfig(null);
}
return config;
}
Aggregations