/*
 * The Gemma project
 * 
 * Copyright (c) 2006 University of British Columbia
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package ubic.gemma.loader.genome.llnl;

import java.util.Collection;

import ubic.gemma.loader.genome.llnl.ImageCumulativePlatesFetcher;
import ubic.gemma.model.common.description.LocalFile;
import junit.framework.TestCase;

/**
 * @author pavlidis
 * @version $Id$
 */
public class ImageCumulativePlatesFetcherTest extends TestCase {

    public void testFetch() throws Exception {
        ImageCumulativePlatesFetcher fetcher = new ImageCumulativePlatesFetcher();
        Collection<LocalFile> files = fetcher.fetch( "20060901" );
        assertEquals( 1, files.size() );
    }

}

@@ -978,16 +978,179 @@
 Case %7B%0A%0A
+    /**%0A     * See %7B@link ftp://image.llnl.gov/image/outgoing/arrayed_plate_data/cumulative/%7D for appropriate test files.%0A     * %0A     * @throws Exception%0A     */%0A
     publ
@@ -1332,11 +1332,11 @@
 %22200
-609
+708
 01%22 

change file downloaded to one that is 'valid'.