From b858a1ad698d47e1dcb2f4b31bfbcd613c34538e Mon Sep 17 00:00:00 2001 From: carlos Date: Fri, 10 Jun 2005 22:24:32 +0000 Subject: [PATCH] Deprecated testmatch property by testmatchpattern to allow more complex patterns in test:match Added testnotmatchpattern that can be used in test:match git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@190026 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 16 ++++++++++++---- test/xdocs/changes.xml | 2 ++ test/xdocs/goals.xml | 3 ++- test/xdocs/properties.xml | 11 +++++++++-- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/test/plugin.jelly b/test/plugin.jelly index 7b212ab6..3a8ce4fc 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -307,11 +307,16 @@ + + [deprecated] testmatch property is deprecated, please use testmatchpattern instead + + + - + - You must define the test case to run via -Dtestmatch=pattern - Example: maven -Dtestmatch=*Foo* test:match + You must define the test case to run via -Dtestmatchpattern=pattern + Example: maven -Dtestmatchpattern=*Foo* test:match @@ -361,7 +366,10 @@ - + + + + diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 529ca680..5c2e6fff 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -25,6 +25,8 @@ + Added testnotmatchpattern that can be used in test:match + Deprecated testmatch property by testmatchpattern to allow more complex patterns in test:match Deprecate dependency handle diff --git a/test/xdocs/goals.xml b/test/xdocs/goals.xml index d6f5faaa..779a446d 100644 --- a/test/xdocs/goals.xml +++ b/test/xdocs/goals.xml @@ -35,7 +35,8 @@ test:match - Execute all the tests matching the given 'testmatch' variable + Execute all the tests matching the given 'testmatchpattern' variable + nd excluding those in 'testnotmatchpattern' variable test:match-test diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index f8ad9a78..62177914 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -252,10 +252,17 @@ maven.test.search.classdir=true - testmatch + testmatchpattern + Yes (required in test:match) + + Ant pattern used in test:match goal to specify the tests that should run + + + + testnotmatchpattern Yes - Used in test:match goal to specify the tests that should run + Ant pattern used in test:match goal to specify the tests that shouldn't run