@@ -0,0 +1,1443 @@
+package org.flymine.dataconversion;%0A%0A/*%0A * Copyright (C) 2002-2005 FlyMine%0A *%0A * This code may be freely distributed and modified under the%0A * terms of the GNU Lesser General Public Licence.  This should%0A * be distributed with the code.  See the LICENSE file for more%0A * information or http://www.gnu.org/copyleft/lesser.html.%0A *%0A */%0A%0Aimport java.io.File;%0Aimport java.io.FileOutputStream;%0Aimport java.io.StringReader;%0Aimport java.util.HashMap;%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.apache.commons.io.IOUtils;%0Aimport org.intermine.dataconversion.MockItemWriter;%0Aimport org.intermine.xml.full.FullParser;%0A%0A/**%0A * BDGP clone converter functional test.%0A * @author Richard Smith%0A */%0Apublic class BDGPCloneConverterTest extends TestCase%0A%7B%0A%0A    public void testProcess() throws Exception %7B%0A        String ENDL = System.getProperty(%22line.separator%22);%0A        String input = %22# comment%22 + ENDL%0A            + %22CG9480%5CtGlycogenin%5CtFBgn0034603%5CtRE02181;RE21586%22 + ENDL;%0A%0A        MockItemWriter itemWriter = new MockItemWriter(new HashMap());%0A        BDGPCloneConverter converter = new BDGPCloneConverter(itemWriter);%0A%0A        converter.process(new StringReader(input));%0A        converter.close();%0A%0A        Set expected = new HashSet(FullParser.parse(getClass().getClassLoader().getResourceAsStream(%22test/BDGPCloneConverterTest.xml%22)));%0A        assertEquals(expected, itemWriter.getItems());%0A    %7D%0A%7D%0A

copy BDGP clone test to new build system