String[] joinTypes = new String[] { "replicated", "repl", "skewed", "merge" };
for (int i = 0; i < types.length; i++) {
for(int j = 0; j < joinTypes.length; j++) {
boolean errCaught = false;
try {
lpt.buildPlanThrowExceptionOnError(
"d = join a by $0 " + types[i] + " outer, b by $0 using \"" + joinTypes[j] +"\" ;") ;
} catch(Exception e) {
errCaught = true;
assertEquals(true, e.getMessage().contains("does not support (left|right|full) outer joins"));