/*
 * Copyright (C) 2004 EBI, GRL
 * 
 * This library is free software; you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License as published by the Free Software
 * Foundation; either version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License along with
 * this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 * Suite 330, Boston, MA 02111-1307 USA
 */

package org.ensembl.healthcheck.testcase.generic;

import org.ensembl.healthcheck.DatabaseRegistry;
import org.ensembl.healthcheck.DatabaseType;
import org.ensembl.healthcheck.testcase.MultiDatabaseTestCase;

/**
 * Check that the assembly table is the same in all necessary databases.
 */
public class AssemblyTablesAcrossSpecies extends MultiDatabaseTestCase {

    private DatabaseType[] types = {DatabaseType.CORE, DatabaseType.EST, DatabaseType.ESTGENE, DatabaseType.VEGA, DatabaseType.OTHERFEATURES};

    /**
     * Creates a new instance of AssemblyTablesAcrossSpecies
     */
    public AssemblyTablesAcrossSpecies() {

        addToGroup("release");
        setDescription("Check that the assembly table contains the same information for all databases with the same species.");

    }

    /**
     * Make sure that the assembly tables are all the same.
     * 
     * @param dbr
     *          The database registry containing all the specified databases.
     * @return True if the assembly table is the same across all the species in
     *         the registry.
     */
    public boolean run(DatabaseRegistry dbr) {

        return checkTableAcrossSpecies("assembly", dbr, types, "assembly tables all the same", "assembly tables different", "");

    } // run

} // AssemblyTablesAcrossSpecies

@@ -1187,67 +1187,8 @@
 ORE,
- DatabaseType.EST, DatabaseType.ESTGENE, DatabaseType.VEGA,
  Dat

Remove vega, EST, ESTGENE