Lines Matching defs:expected
95 public void assertSubtype(Type s, Type t, boolean expected) {
96 if (types.isSubtype(s, t) != expected) {
97 String msg = expected ?
110 public void assertSameType(Type s, Type t, boolean expected) {
111 if (types.isSameType(s, t) != expected) {
112 String msg = expected ?
125 public void assertCastable(Type s, Type t, boolean expected) {
126 if (types.isCastable(s, t) != expected) {
127 String msg = expected ?
140 public void assertConvertible(Type s, Type t, boolean expected) {
141 if (types.isConvertible(s, t) != expected) {
142 String msg = expected ?
155 public void assertAssignable(Type s, Type t, boolean expected) {
156 if (types.isAssignable(s, t) != expected) {
157 String msg = expected ?
170 public void assertValidGenericType(Type t, boolean expected) {
171 if (chk.checkValidGenericType(t) != expected) {
172 String msg = expected ?