package org.jetbrains.cabal.parser;

import com.intellij.testFramework.ParsingTestCase;
import org.junit.Test;

public class CabalParsingTest extends ParsingTestCase {
    static {
        System.setProperty("idea.platform.prefix", "Idea");
    }

    public CabalParsingTest() {
        super("cabalParserTests", "cabal", new CaballParserDefinition());
    }

    @Override
    protected String getTestDataPath() {
        return "data";
    }

    @Test
    public void testBool() throws Exception { doTest(true); }

    @Test
    public void testFreeForm() throws Exception { doTest(true); }

    @Test
    public void testFreeLine() throws Exception { doTest(true); }

    @Test
    public void testIdentifier() throws Exception { doTest(true); }

    @Test
    public void testToken() throws Exception { doTest(true); }

    @Test
    public void testSimpleVersion() throws Exception { doTest(true); }

    @Test
    public void testVersionConstraint() throws Exception { doTest(true); }

    @Test
    public void testComplexVersionConstraint() throws Exception { doTest(true); }

    @Test
    public void testFullVersionConstraint() throws Exception { doTest(true); }

    @Test
    public void testSimpleTopLevel() throws Exception { doTest(true); }

    @Test
    public void testSimpleBuildInfo() throws Exception { doTest(true); }

    @Test
    public void testSimpleCondition() throws Exception { doTest(true); }

    @Test
    public void testComplexCondition() throws Exception { doTest(true); }

    @Test
    public void testIfElseSection() throws Exception { doTest(true); }

    @Test
    public void testSimpleOptionalCommaList() throws Exception { doTest(true); }

    @Test
    public void testBenchmark() throws Exception { doTest(true); }

    @Test
    public void testExecutable() throws Exception { doTest(true); }

    @Test
    public void testFlag() throws Exception { doTest(true); }

    @Test
    public void testInvalidField() throws Exception { doTest(true); }

    @Test
    public void testLibrary() throws Exception { doTest(true); }

    @Test
    public void testListInList() throws Exception { doTest(true); }

    @Test
    public void testRepoSource() throws Exception { doTest(true); }

    @Test
    public void testTestSuite() throws Exception { doTest(true); }

    @Test
    public void testEolComment() throws Exception { doTest(true); }
}

@@ -325,17 +325,16 @@
 ew Cabal
-l
 ParserDe

Fix typo