Skip to content

Commit

Permalink
[#1228] removed test which is no longer valid
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed Dec 17, 2021
1 parent ec58c57 commit 7e37968
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -606,20 +606,6 @@ public void testTopicActionExists() throws ParserException {
assertThat(existsNode.getProperty()).isEqualTo("topic:action");
}

@Test
public void testHeaderPlaceholderMayBeUsedAsValue() throws ParserException {
final RootNode root = parser.parse("eq(attributes/foo,header:some-cool-header)");

assertThat(root).isNotNull();
assertThat(root.getChildren().size()).isEqualTo(1);

final SingleComparisonNode comparisonNode = (SingleComparisonNode) root.getChildren().get(0);
assertThat(comparisonNode.getComparisonProperty()).isEqualTo("attributes/foo");
assertThat(comparisonNode.getComparisonValue().getClass()).isEqualTo(ParsedPlaceholder.class);
assertThat(comparisonNode.getComparisonValue()).isEqualTo(ParsedPlaceholder.of("header:some-cool-header"));
assertThat(comparisonNode.getComparisonValue()).isEqualTo("header:some-cool-header");
}

@Test
public void testMiscPlaceholderMayBeUsedAsValue() throws ParserException {
final RootNode root = parser.parse("lt(_modified,time:now)");
Expand Down

0 comments on commit 7e37968

Please sign in to comment.