123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- /*
- * Copyright (c) 2005 Your Corporation. All Rights Reserved.
- */
- package org.apache.maven.repository.reporting;
-
- import org.codehaus.plexus.PlexusTestCase;
-
- /**
- * Test the artifact reporter.
- *
- * @author <a href="mailto:jtolentino@mergere.com">John Tolentino</a>
- */
- public class DefaultRepositoryQueryLayerTest
- extends PlexusTestCase
- {
- private RepositoryQueryLayer queryLayer;
-
- protected void setUp()
- throws Exception
- {
- super.setUp();
- queryLayer = (RepositoryQueryLayer) lookup( RepositoryQueryLayer.ROLE, "default" );
- }
-
- public void testNonExistingArtifact()
- {
- assertTrue( queryLayer.containsArtifact( null ) );
- }
-
- protected void tearDown()
- throws Exception
- {
- queryLayer = null;
- super.tearDown();
- }
- }
- /*
- * Copyright (c) 2005 Your Corporation. All Rights Reserved.
- */
- package org.apache.maven.repository.reporting;
-
- import org.codehaus.plexus.PlexusTestCase;
-
- /**
- * Test the artifact reporter.
- *
- * @author <a href="mailto:jtolentino@mergere.com">John Tolentino</a>
- */
- public class DefaultRepositoryQueryLayerTest
- extends PlexusTestCase
- {
- private RepositoryQueryLayer queryLayer;
-
- protected void setUp()
- throws Exception
- {
- super.setUp();
- queryLayer = (RepositoryQueryLayer) lookup( RepositoryQueryLayer.ROLE, "default" );
- }
-
- public void testNonExistingArtifact()
- {
- assertTrue( queryLayer.containsArtifact( null ) );
- }
-
- protected void tearDown()
- throws Exception
- {
- queryLayer = null;
- super.tearDown();
- }
- }
- /*
- * Copyright (c) 2005 Your Corporation. All Rights Reserved.
- */
- package org.apache.maven.repository.reporting;
-
- import org.codehaus.plexus.PlexusTestCase;
-
- /**
- * Test the artifact reporter.
- *
- * @author <a href="mailto:jtolentino@mergere.com">John Tolentino</a>
- */
- public class DefaultRepositoryQueryLayerTest
- extends PlexusTestCase
- {
- private RepositoryQueryLayer queryLayer;
-
- protected void setUp()
- throws Exception
- {
- super.setUp();
- queryLayer = (RepositoryQueryLayer) lookup( RepositoryQueryLayer.ROLE, "default" );
- }
-
- public void testNonExistingArtifact()
- {
- assertTrue( queryLayer.containsArtifact( null ) );
- }
-
- protected void tearDown()
- throws Exception
- {
- queryLayer = null;
- super.tearDown();
- }
- }
|