[MNG-3921] Extensions are subject to NPEs in their hashCode() impl

o Merged from r727548

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2008-12-17 22:45:30 +00:00
parent 9002e05de5
commit 04b358629c
38 changed files with 2038 additions and 3 deletions

View File

@ -3412,9 +3412,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;
}
]]>

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}

View File

@ -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() );
}
}