From 13243b7d59ccb89dbd12fdf50b6eb56e16b07f26 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Wed, 17 Jan 2007 04:28:07 +0000
Subject: [PATCH] Fixes for several small SearchFilter and Attribute matching issues (730, 695, 688, 689, 693). This also includes tests for the SearchFilter class. I've also elimiated a race condition from the operation test cases.
---
opends/build.xml | 29 +++++++++++++++--------------
1 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/opends/build.xml b/opends/build.xml
index f633ecb..9d430ef 100644
--- a/opends/build.xml
+++ b/opends/build.xml
@@ -32,8 +32,6 @@
</description>
-
-
<!-- General server-wide properties -->
<property name="src.dir" location="src/server" />
<property name="build.dir" location="build" />
@@ -120,11 +118,9 @@
<property name="dynconstants.stubfile"
location="${resource.dir}/DynamicConstants.java.stubs" />
+
<property file="PRODUCT" />
-
-
-
<!-- Create a package bundle containing the DSML library. -->
<target name="dsml" depends="predsml,package"
description="Build a Directory Server package bundle with DSML.">
@@ -807,6 +803,12 @@
</not>
</condition>
+ <condition property="test.diff.verbose" value="false">
+ <not>
+ <isset property="test.diff.verbose" />
+ </not>
+ </condition>
+
<condition property="test.diff.enabled" value="false">
<isset property="test.diff.disable" />
</condition>
@@ -827,7 +829,8 @@
outputpath="${cvgdiff.report.dir}"
diffpath="${basedir}/${test.diff.srcpath}"
svnpath="${test.diff.svnpath}"
- enabled="${test.diff.enabled}" />
+ enabled="${test.diff.enabled}"
+ verbose="${test.diff.verbose}" />
</target>
@@ -837,39 +840,37 @@
</target>
<!-- Execute Directory Server TestNG unit tests specified from CLI -->
- <target name="testcustom"
- description="Execute the Directory Server TestNG unit tests specified from CLI.">
+ <target name="testcustom">
<echo message="This target is deprecated. Please use the test target as it now supports the test.* properties." />
</target>
<!-- Execute all of the Directory Server TestNG unit tests in text mode. -->
<target name="testall"
depends="enableTestNGAssertions,prepdefaultalltest,testinit,runtests"
- description="Run all of the TestNG tests.">
+ description="Run all of the TestNG tests with assertions enabled. See 'testwithcoverage' for properties you can set.">
</target>
<!-- Execute the Directory Server TestNG unit tests in text mode. -->
<target name="test"
depends="testinit,runtests"
- description="Execute the Directory Server TestNG unit tests in text mode.">
+ description="Execute the Directory Server TestNG unit tests in text mode. Set '-Dorg.opends.test.suppressOutput=true' to suppress output from the unit tests.">
</target>
<!-- Execute the Directory Server TestNG unit tests in text mode with a coverage report. -->
<target name="testwithcoverage"
depends="coverage,test,coveragediff"
- description="Execute the Directory Server TestNG unit tests in text mode with a coverage report.">
+ description="Execute the Directory Server TestNG unit tests in text mode with a coverage report. Use -Dtest.packages, -Dtest.classes, or -Dtest.methods to control which unit tests are run. Use -Dtest.diff.srcpath to control which src files show up in the coverage diff. See the 'test' package for other properties you can set.">
</target>
<!-- Execute the Directory Server TestNG unit tests in text mode with a coverage report and slow tests. -->
<target name="testallwithcoverage"
depends="coverage,testall,coveragediff"
- description="Execute the Directory Server TestNG unit tests in text mode with a coverage report.">
+ description="The same as 'testwithcoverage' except 'testall' is run instead of 'test'.">
</target>
<!-- Execute the Directory Server TestNG unit tests specified from CLI in text mode with a coverage report. -->
- <target name="testcustomwithcoverage"
- description="Execute the Directory Server TestNG unit tests specified from CLI in text mode with a coverage report.">
+ <target name="testcustomwithcoverage">
<echo message="This target is deprecated. Please use the testwithcoverage target as it now supports the test.* properties." />
</target>
--
Gitblit v1.10.0