Mercurial > stress-tester
changeset 505:c10b0d35b676
unit tests
author | Devel 1 |
---|---|
date | Thu, 17 Aug 2017 11:21:35 +0200 |
parents | 793e0f11c260 |
children | 6f28783661b5 |
files | stress-tester/src/test/java/com/passus/st/client/http/extractor/XmlValueExtractorTest.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/extractor/XmlValueExtractorTest.java Thu Aug 17 11:20:16 2017 +0200 +++ b/stress-tester/src/test/java/com/passus/st/client/http/extractor/XmlValueExtractorTest.java Thu Aug 17 11:21:35 2017 +0200 @@ -29,7 +29,7 @@ assertEquals("", extract("/root/noSuchNode", xml)); assertEquals("", extract("/root/node1/@noSuchAttribute", xml)); - assertEquals("", extract("/root/node1", "NOT AN XML")); + assertEquals(null, extract("/root/node1", "NOT AN XML")); // TODO: zwraca pusty string, gdy nie ma podanej ścieżki, przydałby się null // TODO: sprawdzić zachowanie i wydajność Apache JXPath }