You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2007/02/23 09:43:58 UTC
svn commit: r510871 [7/7] - in
/maven/sandbox/branches/surefire/surefire-collaboration: ./
maven-surefire-plugin/ maven-surefire-plugin/src/it/
maven-surefire-plugin/src/it/test1/ maven-surefire-plugin/src/it/test2/
maven-surefire-plugin/src/it/test3/ ...
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4StackTraceWriter.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4StackTraceWriter.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4StackTraceWriter.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4StackTraceWriter.java Fri Feb 23 00:43:52 2007
@@ -1,58 +1,77 @@
package org.apache.maven.surefire.junit4;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import org.apache.maven.surefire.report.StackTraceWriter;
import org.junit.runner.notification.Failure;
/**
* Writes out a specific {@link org.junit.runner.notification.Failure} for
* surefire as a stacktrace.
- *
+ *
* @author Karl M. Davis
*/
-public class JUnit4StackTraceWriter implements StackTraceWriter
+public class JUnit4StackTraceWriter
+ implements StackTraceWriter
{
- // Member Variables
- private Failure junitFailure;
+ // Member Variables
+ private Failure junitFailure;
+
+ /**
+ * Constructor.
+ *
+ * @param junitFailure the {@link Failure} that this will be operating on
+ */
+ public JUnit4StackTraceWriter( Failure junitFailure )
+ {
+ this.junitFailure = junitFailure;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.apache.maven.surefire.report.StackTraceWriter#writeTraceToString()
+ */
+ public String writeTraceToString()
+ {
+ return junitFailure.getTrace();
+ }
+
+ /**
+ * At the moment, returns the same as {@link #writeTraceToString()}.
+ *
+ * @see org.apache.maven.surefire.report.StackTraceWriter#writeTrimmedTraceToString()
+ */
+ public String writeTrimmedTraceToString()
+ {
+ return junitFailure.getTrace();
+ }
- /**
- * Constructor.
- *
- * @param junitFailure
- * the {@link Failure} that this will be operating on
- */
- public JUnit4StackTraceWriter(Failure junitFailure)
- {
- this.junitFailure = junitFailure;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.apache.maven.surefire.report.StackTraceWriter#writeTraceToString()
- */
- public String writeTraceToString()
- {
- return junitFailure.getTrace();
- }
-
- /**
- * At the moment, returns the same as {@link #writeTraceToString()}.
- *
- * @see org.apache.maven.surefire.report.StackTraceWriter#writeTrimmedTraceToString()
- */
- public String writeTrimmedTraceToString()
- {
- return junitFailure.getTrace();
- }
-
- /**
- * Returns the exception associated with this failure.
- *
- * @see org.apache.maven.surefire.report.StackTraceWriter#getThrowable()
- */
- public Throwable getThrowable()
- {
- return junitFailure.getException();
- }
+ /**
+ * Returns the exception associated with this failure.
+ *
+ * @see org.apache.maven.surefire.report.StackTraceWriter#getThrowable()
+ */
+ public Throwable getThrowable()
+ {
+ return junitFailure.getException();
+ }
}
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSet.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSet.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSet.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSet.java Fri Feb 23 00:43:52 2007
@@ -1,5 +1,24 @@
package org.apache.maven.surefire.junit4;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import org.apache.maven.surefire.report.ReporterManager;
import org.apache.maven.surefire.testset.AbstractTestSet;
import org.apache.maven.surefire.testset.TestSetFailedException;
@@ -8,52 +27,54 @@
import org.junit.runner.notification.RunListener;
import org.junit.runner.notification.RunNotifier;
-public class JUnit4TestSet extends AbstractTestSet
+public class JUnit4TestSet
+ extends AbstractTestSet
{
- // Member Variables
- private Runner junitTestRunner;
+ // Member Variables
+ private Runner junitTestRunner;
+
+ /**
+ * Constructor.
+ *
+ * @param testClass the class to be run as a test
+ */
+ protected JUnit4TestSet( Class testClass )
+ {
+ super( testClass );
+
+ junitTestRunner = Request.aClass( testClass ).getRunner();
+ }
+
+ /**
+ * Actually runs the test and adds the tests results to the <code>reportManager</code>.
+ *
+ * @see org.apache.maven.surefire.testset.SurefireTestSet#execute(org.apache.maven.surefire.report.ReporterManager,java.lang.ClassLoader)
+ */
+ public void execute( ReporterManager reportManager, ClassLoader loader )
+ throws TestSetFailedException
+ {
+ RunNotifier fNotifier = new RunNotifier();
+ RunListener listener = new JUnit4TestSetReporter( this, reportManager );
+ fNotifier.addListener( listener );
+
+ try
+ {
+ junitTestRunner.run( fNotifier );
+ }
+ finally
+ {
+ fNotifier.removeListener( listener );
+ }
+ }
- /**
- * Constructor.
- *
- * @param testClass the class to be run as a test
- */
- protected JUnit4TestSet(Class testClass)
- {
- super(testClass);
-
- junitTestRunner = Request.aClass(testClass).getRunner();
- }
-
- /**
- * Actually runs the test and adds the tests results to the <code>reportManager</code>.
- *
- * @see org.apache.maven.surefire.testset.SurefireTestSet#execute(org.apache.maven.surefire.report.ReporterManager, java.lang.ClassLoader)
- */
- public void execute(ReporterManager reportManager, ClassLoader loader)
- throws TestSetFailedException
- {
- RunNotifier fNotifier = new RunNotifier();
- RunListener listener = new JUnit4TestSetReporter(this, reportManager);
- fNotifier.addListener(listener);
-
- try
- {
- junitTestRunner.run(fNotifier);
- }
- finally
- {
- fNotifier.removeListener(listener);
- }
- }
-
- /**
- * Returns the number of tests to be run in this class.
- *
- * @see org.apache.maven.surefire.testset.SurefireTestSet#getTestCount()
- */
- public int getTestCount() throws TestSetFailedException
- {
- return junitTestRunner.testCount();
- }
+ /**
+ * Returns the number of tests to be run in this class.
+ *
+ * @see org.apache.maven.surefire.testset.SurefireTestSet#getTestCount()
+ */
+ public int getTestCount()
+ throws TestSetFailedException
+ {
+ return junitTestRunner.testCount();
+ }
}
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSetReporter.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSetReporter.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSetReporter.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-junit4/src/main/java/org/apache/maven/surefire/junit4/JUnit4TestSetReporter.java Fri Feb 23 00:43:52 2007
@@ -1,6 +1,23 @@
package org.apache.maven.surefire.junit4;
-import java.util.ResourceBundle;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
import org.apache.maven.surefire.Surefire;
import org.apache.maven.surefire.report.ReportEntry;
@@ -10,120 +27,134 @@
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
-public class JUnit4TestSetReporter extends RunListener
+import java.util.ResourceBundle;
+
+public class JUnit4TestSetReporter
+ extends RunListener
{
- // Constants
+ // Constants
private static ResourceBundle bundle = ResourceBundle.getBundle( Surefire.SUREFIRE_BUNDLE_NAME );
- // Member Variables
- private JUnit4TestSet testSet;
- private ReporterManager reportMgr;
- /**
- * This flag is set after a failure has occurred so that a <code>testSucceeded</code> event is not fired. This is necessary because JUnit4 always fires a <code>testRunFinished</code> event-- even if there was a failure.
- */
- private boolean failureFlag;
-
- /**
- * Constructor.
- *
- * @param testSet
- * the specific test set that this will report on as it is
- * executed
- * @param reportManager
- * the report manager to log testing events to
- */
- JUnit4TestSetReporter(JUnit4TestSet testSet, ReporterManager reportManager)
- {
- this.testSet = testSet;
- this.reportMgr = reportManager;
- }
-
- /**
- * Called right before any tests from a specific class are run.
- *
- * @see org.junit.runner.notification.RunListener#testRunStarted(org.junit.runner.Description)
- */
- public void testRunStarted(Description description) throws Exception
- {
+ // Member Variables
+ private JUnit4TestSet testSet;
+
+ private ReporterManager reportMgr;
+
+ /**
+ * This flag is set after a failure has occurred so that a <code>testSucceeded</code> event is not fired. This is necessary because JUnit4 always fires a <code>testRunFinished</code> event-- even if there was a failure.
+ */
+ private boolean failureFlag;
+
+ /**
+ * Constructor.
+ *
+ * @param testSet the specific test set that this will report on as it is
+ * executed
+ * @param reportManager the report manager to log testing events to
+ */
+ JUnit4TestSetReporter( JUnit4TestSet testSet, ReporterManager reportManager )
+ {
+ this.testSet = testSet;
+ this.reportMgr = reportManager;
+ }
+
+ /**
+ * Called right before any tests from a specific class are run.
+ *
+ * @see org.junit.runner.notification.RunListener#testRunStarted(org.junit.runner.Description)
+ */
+ public void testRunStarted( Description description )
+ throws Exception
+ {
String rawString = bundle.getString( "testSetStarting" );
- ReportEntry report = new ReportEntry(testSet, testSet.getName(), rawString);
+ ReportEntry report = new ReportEntry( testSet, testSet.getName(), rawString );
+
+ this.reportMgr.testSetStarting( report );
+ }
- this.reportMgr.testSetStarting(report);
- }
-
- /**
- * Called right after all tests from a specific class are run.
- *
- * @see org.junit.runner.notification.RunListener#testRunFinished(org.junit.runner.Result)
- */
- public void testRunFinished(Result result) throws Exception
- {
+ /**
+ * Called right after all tests from a specific class are run.
+ *
+ * @see org.junit.runner.notification.RunListener#testRunFinished(org.junit.runner.Result)
+ */
+ public void testRunFinished( Result result )
+ throws Exception
+ {
String rawString = bundle.getString( "testSetCompletedNormally" );
- ReportEntry report = new ReportEntry(testSet, testSet.getName(), rawString);
+ ReportEntry report = new ReportEntry( testSet, testSet.getName(), rawString );
- this.reportMgr.testSetCompleted(report);
+ this.reportMgr.testSetCompleted( report );
this.reportMgr.reset();
- }
-
- /**
- * Called when a specific test has been skipped (for whatever reason).
- *
- * @see org.junit.runner.notification.RunListener#testIgnored(org.junit.runner.Description)
- */
- public void testIgnored(Description description) throws Exception
- {
+ }
+
+ /**
+ * Called when a specific test has been skipped (for whatever reason).
+ *
+ * @see org.junit.runner.notification.RunListener#testIgnored(org.junit.runner.Description)
+ */
+ public void testIgnored( Description description )
+ throws Exception
+ {
String rawString = bundle.getString( "testSkipped" );
- ReportEntry report = new ReportEntry(testSet, description.getDisplayName(), rawString);
+ ReportEntry report = new ReportEntry( testSet, description.getDisplayName(), rawString );
+
+ this.reportMgr.testSkipped( report );
+ }
- this.reportMgr.testSkipped(report);
- }
-
- /**
- * Called when a specific test has started.
- *
- * @see org.junit.runner.notification.RunListener#testStarted(org.junit.runner.Description)
- */
- public void testStarted(Description description) throws Exception
- {
+ /**
+ * Called when a specific test has started.
+ *
+ * @see org.junit.runner.notification.RunListener#testStarted(org.junit.runner.Description)
+ */
+ public void testStarted( Description description )
+ throws Exception
+ {
String rawString = bundle.getString( "testStarting" );
- ReportEntry report = new ReportEntry(testSet, description.getDisplayName(), rawString);
+ ReportEntry report = new ReportEntry( testSet, description.getDisplayName(), rawString );
+
+ this.reportMgr.testStarting( report );
- this.reportMgr.testStarting(report);
+ this.failureFlag = false;
+ }
- this.failureFlag = false;
- }
-
- /**
- * Called when a specific test has failed.
- *
- * @see org.junit.runner.notification.RunListener#testFailure(org.junit.runner.notification.Failure)
- */
- public void testFailure(Failure failure) throws Exception
- {
+ /**
+ * Called when a specific test has failed.
+ *
+ * @see org.junit.runner.notification.RunListener#testFailure(org.junit.runner.notification.Failure)
+ */
+ public void testFailure( Failure failure )
+ throws Exception
+ {
String rawString = bundle.getString( "executeException" );
- ReportEntry report = new ReportEntry(testSet, failure.getTestHeader(), rawString, new JUnit4StackTraceWriter(failure));
+ ReportEntry report =
+ new ReportEntry( testSet, failure.getTestHeader(), rawString, new JUnit4StackTraceWriter( failure ) );
- if(failure.getException() instanceof AssertionError)
- this.reportMgr.testFailed(report);
+ if ( failure.getException() instanceof AssertionError )
+ {
+ this.reportMgr.testFailed( report );
+ }
else
- this.reportMgr.testError(report);
-
+ {
+ this.reportMgr.testError( report );
+ }
+
failureFlag = true;
- }
-
- /**
- * Called after a specific test has finished.
- *
- * @see org.junit.runner.notification.RunListener#testFinished(org.junit.runner.Description)
- */
- public void testFinished(Description description) throws Exception
- {
- if(failureFlag == false)
- {
- String rawString = bundle.getString( "testSuccessful" );
- ReportEntry report = new ReportEntry(testSet, description.getDisplayName(), rawString);
-
- this.reportMgr.testSucceeded(report);
- }
- }
+ }
+
+ /**
+ * Called after a specific test has finished.
+ *
+ * @see org.junit.runner.notification.RunListener#testFinished(org.junit.runner.Description)
+ */
+ public void testFinished( Description description )
+ throws Exception
+ {
+ if ( failureFlag == false )
+ {
+ String rawString = bundle.getString( "testSuccessful" );
+ ReportEntry report = new ReportEntry( testSet, description.getDisplayName(), rawString );
+
+ this.reportMgr.testSucceeded( report );
+ }
+ }
}
Propchange: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Feb 23 00:43:52 2007
@@ -1,3 +1,4 @@
+cobertura.ser
target
*.iml
*.ipr
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/pom.xml?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/pom.xml (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/pom.xml Fri Feb 23 00:43:52 2007
@@ -1,17 +1,20 @@
<!--
- ~ Copyright 2001-2006 The Apache Software Foundation.
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
+ ~ http://www.apache.org/licenses/LICENSE-2.0
~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
@@ -19,7 +22,7 @@
<parent>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-providers</artifactId>
- <version>2.3-SNAPSHOT</version>
+ <version>2.4-SNAPSHOT</version>
</parent>
<artifactId>surefire-testng</artifactId>
<name>SureFire TestNG Runner</name>
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGDirectoryTestSuite.java Fri Feb 23 00:43:52 2007
@@ -1,19 +1,22 @@
package org.apache.maven.surefire.testng;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
import org.apache.maven.surefire.report.ReporterException;
@@ -24,7 +27,6 @@
import org.testng.ISuiteListener;
import org.testng.ITestListener;
import org.testng.TestNG;
-import org.testng.internal.annotations.IAnnotationFinder;
import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;
@@ -120,7 +122,7 @@
XmlSuite suite = new XmlSuite();
suite.setParallel( parallel );
suite.setThreadCount( threadCount );
-
+
for ( Iterator i = testSets.values().iterator(); i.hasNext(); )
{
SurefireTestSet testSet = (SurefireTestSet) i.next();
@@ -136,7 +138,7 @@
XmlTest xmlTest = new XmlTest( suite );
xmlTest.setName( testSet.getName() );
xmlTest.setXmlClasses( Collections.singletonList( new XmlClass( testSet.getTestClass() ) ) );
-
+
if ( groups != null )
{
xmlTest.setIncludedGroups( Arrays.asList( groups.split( "," ) ) );
@@ -145,16 +147,16 @@
{
xmlTest.setExcludedGroups( Arrays.asList( excludedGroups.split( "," ) ) );
}
-
+
// if ( !TestNGClassFinder.isTestNGClass( testSet.getTestClass(), annotationFinder ) )
// TODO: this is a bit dodgy, but isTestNGClass wasn't working
try
{
- Class junitClass = Class.forName( "junit.framework.Test" );
- Class junitBase = Class.forName( "junit.framework.TestCase" );
-
- if ( junitClass.isAssignableFrom( testSet.getTestClass() )
- || junitBase.isAssignableFrom( testSet.getTestClass() ) )
+ Class junitClass = Class.forName( "junit.framework.Test" );
+ Class junitBase = Class.forName( "junit.framework.TestCase" );
+
+ if ( junitClass.isAssignableFrom( testSet.getTestClass() ) ||
+ junitBase.isAssignableFrom( testSet.getTestClass() ) )
{
xmlTest.setJUnit( true );
}
@@ -189,7 +191,6 @@
// workaround for SUREFIRE-49
// TestNG always creates an output directory, and if not set the name for the directory is "null"
testNG.setOutputDirectory( System.getProperty( "java.io.tmpdir" ) );
-
testNG.runSuitesLocally();
}
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java Fri Feb 23 00:43:52 2007
@@ -1,19 +1,22 @@
package org.apache.maven.surefire.testng;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
import org.apache.maven.surefire.report.ReporterManager;
@@ -36,29 +39,29 @@
private TestNGExecutor()
{
}
-
+
static void executeTestNG( SurefireTestSuite surefireSuite, String testSourceDirectory, XmlSuite suite,
ReporterManager reporterManager )
{
TestNG testNG = new TestNG( false );
-
+
// turn off all TestNG output
testNG.setVerbose( 0 );
-
+
testNG.setXmlSuites( Collections.singletonList( suite ) );
-
+
testNG.setListenerClasses( new ArrayList() );
-
+
TestNGReporter reporter = new TestNGReporter( reporterManager, surefireSuite );
testNG.addListener( (ITestListener) reporter );
testNG.addListener( (ISuiteListener) reporter );
-
+
// Set source path so testng can find javadoc annotations if not in 1.5 jvm
if ( testSourceDirectory != null )
{
testNG.setSourcePath( testSourceDirectory );
}
-
+
// TODO: Doesn't find testng.xml based suites when these are un-commented
// TestNG ~also~ looks for the currentThread context classloader
// ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGReporter.java Fri Feb 23 00:43:52 2007
@@ -1,19 +1,22 @@
package org.apache.maven.surefire.testng;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
import org.apache.maven.surefire.Surefire;
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGStackTraceWriter.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGStackTraceWriter.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGStackTraceWriter.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGStackTraceWriter.java Fri Feb 23 00:43:52 2007
@@ -1,20 +1,23 @@
+package org.apache.maven.surefire.testng;
+
/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
-
-package org.apache.maven.surefire.testng;
import org.apache.maven.surefire.report.PojoStackTraceWriter;
import org.codehaus.plexus.util.StringUtils;
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGTestSet.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGTestSet.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGTestSet.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGTestSet.java Fri Feb 23 00:43:52 2007
@@ -1,19 +1,22 @@
package org.apache.maven.surefire.testng;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
import org.apache.maven.surefire.report.ReporterManager;
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGXmlTestSuite.java Fri Feb 23 00:43:52 2007
@@ -1,19 +1,22 @@
package org.apache.maven.surefire.testng;
/*
- * Copyright 2001-2006 The Apache Software Foundation.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
*/
import org.apache.maven.surefire.report.ReporterManager;
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/pom.xml?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/pom.xml (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/pom.xml Fri Feb 23 00:43:52 2007
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/resources/css/maven-theme.css
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/resources/css/maven-theme.css?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/resources/css/maven-theme.css (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/resources/css/maven-theme.css Fri Feb 23 00:43:52 2007
@@ -1,179 +1,226 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
body {
- background-color: #fff;
- font-family: Verdana, Helvetica, Arial, sans-serif;
- margin-left: auto;
- margin-right: auto;
- background-repeat: repeat-y;
- font-size: 13px;
- padding: 0px;
-}
-td, select, input, li{
- font-family: Verdana, Helvetica, Arial, sans-serif;
- font-size: 12px;
- color:#333333;
+ background-color: #fff;
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ margin-left: auto;
+ margin-right: auto;
+ background-repeat: repeat-y;
+ font-size: 13px;
+ padding: 0px;
+}
+
+td, select, input, li {
+ font-family: Verdana, Helvetica, Arial, sans-serif;
+ font-size: 12px;
+ color: #333333;
}
-code{
- font-size: 12px;
+
+code {
+ font-size: 12px;
}
+
a {
- text-decoration: none;
+ text-decoration: none;
}
+
a:link {
- color:#47a;
+ color: #47a;
}
-a:visited {
- color:#666666;
+
+a:visited {
+ color: #666666;
}
+
a:active, a:hover {
- color:#990000;
+ color: #990000;
}
+
#legend li.externalLink {
- background: url(../images/external.png) left top no-repeat;
- padding-left: 18px;
+ background: url( ../images/external.png ) left top no-repeat;
+ padding-left: 18px;
}
+
a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
- background: url(../images/external.png) right center no-repeat;
- padding-right: 18px;
+ background: url( ../images/external.png ) right center no-repeat;
+ padding-right: 18px;
}
+
#legend li.newWindow {
- background: url(../images/newwindow.png) left top no-repeat;
- padding-left: 18px;
+ background: url( ../images/newwindow.png ) left top no-repeat;
+ padding-left: 18px;
}
+
a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
- background: url(../images/newwindow.png) right center no-repeat;
- padding-right: 18px;
+ background: url( ../images/newwindow.png ) right center no-repeat;
+ padding-right: 18px;
}
+
h2 {
- font-size: 17px;
- color: #333333;
+ font-size: 17px;
+ color: #333333;
}
+
h3 {
- padding: 4px 4px 4px 24px;
- color: #666;
- background-color: #ccc;
- font-weight: bold;
- font-size: 14px;
- background-image: url(../images/h3.jpg);
- background-repeat: no-repeat;
- background-position: left bottom;
+ padding: 4px 4px 4px 24px;
+ color: #666;
+ background-color: #ccc;
+ font-weight: bold;
+ font-size: 14px;
+ background-image: url( ../images/h3.jpg );
+ background-repeat: no-repeat;
+ background-position: left bottom;
}
+
p {
- line-height: 1.3em;
- font-size: 12px;
- color: #000;
+ line-height: 1.3em;
+ font-size: 12px;
+ color: #000;
}
+
#breadcrumbs {
- height: 13px;
- background-image: url(../images/breadcrumbs.jpg);
- padding: 5px 10px 14px 20px;
+ height: 13px;
+ background-image: url( ../images/breadcrumbs.jpg );
+ padding: 5px 10px 14px 20px;
}
+
* html #breadcrumbs {
- padding-bottom: 8px;
+ padding-bottom: 8px;
}
+
#leftColumn {
- margin: 10px 0 10px 0;
- border-top-color: #ccc;
- border-top-style: solid;
- border-top-width: 1px;
- border-right-color: #ccc;
- border-right-style: solid;
- border-right-width: 1px;
- border-bottom-color: #ccc;
- border-bottom-style: solid;
- border-bottom-width: 1px;
- padding-right: 5px;
- padding-left: 5px;
+ margin: 10px 0 10px 0;
+ border-top-color: #ccc;
+ border-top-style: solid;
+ border-top-width: 1px;
+ border-right-color: #ccc;
+ border-right-style: solid;
+ border-right-width: 1px;
+ border-bottom-color: #ccc;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+ padding-right: 5px;
+ padding-left: 5px;
}
+
#navcolumn h5 {
- font-size: smaller;
- border-bottom: 1px solid #aaaaaa;
- padding-top: 2px;
- padding-left: 9px;
- color: #49635a;
- background-image: url(../images/h5.jpg);
- background-repeat: no-repeat;
- background-position: left bottom;
+ font-size: smaller;
+ border-bottom: 1px solid #aaaaaa;
+ padding-top: 2px;
+ padding-left: 9px;
+ color: #49635a;
+ background-image: url( ../images/h5.jpg );
+ background-repeat: no-repeat;
+ background-position: left bottom;
}
table.bodyTable th {
- color: white;
- background-color: #bbb;
- text-align: left;
- font-weight: bold;
+ color: white;
+ background-color: #bbb;
+ text-align: left;
+ font-weight: bold;
}
table.bodyTable th, table.bodyTable td {
- font-size: 11px;
+ font-size: 11px;
}
table.bodyTable tr.a {
- background-color: #ddd;
+ background-color: #ddd;
}
table.bodyTable tr.b {
- background-color: #eee;
+ background-color: #eee;
}
.source {
- border: 1px solid #999;
- overflow:auto
+ border: 1px solid #999;
+ overflow: auto
}
+
dt {
- padding: 4px 4px 4px 24px;
- color: #333333;
- background-color: #ccc;
- font-weight: bold;
- font-size: 14px;
- background-image: url(../images/h3.jpg);
- background-repeat: no-repeat;
- background-position: left bottom;
+ padding: 4px 4px 4px 24px;
+ color: #333333;
+ background-color: #ccc;
+ font-weight: bold;
+ font-size: 14px;
+ background-image: url( ../images/h3.jpg );
+ background-repeat: no-repeat;
+ background-position: left bottom;
}
+
.subsectionTitle {
- font-size: 13px;
- font-weight: bold;
- color: #666;
+ font-size: 13px;
+ font-weight: bold;
+ color: #666;
}
table {
- font-size: 10px;
+ font-size: 10px;
}
+
.xright a:link, .xright a:visited, .xright a:active {
- color: #666;
+ color: #666;
}
+
.xright a:hover {
- color: #003300;
+ color: #003300;
}
+
#banner {
- height: 93px;
- background: url(../images/banner.jpg);
+ height: 93px;
+ background: url( ../images/banner.jpg );
}
+
#navcolumn ul {
- margin: 5px 0 15px -0em;
+ margin: 5px 0 15px -0em;
}
+
#navcolumn ul a {
- color: #333333;
+ color: #333333;
}
+
#navcolumn ul a:hover {
- color: red;
+ color: red;
}
+
#intro {
- border: solid #ccc 1px;
- margin: 6px 0px 0px 0px;
- padding: 10px 40px 10px 40px;
+ border: solid #ccc 1px;
+ margin: 6px 0px 0px 0px;
+ padding: 10px 40px 10px 40px;
}
+
.subsection {
- margin-left: 3px;
- color: #333333;
+ margin-left: 3px;
+ color: #333333;
}
.subsection p {
- font-size: 12px;
+ font-size: 12px;
}
+
#footer {
- padding: 10px;
- margin: 20px 0px 20px 0px;
- border-top: solid #ccc 1px;
- color: #333333;
+ padding: 10px;
+ margin: 20px 0px 20px 0px;
+ border-top: solid #ccc 1px;
+ color: #333333;
}
Modified: maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/site.xml?view=diff&rev=510871&r1=510870&r2=510871
==============================================================================
--- maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/site.xml (original)
+++ maven/sandbox/branches/surefire/surefire-collaboration/surefire-site/src/site/site.xml Fri Feb 23 00:43:52 2007
@@ -1,4 +1,23 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
<project name="Doxia">
<bannerLeft>
<name>Surefire</name>