1
2
3
4
5 package fr.paris.lutece.plugins.updater.service.catalog;
6
7 import fr.paris.lutece.test.LuteceTestCase;
8
9 import java.util.List;
10
11
12
13
14
15 public class CatalogServiceTest extends LuteceTestCase
16 {
17 public CatalogServiceTest( String testName )
18 {
19 super( testName );
20 }
21
22
23
24
25 public void testGetCatalogInfos( )
26 {
27 System.out.println( "getCatalogInfos" );
28
29 CatalogService instance = new CatalogService( );
30 List<CatalogInfos> list = instance.getCatalogInfos( );
31
32 for ( CatalogInfos ci : list )
33 {
34 System.out.println( ci.getPluginName( ) + " " + ci.getVersion( ) + " " + ci.getDescription( ) );
35 }
36
37 assertTrue( list.size( ) > 0 );
38 }
39 }