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