namespace properties are mostly working

This commit is contained in:
Dmitry Jemerov
2011-04-21 14:23:11 +02:00
parent c91cd748ff
commit d17f095eec
12 changed files with 216 additions and 20 deletions
@@ -56,8 +56,7 @@ public class NamespaceGenTest extends CodegenTestCase {
System.out.println(generateToText());
final Method main = generateFunction();
final long returnValue = (Long) main.invoke(null);
long currentTime = System.currentTimeMillis();
assertTrue(Math.abs(returnValue - currentTime) <= 1L);
assertIsCurrentTime(returnValue);
}
public void testIdentityHashCode() throws Exception {