Examples of ErlangUnboundVariableInspection


Examples of org.intellij.erlang.inspection.ErlangUnboundVariableInspection

    map.put("B", (ErlangQVar) ErlangElementFactory.createQVarFromText(getProject(), "B"));
    file.putUserData(ErlangVarProcessor.ERLANG_VARIABLE_CONTEXT, map);
    myFile = file;
    myEditor = createEditor(file.getVirtualFile());
    assert myEditor != null;
    enableInspectionTool(new ErlangUnboundVariableInspection());
    doDoTest(true, false);
    String testName = getTestName(false);
    assertEquals(FileUtil.loadFile(new File(getTestDataPath() + testName + ".txt"), true), DebugUtil.psiToString(file, false));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.