Skip to content

Commit a7ef3cc

Browse files
javier-godoymlopezFC
authored andcommitted
test: remove test for the old API
1 parent 515482f commit a7ef3cc

File tree

1 file changed

+0
-20
lines changed
  • src/test/java/com/flowingcode/vaadin/addons/xterm/integration

1 file changed

+0
-20
lines changed

src/test/java/com/flowingcode/vaadin/addons/xterm/integration/XTermIT.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,6 @@ protected boolean matchesSafely(TestBenchElement item, Description mismatchDescr
5353
}
5454
};
5555

56-
private Matcher<TestBenchElement> isFeature =
57-
new TypeSafeDiagnosingMatcher<TestBenchElement>() {
58-
59-
@Override
60-
public void describeTo(Description description) {
61-
description.appendText("a feature");
62-
}
63-
64-
@Override
65-
protected boolean matchesSafely(TestBenchElement item, Description mismatchDescription) {
66-
String script =
67-
"let e=arguments[0]; return Object.values(e.parentNode.features).includes(e)";
68-
if ((Boolean) item.getCommandExecutor().executeScript(script, item)) return true;
69-
else {
70-
mismatchDescription.appendText(item.getTagName() + " ");
71-
mismatchDescription.appendDescriptionOf(is(not(this)));
72-
return false;
73-
}
74-
}
75-
};
7656

7757
@Test
7858
public void componentWorks() {

0 commit comments

Comments
 (0)