2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.io
.sdd
;
12 import static org
.junit
.Assert
.assertEquals
;
13 import static org
.junit
.Assert
.assertNotNull
;
17 import org
.junit
.Before
;
18 import org
.junit
.Test
;
19 import org
.unitils
.spring
.annotation
.SpringBeanByType
;
21 import eu
.etaxonomy
.cdm
.api
.service
.INameService
;
22 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
23 import eu
.etaxonomy
.cdm
.io
.common
.IExportConfigurator
;
24 import eu
.etaxonomy
.cdm
.io
.common
.IImportConfigurator
;
25 import eu
.etaxonomy
.cdm
.test
.integration
.CdmTransactionalIntegrationTest
;
31 public class SDDCdmExporterTest
extends CdmTransactionalIntegrationTest
{
34 SDDCdmExporter sddCdmExporter
;
37 INameService nameService
;
39 private IExportConfigurator exportConfigurator
;
45 ICdmDataSource source
= null;
46 //exportConfigurator = SDDExportConfigurator.NewInstance(source, url, null);
50 public void testInit() {
51 assertNotNull("sddCdmExporter should not be null", sddCdmExporter
);
52 assertNotNull("nameService should not be null", nameService
);
56 public void testDoInvoke() {
57 //sddCdmExporter.doInvoke(exportConfigurator, null);
58 //assertEquals("Number of TaxonNames should be 1", 1, nameService.count());