Package org.erlide.core.builder.CompilerOption

Examples of org.erlide.core.builder.CompilerOption.BooleanOption


        Assert.assertEquals(WarningOption.class, option.getClass());
    }

    @Test
    public void testToTerm_1() {
        final BooleanOption option = CompilerOption.WARN_EXPORT_ALL;
        final OtpErlangObject actual = option.toTerm(true);
        final String expected = "warn_export_all";
        Assert.assertEquals(expected, actual.toString());
    }
View Full Code Here


        Assert.assertEquals(expected, actual.toString());
    }

    @Test
    public void testToTerm_2() {
        final BooleanOption option = CompilerOption.WARN_EXPORT_ALL;
        final OtpErlangObject actual = option.toTerm(false);
        final String expected = "nowarn_export_all";
        Assert.assertEquals(expected, actual.toString());
    }
View Full Code Here

        Assert.assertEquals(expected, actual.toString());
    }

    @Test
    public void testToTerm_3() {
        final BooleanOption option = CompilerOption.DEBUG_INFO;
        final OtpErlangObject actual = option.toTerm(true);
        final String expected = "debug_info";
        Assert.assertEquals(expected, actual.toString());
    }
View Full Code Here

        Assert.assertEquals(expected, actual.toString());
    }

    @Test
    public void testToTerm_4() {
        final BooleanOption option = CompilerOption.DEBUG_INFO;
        final OtpErlangObject actual = option.toTerm(false);
        final String expected = null;
        Assert.assertEquals(expected, actual);
    }
View Full Code Here

        Assert.assertEquals(expected, actual.toString());
    }

    @Test
    public void testToTerm_6() {
        final BooleanOption option = CompilerOption.WARN_EXPORT_ALL;
        final OtpErlangObject actual = option.toTerm(false);
        final String expected = "nowarn_export_all";
        Assert.assertEquals(expected, actual.toString());
    }
View Full Code Here

TOP

Related Classes of org.erlide.core.builder.CompilerOption.BooleanOption

Copyright © 2018 www.massapicom. 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.