Skip to content

Commit

Permalink
Add failing test for MutableException with canonical names. #1124
Browse files Browse the repository at this point in the history
  • Loading branch information
mkordas authored and romani committed May 25, 2015
1 parent 917846a commit cdf3c38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void testDefault() throws Exception {
String[] expected = {
"6:9: " + getCheckMessage(MSG_KEY, "errorCode"),
"23:9: " + getCheckMessage(MSG_KEY, "errorCode"),
"46:9: " + getCheckMessage(MSG_KEY, "errorCode"),
};

verify(checkConfig, getPath("design" + File.separator + "InputMutableException.java"), expected);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public void someMethod() {
}
}
}

class CustomException extends java.lang.Exception {}

class CustomMutableException extends java.lang.Exception {
int errorCode;
}
}

0 comments on commit cdf3c38

Please sign in to comment.