1 package org.eclipse.aether.transport.wagon;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.codehaus.plexus.ContainerConfiguration;
23 import org.codehaus.plexus.PlexusTestCase;
24 import org.eclipse.aether.spi.connector.transport.TransporterFactory;
25
26
27
28 public class PlexusSupportTest
29 extends PlexusTestCase
30 {
31
32 @Override
33 protected void customizeContainerConfiguration( ContainerConfiguration containerConfiguration )
34 {
35 containerConfiguration.setClassPathScanning( "cache" );
36 }
37
38 public void testExistenceOfPlexusComponentMetadata()
39 throws Exception
40 {
41 TransporterFactory factory = lookup( TransporterFactory.class, "wagon" );
42 assertNotNull( factory );
43 assertEquals( WagonTransporterFactory.class, factory.getClass() );
44 }
45
46 }