public class CommentAssertion extends ASTItemAssertionBase<ASTComment,ASTAssertionBase,CommentAssertion>
model_index, _name, ast, parent| Constructor and Description |
|---|
CommentAssertion(ASTComment comment,
int index,
ASTModel ast,
ASTAssertionBase parent) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allComments() |
CommentAssertion |
hasComment(String content) |
CommentAssertion |
hasLineSizeOf(int size) |
CommentListAssertion |
parentList() |
CommentAssertion |
shouldNotBeEmpty() |
hasOriginalSource, hasOriginalSource, hasPreprocessedSource, hasPreprocessedSource, parentArithmetic, parentArithmeticOperand, parentCondition, parentModel, parentOperand, parentOperationerror, getActualPrefix, getExpectedPrefix, getIdentifier, getPositionString, info, parent, parentAssertion, shouldBeFalse, shouldBeInstanceOf, shouldBeNull, shouldBeTrue, shouldContains, shouldEquals, shouldEquals, shouldEquals, shouldEquals, shouldEquals, shouldHaveMinSizeOf, shouldHaveSizeOf, shouldNotBeEmpty, shouldNotBeEmpty, shouldNotBeEmpty, shouldNotBeNull, shouldNotBeOutOfRange, shouldStartsWith, writeActual, writeExpected, writeExpectedAndActualpublic CommentAssertion(ASTComment comment, int index, ASTModel ast, ASTAssertionBase parent)
public CommentAssertion shouldNotBeEmpty()
shouldNotBeEmpty in class ASTItemAssertionBase<ASTComment,ASTAssertionBase,CommentAssertion>public CommentAssertion hasLineSizeOf(int size) throws Exception
Exceptionpublic CommentAssertion hasComment(String content) throws Exception
Exceptionpublic CommentListAssertion parentList()
Copyright © 2020. All rights reserved.