mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
bug 328780: NPE when compiler options are displayed
This commit is contained in:
parent
8bb961660c
commit
c02ebb3cb8
1 changed files with 12 additions and 8 deletions
|
@ -123,6 +123,10 @@ public class ManagedCommandLineGeneratorTest extends TestCase {
|
|||
info = gen.generateCommandLineInfo( null, COMMAND_VAL, FLAGS_ARRAY_VAL, OUTPUT_FLAG_VAL, OUTPUT_PREFIX_VAL, OUTPUT_VAL, new String[0], null );
|
||||
assertNotNull(info);
|
||||
assertEquals(COMMAND_VAL+" "+FLAGS_VAL+" "+OUTPUT_FLAG_VAL+" "+OUTPUT_PREFIX_VAL + "\""+OUTPUT_VAL + "\"", info.getCommandLine());
|
||||
|
||||
info = gen.generateCommandLineInfo( null, COMMAND_VAL, FLAGS_ARRAY_VAL, OUTPUT_FLAG_VAL, OUTPUT_PREFIX_VAL, OUTPUT_VAL, null, null );
|
||||
assertNotNull(info);
|
||||
assertEquals(COMMAND_VAL+" "+FLAGS_VAL+" "+OUTPUT_FLAG_VAL+" "+OUTPUT_PREFIX_VAL + "\""+OUTPUT_VAL + "\"", info.getCommandLine());
|
||||
}
|
||||
|
||||
public final void testCustomGenerator() {
|
||||
|
|
Loading…
Add table
Reference in a new issue