Package org.erlide.core.builder

Examples of org.erlide.core.builder.CompilerOptions.export()


    @Test
    public void test_10() {
        final CompilerOptions prefs = new CompilerOptions();
        prefs.setPathOption(CompilerOption.INCLUDE_DIRS, parseIncludes(""));
        final String actual = prefs.export().toString();
        final String expect = "[" + DEF_VALUES + "]";
        Assert.assertEquals(expect, actual);
    }

    @Test
View Full Code Here


    @Test
    public void test_11() {
        final CompilerOptions prefs = new CompilerOptions();
        prefs.setPathOption(CompilerOption.INCLUDE_DIRS, parseIncludes("/tmp/x"));
        final String actual = prefs.export().toString();
        final String expect = "[{i,\"/tmp/x\"}," + DEF_VALUES + "]";
        Assert.assertEquals(expect, actual);
    }

    @Test
View Full Code Here

    @Test
    public void test_12() {
        final CompilerOptions prefs = new CompilerOptions();
        prefs.setPathOption(CompilerOption.INCLUDE_DIRS, parseIncludes("/tmp/x,/tmp/y"));
        final String actual = prefs.export().toString();
        final String expect = "[{i,\"/tmp/x\"},{i,\"/tmp/y\"}," + DEF_VALUES + "]";
        Assert.assertEquals(expect, actual);
    }

}
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.