use of org.jetbrains.plugins.ruby.ruby.codeInsight.types.RSymbolType in project intellij-plugins by JetBrains.
the class RubyMotionCodeInsightTest method testSelectorChainType.
public void testSelectorChainType() throws Throwable {
defaultConfigure();
final RType type = RubyTestUtil.getCoveringReferenceType(findPsiBySignature("UIView.alloc.initWith<caret>Frame"));
assertInstanceOf(type, RSymbolType.class);
assertEquals("UIView", ((RSymbolType) type).getSymbol().getName());
}
use of org.jetbrains.plugins.ruby.ruby.codeInsight.types.RSymbolType in project intellij-plugins by JetBrains.
the class RubyMotionCodeInsightTest method testSelectorType.
public void testSelectorType() throws Throwable {
defaultConfigure();
final RType type = RubyTestUtil.getCoveringReferenceType(findPsiBySignature("UIView.al<caret>loc"));
assertInstanceOf(type, RSymbolType.class);
assertEquals("UIView", ((RSymbolType) type).getSymbol().getName());
}
Aggregations