Search in sources :

Example 16 with CompilerOptions

use of org.erlide.core.builder.CompilerOptions in project erlide_eclipse by erlang.

the class CompilerOptionsTest method test_1.

@Test
public void test_1() {
    final CompilerOptions prefs = new CompilerOptions();
    prefs.setBooleanOption(CompilerOptions.DEBUG_INFO, true);
    final String actual = prefs.export().toString();
    final String expect = "[debug_info," + CompilerOptionsTest.DEF_VALUES + "]";
    Assert.assertEquals(expect, actual);
}
Also used : CompilerOptions(org.erlide.core.builder.CompilerOptions) Test(org.junit.Test)

Aggregations

CompilerOptions (org.erlide.core.builder.CompilerOptions)16 Test (org.junit.Test)13 OtpErlangList (com.ericsson.otp.erlang.OtpErlangList)1 IProject (org.eclipse.core.resources.IProject)1 IResource (org.eclipse.core.resources.IResource)1 BuildResource (org.erlide.core.builder.BuildResource)1 IErlModule (org.erlide.engine.model.root.IErlModule)1 IErlProject (org.erlide.engine.model.root.IErlProject)1 IOtpRpc (org.erlide.runtime.rpc.IOtpRpc)1 AbstractErlangEditor (org.erlide.ui.editors.erl.AbstractErlangEditor)1 ErlEditorActionBarContributor (org.erlide.ui.editors.erl.ErlEditorActionBarContributor)1