From dabc505b3f4143fb3ea0885be7ed0177a9100a2c Mon Sep 17 00:00:00 2001 From: Pouryafard75 Date: Wed, 27 Nov 2024 10:59:01 -0500 Subject: [PATCH] fix: update tests accordingly --- .../github/gumtreediff/gen/jdt/TestJdtGenerator.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gen.jdt/src/test/java/com/github/gumtreediff/gen/jdt/TestJdtGenerator.java b/gen.jdt/src/test/java/com/github/gumtreediff/gen/jdt/TestJdtGenerator.java index d113721c..45315b04 100644 --- a/gen.jdt/src/test/java/com/github/gumtreediff/gen/jdt/TestJdtGenerator.java +++ b/gen.jdt/src/test/java/com/github/gumtreediff/gen/jdt/TestJdtGenerator.java @@ -254,13 +254,17 @@ public void testComments2() throws IOException { + " PrimitiveType: boolean [60,67]\n" + " SimpleName: b [68,69]\n" + " Block [76,142]\n" - + " Javadoc: /**\n" - + " * test2 \n" - + " */ [86,119]\n" + + " Javadoc [86,119]\n" + + " TagElement [101,107]\n" + + " TextElement: test2 [101,107]\n" + " ExpressionStatement [128,136]\n" + " MethodInvocation [128,135]\n" + " SimpleName: sleep [128,133]"; + + +// System.out.println(input); TreeContext ct = new JdtWithCommentsTreeGenerator().generateFrom().string(input); +// System.out.println(expected); assertEquals(expected, ct.getRoot().toTreeString()); } }