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     * Copyright (c) 2007-2012 Concurrent, Inc. All Rights Reserved.
023     *
024     * Project and contact information: http://www.cascading.org/
025     *
026     * This file is part of the Cascading project.
027     *
028     * Licensed under the Apache License, Version 2.0 (the "License");
029     * you may not use this file except in compliance with the License.
030     * You may obtain a copy of the License at
031     *
032     *     http://www.apache.org/licenses/LICENSE-2.0
033     *
034     * Unless required by applicable law or agreed to in writing, software
035     * distributed under the License is distributed on an "AS IS" BASIS,
036     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
037     * See the License for the specific language governing permissions and
038     * limitations under the License.
039     */
040    
041    public interface InputData
042      {
043      public static final String TEST_DATA_PATH = "test.data.path";
044    
045      String inputPath = System.getProperty( TEST_DATA_PATH, "../cascading-platform/src/test/resources/data/" );
046    
047      String inputFileApache = inputPath + "apache.10.txt";
048      String inputFileApacheClean = inputPath + "apache-clean.10.txt";
049      String inputFileApache200 = inputPath + "apache.200.txt";
050      String inputFileIps = inputPath + "ips.20.txt";
051      String inputFileNums20 = inputPath + "nums.20.txt";
052      String inputFileNums10 = inputPath + "nums.10.txt";
053      String inputFileCritics = inputPath + "critics.txt";
054      String inputFileUpper = inputPath + "upper.txt";
055      String inputFileLower = inputPath + "lower.txt";
056      String inputFileLowerOffset = inputPath + "lower-offset.txt";
057      String inputFileJoined = inputPath + "lower+upper.txt";
058      String inputFileJoinedExtra = inputPath + "extra+lower+upper.txt";
059      String inputFileLhs = inputPath + "lhs.txt";
060      String inputFileRhs = inputPath + "rhs.txt";
061      String inputFileCross = inputPath + "lhs+rhs-cross.txt";
062      String inputFileCrossX2 = inputPath + "lhs+rhs-cross-x2.txt";
063      String inputFileLhsSparse = inputPath + "lhs-sparse.txt";
064      String inputFileRhsSparse = inputPath + "rhs-sparse.txt";
065    
066      String testDelimited = inputPath + "delimited.txt";
067      String testDelimitedHeader = inputPath + "delimited-header.txt";
068      String testDelimitedSpecialCharData = inputPath + "delimited-spec-char.txt";
069      String testDelimitedExtraField = inputPath + "delimited-extra-field.txt";
070    
071      String inputFileComments = inputPath + "comments+lower.txt";
072    
073      String testClasspathJar = inputPath + "test-classpath.jar";
074      String testClasspathJarContents = "apache.10.txt";
075      }