You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/12/17 23:26:16 UTC
svn commit: r727548 [1/2] - in
/maven/components/branches/maven-2.0.x/maven-model/src: main/mdo/ test/
test/java/ test/java/org/ test/java/org/apache/ test/java/org/apache/maven/
test/java/org/apache/maven/model/
Author: bentmann
Date: Wed Dec 17 14:26:15 2008
New Revision: 727548
URL: http://svn.apache.org/viewvc?rev=727548&view=rev
Log:
[MNG-3921] Extensions are subject to NPEs in their hashCode() impl
Added:
maven/components/branches/maven-2.0.x/maven-model/src/test/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java (with props)
maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java (with props)
Modified:
maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo
Modified: maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo?rev=727548&r1=727547&r2=727548&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo (original)
+++ maven/components/branches/maven-2.0.x/maven-model/src/main/mdo/maven.mdo Wed Dec 17 14:26:15 2008
@@ -3402,9 +3402,9 @@
public int hashCode()
{
int result = 17;
- result = 37 * result + getArtifactId() != null ? getArtifactId().hashCode() : 0;
- result = 37 * result + getGroupId() != null ? getGroupId().hashCode() : 0;
- result = 37 * result + getVersion() != null ? getVersion().hashCode() : 0;
+ result = 37 * result + ( getArtifactId() != null ? getArtifactId().hashCode() : 0 );
+ result = 37 * result + ( getGroupId() != null ? getGroupId().hashCode() : 0 );
+ result = 37 * result + ( getVersion() != null ? getVersion().hashCode() : 0 );
return result;
}
]]>
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code ActivationFile}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ActivationFileTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new ActivationFile().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new ActivationFile().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ ActivationFile thing = new ActivationFile();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new ActivationFile().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code ActivationOS}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ActivationOSTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new ActivationOS().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new ActivationOS().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ ActivationOS thing = new ActivationOS();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new ActivationOS().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code ActivationProperty}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ActivationPropertyTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new ActivationProperty().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new ActivationProperty().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ ActivationProperty thing = new ActivationProperty();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new ActivationProperty().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Activation}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ActivationTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Activation().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Activation().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Activation thing = new Activation();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Activation().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Build}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class BuildTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Build().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Build().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Build thing = new Build();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Build().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code CiManagement}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class CiManagementTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new CiManagement().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new CiManagement().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ CiManagement thing = new CiManagement();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new CiManagement().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Contributor}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ContributorTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Contributor().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Contributor().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Contributor thing = new Contributor();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Contributor().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code DependencyManagement}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class DependencyManagementTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new DependencyManagement().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new DependencyManagement().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ DependencyManagement thing = new DependencyManagement();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new DependencyManagement().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Dependency}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class DependencyTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Dependency().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Dependency().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Dependency thing = new Dependency();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Dependency().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code DeploymentRepository}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class DeploymentRepositoryTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new DeploymentRepository().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new DeploymentRepository().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ DeploymentRepository thing = new DeploymentRepository();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new DeploymentRepository().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Developer}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class DeveloperTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Developer().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Developer().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Developer thing = new Developer();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Developer().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code DistributionManagement}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class DistributionManagementTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new DistributionManagement().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new DistributionManagement().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ DistributionManagement thing = new DistributionManagement();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new DistributionManagement().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Exclusion}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ExclusionTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Exclusion().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Exclusion().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Exclusion thing = new Exclusion();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Exclusion().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Extension}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ExtensionTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Extension().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Extension().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Extension thing = new Extension();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Extension().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code IssueManagement}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class IssueManagementTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new IssueManagement().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new IssueManagement().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ IssueManagement thing = new IssueManagement();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new IssueManagement().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code License}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class LicenseTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new License().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new License().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ License thing = new License();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new License().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code MailingList}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class MailingListTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new MailingList().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new MailingList().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ MailingList thing = new MailingList();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new MailingList().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Model}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ModelTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Model().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Model().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Model thing = new Model();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Model().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Notifier}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class NotifierTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Notifier().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Notifier().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Notifier thing = new Notifier();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Notifier().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Organization}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class OrganizationTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Organization().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Organization().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Organization thing = new Organization();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Organization().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Parent}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ParentTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Parent().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Parent().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Parent thing = new Parent();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Parent().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code PluginConfiguration}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PluginConfigurationTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new PluginConfiguration().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new PluginConfiguration().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ PluginConfiguration thing = new PluginConfiguration();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new PluginConfiguration().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code PluginContainer}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PluginContainerTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new PluginContainer().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new PluginContainer().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ PluginContainer thing = new PluginContainer();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new PluginContainer().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code PluginExecution}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PluginExecutionTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new PluginExecution().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new PluginExecution().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ PluginExecution thing = new PluginExecution();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new PluginExecution().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code PluginManagement}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PluginManagementTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new PluginManagement().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new PluginManagement().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ PluginManagement thing = new PluginManagement();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new PluginManagement().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Plugin}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PluginTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Plugin().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Plugin().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Plugin thing = new Plugin();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Plugin().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Prerequisites}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class PrerequisitesTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Prerequisites().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Prerequisites().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Prerequisites thing = new Prerequisites();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Prerequisites().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Profile}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ProfileTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Profile().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Profile().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Profile thing = new Profile();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Profile().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code Relocation}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class RelocationTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new Relocation().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new Relocation().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ Relocation thing = new Relocation();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new Relocation().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code ReportPlugin}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ReportPluginTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new ReportPlugin().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new ReportPlugin().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ ReportPlugin thing = new ReportPlugin();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new ReportPlugin().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java Wed Dec 17 14:26:15 2008
@@ -0,0 +1,55 @@
+package org.apache.maven.model;
+
+/*
+ * 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 junit.framework.TestCase;
+
+/**
+ * Tests {@code ReportSet}.
+ *
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ReportSetTest
+ extends TestCase
+{
+
+ public void testHashCodeNullSafe()
+ {
+ new ReportSet().hashCode();
+ }
+
+ public void testEqualsNullSafe()
+ {
+ assertFalse( new ReportSet().equals( null ) );
+ }
+
+ public void testEqualsIdentity()
+ {
+ ReportSet thing = new ReportSet();
+ assertTrue( thing.equals( thing ) );
+ }
+
+ public void testToStringNullSafe()
+ {
+ assertNotNull( new ReportSet().toString() );
+ }
+
+}
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision