From 72e918a5134c2bf747a476284bcfa1bd2ef2fa21 Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 14 Sep 2014 23:56:43 -0400 Subject: added tests to check constructor tokens fixed a bug with constructor tokens too --- test/cuchaz/enigma/inputs/constructors/Caller.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'test/cuchaz/enigma/inputs/constructors/Caller.java') diff --git a/test/cuchaz/enigma/inputs/constructors/Caller.java b/test/cuchaz/enigma/inputs/constructors/Caller.java index f356b1b..b218619 100644 --- a/test/cuchaz/enigma/inputs/constructors/Caller.java +++ b/test/cuchaz/enigma/inputs/constructors/Caller.java @@ -20,28 +20,35 @@ public class Caller // c()V public void callSubDefault( ) { - // none/c.()V + // none/d.()V System.out.println( new SubClass() ); } // d()V public void callSubInt( ) { - // none/c.(I)V + // none/d.(I)V System.out.println( new SubClass( 6 ) ); } // e()V public void callSubIntInt( ) { - // none/c.(II)V + // none/d.(II)V System.out.println( new SubClass( 4, 2 ) ); } // f()V public void callSubSubInt( ) { - // none/d.(I)V + // none/e.(I)V System.out.println( new SubSubClass( 3 ) ); } + + // g()V + public void callDefaultConstructable() + { + // none/c.()V + System.out.println( new DefaultConstructable() ); + } } -- cgit v1.2.3