/*
 * 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 junit.framework.TestCase;
import ubic.gemma.model.common.description.LocalFile;

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

    /**
     * See {@link ftp://image.llnl.gov/image/outgoing/arrayed_plate_data/cumulative/} for appropriate test files.
     * <p>
     * FIXME this test isn't great because the files get retired from time to time.
     * 
     * @throws Exception
     */
    public void testFetch() throws Exception {
        ImageCumulativePlatesFetcher fetcher = new ImageCumulativePlatesFetcher();
        Collection<LocalFile> files = fetcher.fetch( "20080101" );
        assertEquals( 1, files.size() );
    }

}

@@ -694,114 +694,30 @@
 rt j
-ava.util.Collection;%0A%0Aimport junit.framework.TestCase;%0Aimport ubic.gemma.model.common.description.LocalFil
+unit.framework.TestCas
 e;%0A%0A
@@ -1139,16 +1139,76 @@
 %0A       
+ // Test disabled because image.llnl.gov is dead.%0A        //
  ImageCu
@@ -1282,16 +1282,19 @@
 %0A       
+ //
  Collect
@@ -1352,16 +1352,19 @@
 %0A       
+ //
  assertE

test disabled because image.llnl.gov is dead.