Menu

#14 Java Generator should recognize conditional compilation

open
5
2008-01-17
2008-01-17
No

Example:

#ifdef FOO
A_Test void testFoo() {
}
#endif

Problem: If FOO is not defined, the test fixture will not include function testFoo() but the Generator will reference it. This will cause a linker problem.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB