MCPcopy Create free account
hub / github.com/apache/pig / PigTest

Method PigTest

test/org/apache/pig/pigunit/PigTest.java:83–92  ·  view source on GitHub ↗

Initializes the Pig test. @param args The list of arguments of the script. @param argFiles The list of file arguments of the script. @param pigTextScript The text of the Pig script to test with no substitution or change.

(String[] args, String[] argFiles, String pigTextScript)

Source from the content-addressed store, hash-verified

81 * @param pigTextScript The text of the Pig script to test with no substitution or change.
82 */
83 @SuppressWarnings("serial")
84 PigTest(String[] args, String[] argFiles, String pigTextScript) {
85 this.originalTextPigScript = pigTextScript;
86 this.args = args;
87 this.argFiles = argFiles;
88 this.aliasOverrides = new HashMap<String, String>() {{
89 put("STORE", "");
90 put("DUMP", "");
91 }};
92 }
93
94 public PigTest(String scriptPath) throws IOException {
95 this(null, null, readFile(scriptPath));

Callers

nothing calls this directly

Calls 4

readFileMethod · 0.95
joinMethod · 0.95
setMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected