Project

General

Profile

Download (1.1 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2012 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
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.
9
*/
10
package eu.etaxonomy.cdm.api.application;
11

    
12
import org.junit.Test;
13
import org.unitils.dbunit.annotation.DataSet;
14
import org.unitils.dbunit.annotation.ExpectedDataSet;
15

    
16
import eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest;
17

    
18
/**
19
 * test for the {@link FirstDataInserter}
20
 *
21
 * @author a.kohlbecker
22
 * @date Oct 12, 2012
23
 *
24
 */
25
@DataSet
26
public class FirstDataInserterTest extends CdmTransactionalIntegrationTest {
27

    
28
    private final String[] tableNames = new String[]{"USERACCOUNT", "USERACCOUNT_GRANTEDAUTHORITYIMPL", "GRANTEDAUTHORITYIMPL", "CDMMETADATA"};
29

    
30
    @Test
31
    @DataSet(value="FirstDataInserterTest.testBlankDB.xml")
32
    @ExpectedDataSet(value="FirstDataInserterTest.testBlankDB-result.xml")
33
    public void testBlankDB(){
34

    
35
        commitAndStartNewTransaction(null);
36
//        printDataSet(System.err, tableNames);
37
    }
38

    
39
}
    (1-1/1)