All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fartherp.dbtest.dbunit.UseDbUnit Maven / Gradle / Ivy

/*
 * Copyright (c) 2017. juzhen.io. All rights reserved.
 */

package com.github.fartherp.dbtest.dbunit;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by IntelliJ IDEA.
 * Author: CK
 * Date: 2016/2/4
 */
@Target({ ElementType.TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface UseDbUnit {
    String value() default "";

    String[] tables() default { TableType.ALL_TABLES };

    String fileType() default FileType.CSV;

    public static class TableType {
        public static final String ALL_TABLES = "-1";
    }

    public static class FileType {
        public static final String XML = "xml";
        public static final String CSV = "csv";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy