diff --git a/changes.xml b/changes.xml index 155bc50..e566749 100644 --- a/changes.xml +++ b/changes.xml @@ -62,6 +62,10 @@ xmllistener will now log the properties of the project under test + + added new assertResourceContains and assertResourceDoesntContain + assertion + diff --git a/docs/assertions.html b/docs/assertions.html index 3a391c4..31bf781 100644 --- a/docs/assertions.html +++ b/docs/assertions.html @@ -671,6 +671,44 @@ +

assertResourceDoesntContain

+ +

Asserts that a resource's content doesn't include a given string.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
resourceLocation of the resource to load.Yes
valueThe text to search for.Yes
casesensitive + Perform a case sensitive match. + Default is true. + No.
messageMessage for the exception if the condition + doesn't hold true. Defaults to "Didn't expect resource + 'resource' to contain value 'value' but + was 'content of resource'".No.
+