@@ -0,0 +1,1616 @@
+/*%0A * The Exomiser - A tool to annotate and prioritize genomic variants%0A *%0A * Copyright (c) 2016-2018 Queen Mary University of London.%0A * Copyright (c) 2012-2016 Charit%C3%A9 Universit%C3%A4tsmedizin Berlin and Genome Research Ltd.%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage org.monarchinitiative.exomiser.data.genome.indexers;%0A%0Aimport org.monarchinitiative.exomiser.data.genome.model.Allele;%0A%0A/**%0A * Test no-op %7B@link AlleleIndexer%7D which does nothing other than count the number of alleles it was asked to write.%0A * Useful for integration testing and starting to write new %7B@link AlleleIndexer%7D classes.%0A *%0A * @author Jules Jacobsen %3Cj.jacobsen@qmul.ac.uk%3E%0A */%0Apublic class TestNoOpAlleleIndexer extends AbstractAlleleIndexer %7B%0A%0A    private long count;%0A%0A    @Override%0A    protected void writeAllele(Allele allele) %7B%0A        count++;%0A    %7D%0A%0A    @Override%0A    public long count() %7B%0A        return count;%0A    %7D%0A%0A    @Override%0A    public void close() %7B%0A        //nothing to close%0A    %7D%0A%7D%0A

Add new TestNoOpAlleleIndexer to data-genome indexers