package com.atlassian.bitbucket.mesh.dbunit;

import com.atlassian.bitbucket.mesh.AbstractDaoTest;

/**
 * Provides a list of DbUnit data sets which can be used when building {@link AbstractDaoTest DAO tests}.
 * <p>
 * The XML schema to use when building or extending data sets is defined in {@code mesh-schema.dtd}. When new
 * tables are added, or existing tables are updated or deleted, the schema can be regenerated by running the
 * {@link SchemaDtdGenerator} and committing the updated {@code mesh-schema.dtd}.
 */
public class DataSets {

    public static final String PREFIX = "classpath:dbunit/";
    public static final String SUFFIX = ".xml";

    public static final String MANAGED_REPOSITORY_ATTRIBUTES = PREFIX + "managed_repository_attributes" + SUFFIX;
    public static final String REPOSITORY_ATTRIBUTES = PREFIX + "repository_attributes" + SUFFIX;
    public static final String WORK_TREES = PREFIX + "work_trees" + SUFFIX;

    private DataSets() {
        throw new UnsupportedOperationException("DataSets is a constants class and cannot be instantiated");
    }
}
