maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r727548 [2/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/
Date Wed, 17 Dec 2008 22:26:16 GMT
Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.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 Reporting}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ReportingTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new Reporting().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new Reporting().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        Reporting thing = new Reporting();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new Reporting().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.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 RepositoryPolicy}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class RepositoryPolicyTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new RepositoryPolicy().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new RepositoryPolicy().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        RepositoryPolicy thing = new RepositoryPolicy();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new RepositoryPolicy().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.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 Repository}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class RepositoryTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new Repository().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new Repository().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        Repository thing = new Repository();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new Repository().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.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 Resource}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ResourceTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new Resource().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new Resource().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        Resource thing = new Resource();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new Resource().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.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 Scm}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class ScmTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new Scm().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new Scm().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        Scm thing = new Scm();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new Scm().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java?rev=727548&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
(added)
+++ maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.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 Site}.
+ * 
+ * @author Benjamin Bentmann
+ * @version $Id$
+ */
+public class SiteTest
+    extends TestCase
+{
+
+    public void testHashCodeNullSafe()
+    {
+        new Site().hashCode();
+    }
+
+    public void testEqualsNullSafe()
+    {
+        assertFalse( new Site().equals( null ) );
+    }
+
+    public void testEqualsIdentity()
+    {
+        Site thing = new Site();
+        assertTrue( thing.equals( thing ) );
+    }
+
+    public void testToStringNullSafe()
+    {
+        assertNotNull( new Site().toString() );
+    }
+
+}

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/components/branches/maven-2.0.x/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message