001    /*
002     * Copyright (c) 2007-2014 Concurrent, Inc. All Rights Reserved.
003     *
004     * Project and contact information: http://www.cascading.org/
005     *
006     * This file is part of the Cascading project.
007     *
008     * Licensed under the Apache License, Version 2.0 (the "License");
009     * you may not use this file except in compliance with the License.
010     * You may obtain a copy of the License at
011     *
012     *     http://www.apache.org/licenses/LICENSE-2.0
013     *
014     * Unless required by applicable law or agreed to in writing, software
015     * distributed under the License is distributed on an "AS IS" BASIS,
016     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017     * See the License for the specific language governing permissions and
018     * limitations under the License.
019     */
020    
021    package data;
022    
023    public interface InputData
024      {
025      public static final String TEST_DATA_PATH = "test.data.path";
026    
027      String inputPath = System.getProperty( TEST_DATA_PATH, "../cascading-platform/src/test/resources/data/" );
028    
029      String inputFileApache = inputPath + "apache.10.txt";
030      String inputFileApacheClean = inputPath + "apache-clean.10.txt";
031      String inputFileApache200 = inputPath + "apache.200.txt";
032      String inputFileIps = inputPath + "ips.20.txt";
033      String inputFileNums20 = inputPath + "nums.20.txt";
034      String inputFileNums10 = inputPath + "nums.10.txt";
035      String inputFileCritics = inputPath + "critics.txt";
036      String inputFileUpper = inputPath + "upper.txt";
037      String inputFileLower = inputPath + "lower.txt";
038      String inputFileLowerOffset = inputPath + "lower-offset.txt";
039      String inputFileJoined = inputPath + "lower+upper.txt";
040      String inputFileJoinedExtra = inputPath + "extra+lower+upper.txt";
041      String inputFileLhs = inputPath + "lhs.txt";
042      String inputFileRhs = inputPath + "rhs.txt";
043      String inputFileCross = inputPath + "lhs+rhs-cross.txt";
044      String inputFileCrossRev = inputPath + "lhs+rhs-cross-rev.txt";
045      String inputFileCrossX2 = inputPath + "lhs+rhs-cross-x2.txt";
046      String inputFileLhsSparse = inputPath + "lhs-sparse.txt";
047      String inputFileRhsSparse = inputPath + "rhs-sparse.txt";
048      String inputFileUnexpectedEndOfFile = inputPath + "unexpectedEndOfFile.gz";
049    
050      String testDelimited = inputPath + "delimited.txt";
051      String testDelimitedHeader = inputPath + "delimited-header.txt";
052      String testDelimitedSpecialCharData = inputPath + "delimited-spec-char.txt";
053      String testDelimitedExtraField = inputPath + "delimited-extra-field.txt";
054      String testDelimitedProblematic = inputPath + "delimited-problematic.txt";
055    
056      String inputFileComments = inputPath + "comments+lower.txt";
057    
058      String testClasspathJar = inputPath + "test-classpath.jar";
059      String testClasspathJarContents = "apache.10.txt";
060    
061      String inputFileFirstBy = inputPath + "firstby.txt";
062      }