use of org.erlide.core.builder.CompilerOption.BooleanOption in project erlide_eclipse by erlang.
the class CompilerOptionTest method testToTerm_4.
@Test
public void testToTerm_4() {
final BooleanOption option = CompilerOptions.DEBUG_INFO;
final OtpErlangObject actual = option.toTerm(false);
final String expected = null;
Assert.assertEquals(expected, actual);
}
use of org.erlide.core.builder.CompilerOption.BooleanOption in project erlide_eclipse by erlang.
the class CompilerOptionTest method testToTerm_6.
@Test
public void testToTerm_6() {
final BooleanOption option = CompilerOptions.WARN_EXPORT_ALL;
final OtpErlangObject actual = option.toTerm(false);
final String expected = "nowarn_export_all";
Assert.assertEquals(expected, actual.toString());
}
use of org.erlide.core.builder.CompilerOption.BooleanOption in project erlide_eclipse by erlang.
the class CompilerOptionTest method testToTerm_1.
@Test
public void testToTerm_1() {
final BooleanOption option = CompilerOptions.WARN_EXPORT_ALL;
final OtpErlangObject actual = option.toTerm(true);
final String expected = "warn_export_all";
Assert.assertEquals(expected, actual.toString());
}
use of org.erlide.core.builder.CompilerOption.BooleanOption in project erlide_eclipse by erlang.
the class CompilerOptionTest method testToTerm_3.
@Test
public void testToTerm_3() {
final BooleanOption option = CompilerOptions.DEBUG_INFO;
final OtpErlangObject actual = option.toTerm(true);
final String expected = "debug_info";
Assert.assertEquals(expected, actual.toString());
}
use of org.erlide.core.builder.CompilerOption.BooleanOption in project erlide_eclipse by erlang.
the class CompilerOptionTest method testToTerm_2.
@Test
public void testToTerm_2() {
final BooleanOption option = CompilerOptions.WARN_EXPORT_ALL;
final OtpErlangObject actual = option.toTerm(false);
final String expected = "nowarn_export_all";
Assert.assertEquals(expected, actual.toString());
}
Aggregations