Package org.intellij.grammar.expression

Source Code of org.intellij.grammar.expression.ExpressionParserTest

package org.intellij.grammar.expression;

import com.intellij.lang.LanguageBraceMatching;
import org.intellij.grammar.AbstractParsingTestCase;
import org.intellij.grammar.BnfBraceMatcher;

/**
* @author gregsh
*/
public class ExpressionParserTest extends AbstractParsingTestCase {
  public ExpressionParserTest() {
    super("parser/expression", "expr", new ExpressionParserDefinition());
  }

  @Override
  protected void setUp() throws Exception {
    super.setUp();
    addExplicitExtension(LanguageBraceMatching.INSTANCE, myLanguage, new BnfBraceMatcher());
  }

  public void testSimple() { doTest(true); }

}
TOP

Related Classes of org.intellij.grammar.expression.ExpressionParserTest

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.