3 * Copyright (C) 2012 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.api
.application
;
12 import org
.junit
.Test
;
13 import org
.unitils
.dbunit
.annotation
.DataSet
;
14 import org
.unitils
.dbunit
.annotation
.ExpectedDataSet
;
16 import eu
.etaxonomy
.cdm
.test
.integration
.CdmTransactionalIntegrationTest
;
19 * test for the {@link FirstDataInserter}
21 * @author a.kohlbecker
26 public class FirstDataInserterTest
extends CdmTransactionalIntegrationTest
{
28 private final String
[] tableNames
= new String
[]{"USERACCOUNT", "USERACCOUNT_GRANTEDAUTHORITYIMPL", "GRANTEDAUTHORITYIMPL", "CDMMETADATA"};
31 @DataSet(value
="FirstDataInserterTest.testBlankDB.xml")
32 @ExpectedDataSet(value
="FirstDataInserterTest.testBlankDB-result.xml")
33 public void testBlankDB(){
35 commitAndStartNewTransaction(null);
36 // printDataSet(System.err, tableNames);