deprecated all add/with Output/Input FromString methods
added test to confirm that using InputFromString with a mapper or reducer that doesnt take a Text will throw a ClassCastException which is probably good enough
However, OutputFromString is confusing because the log output will print the exact same output which isnt equal because the classes dont match. Added to additional else if statements in TestDriver to throw/log a more meaningful error such as "Missing expected output (a, 1): Mismatch in value class: expected: class org.apache.hadoop.io.Text actual: class org.apache.hadoop.io.LongWritable" instead of seeing:
Received unexpected output (a, 1)
MIssing expected output (a, 1)
Only test these cases in mrunit.TestMapDriver because all validation is done through the common TestDriver class
After a release are we going to delete these methods, they seem to add more confusion than they are worth?