use of org.jetbrains.plugins.ruby.motion.symbols.FunctionSymbol in project intellij-plugins by JetBrains.
the class RubyMotionLightFixtureTestCase method checkResolveToObjC.
protected void checkResolveToObjC(final String signature, final String fqn) {
final PsiReference ref = findReferenceBySignature(signature);
final Symbol symbol = RubyTestUtil.resolveToSymbol(ref);
TestCase.assertTrue(symbol instanceof MotionClassSymbol || symbol instanceof FunctionSymbol);
TestCase.assertEquals(fqn, symbol.getFQNWithNesting().getFullPath());
}
Aggregations