Skip to content

Commit

Permalink
Pull #14518: move AllBlockCommentTest and AllSinglelineCommentsTest t…
Browse files Browse the repository at this point in the history
…o AST Tests
  • Loading branch information
mahfouz72 authored and romani committed Feb 28, 2024
1 parent 2cc3449 commit a801b1e
Show file tree
Hide file tree
Showing 5 changed files with 511 additions and 207 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ public void testCompareExpectedTreeWithInput2() throws Exception {
JavaParser.Options.WITH_COMMENTS);
}

@Test
public void testInputFullOfBlockComments() throws Exception {
verifyAst(getPath("InputFullOfBlockCommentsAst.txt"),
getPath("InputFullOfBlockComments.java"),
JavaParser.Options.WITH_COMMENTS);
}

@Test
public void testInputFullOfSinglelineComments() throws Exception {
verifyAst(getPath("InputFullOfSinglelineCommentsAst.txt"),
getPath("InputFullOfSinglelineComments.java"),
JavaParser.Options.WITH_COMMENTS);
}

@Test
public void testToString() {
final Comment comment = new Comment(new String[] {"value"}, 1, 2, 3);
Expand Down
Loading

0 comments on commit a801b1e

Please sign in to comment.