    001/*
    002 * Copyright (c) 2007-2017 Xplenty, 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
    021package data;
    022
    023public 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 inputFileCrossNulls = inputPath + "lhs+rhs-cross-nulls.txt";
    045  String inputFileCrossRev = inputPath + "lhs+rhs-cross-rev.txt";
    046  String inputFileCrossX2 = inputPath + "lhs+rhs-cross-x2.txt";
    047  String inputFileLhsSparse = inputPath + "lhs-sparse.txt";
    048  String inputFileRhsSparse = inputPath + "rhs-sparse.txt";
    049  String inputFileUnexpectedEndOfFile = inputPath + "unexpectedEndOfFile.gz";
    050
    051  String testDelimited = inputPath + "delimited.txt";
    052  String testDelimitedHeader = inputPath + "delimited-header.txt";
    053  String testDelimitedSpecialCharData = inputPath + "delimited-spec-char.txt";
    054  String testDelimitedExtraField = inputPath + "delimited-extra-field.txt";
    055  String testDelimitedProblematic = inputPath + "delimited-problematic.txt";
    056
    057  String inputFileComments = inputPath + "comments+lower.txt";
    058
    059  String testClasspathJar = inputPath + "test-classpath.jar";
    060  String testClasspathJarContents = "apache.10.txt";
    061
    062  String inputFileFirstBy = inputPath + "firstby.txt";
    063  }