diff --git a/changes.xml b/changes.xml
index 089e73c..4802441 100644
--- a/changes.xml
+++ b/changes.xml
@@ -32,6 +32,9 @@
assertMatches' casesensitive attribute didn't default to true as
documented
+
Asserts that a string doesn't match a given regular expression.
+ +| Attribute | +Description | +Required | +
| string | +The string to test. | +Yes | +
| pattern | +The pattern to test the string against. | +Yes | +
| casesensitive | ++ Perform a case sensitive match. + Default is true. + | +No. | +
| multiline | ++ Perform a multi line match. + Default is false. + | +No. | +
| singleline | ++ This allows '.' to match new lines. + SingleLine is not to be confused with multiline, + SingleLine is a perl + regex term, it corresponds to dotall in java regex. + Default is false. + | +No. | +
Make the build fail if the property abc contains + "abc" regardless of case: +
+
+ <assertDoesntMatch string="${abc}" pattern="abc"
+ casesensitive="false"/>
+
Asserts that the build log contains a given message.
diff --git a/src/etc/testcases/assert.xml b/src/etc/testcases/assert.xml index 020230d..adac596 100644 --- a/src/etc/testcases/assert.xml +++ b/src/etc/testcases/assert.xml @@ -197,4 +197,10 @@ under the License. pattern="abc"/> + +