summaryrefslogtreecommitdiffstats
path: root/archiva-database
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-06-19 18:47:29 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-06-19 18:47:29 +0000
commita19f5c6e86c1297cf10d540d89f88bb11c24d4fa (patch)
treeb6143ed304736cb68aaff121244c8c8cc2fe6024 /archiva-database
parent795337f573479a353bf732287ce784672ffa7fd9 (diff)
downloadarchiva-a19f5c6e86c1297cf10d540d89f88bb11c24d4fa.tar.gz
archiva-a19f5c6e86c1297cf10d540d89f88bb11c24d4fa.zip
Removing bad unit test.
Shouldn't be testing jpox directly using internal JPOX classes. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548824 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-database')
-rw-r--r--archiva-database/src/test/java/org/apache/maven/archiva/database/jdo/JdoProjectModelDAOTest.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/archiva-database/src/test/java/org/apache/maven/archiva/database/jdo/JdoProjectModelDAOTest.java b/archiva-database/src/test/java/org/apache/maven/archiva/database/jdo/JdoProjectModelDAOTest.java
index fe4d96085..6e17d8a5a 100644
--- a/archiva-database/src/test/java/org/apache/maven/archiva/database/jdo/JdoProjectModelDAOTest.java
+++ b/archiva-database/src/test/java/org/apache/maven/archiva/database/jdo/JdoProjectModelDAOTest.java
@@ -24,7 +24,6 @@ import org.apache.commons.lang.StringUtils;
import org.apache.maven.archiva.database.AbstractArchivaDatabaseTestCase;
import org.apache.maven.archiva.database.ProjectModelDAO;
import org.apache.maven.archiva.model.ArchivaProjectModel;
-import org.apache.maven.archiva.model.jpox.ArchivaProjectModelKey;
import org.apache.maven.archiva.repository.project.ProjectModelReader;
import java.io.File;
@@ -34,7 +33,6 @@ import java.util.Iterator;
import java.util.List;
import javax.jdo.JDOHelper;
-import javax.jdo.spi.JDOImplHelper;
/**
* JdoProjectModelDAOTest
@@ -45,19 +43,6 @@ import javax.jdo.spi.JDOImplHelper;
public class JdoProjectModelDAOTest
extends AbstractArchivaDatabaseTestCase
{
- public void testProjectModelKey()
- {
- Object o = JDOImplHelper.getInstance().newObjectIdInstance( ArchivaProjectModel.class, "foo:bar:1.0" );
- assertNotNull( "Key should not be null.", o );
- assertTrue( "Key should be an instance of " + ArchivaProjectModelKey.class.getName(),
- ( o instanceof ArchivaProjectModelKey ) );
-
- ArchivaProjectModelKey key = (ArchivaProjectModelKey) o;
- assertEquals( "foo", key.groupId );
- assertEquals( "bar", key.artifactId );
- assertEquals( "1.0", key.version );
- }
-
public void testProjectModelCRUD()
throws Exception
{