Add another interface test selecting just one base as an interface

This commit is contained in:
William S Fulton 2016-02-12 22:33:21 +00:00
commit 67f38e8124
2 changed files with 24 additions and 1 deletions

View file

@ -58,6 +58,16 @@ public class multiple_inheritance_interfaces_runme {
checkBaseAndInterfaces(L.class, false, "", new String[] {"IJ", "IK", "IL"});
checkBaseAndInterfaces(M.class, false, "", new String[] {"IJ", "IK", "IL"});
checkBaseAndInterfaces(P.class, false, "", new String[] {});
checkBaseAndInterfaces(IQ.class, true, "", new String[] {});
checkBaseAndInterfaces(Q.class, false, "", new String[] {"IQ"});
checkBaseAndInterfaces(R.class, false, "P", new String[] {"IQ"});
checkBaseAndInterfaces(S.class, false, "P", new String[] {"IQ"});
checkBaseAndInterfaces(T.class, false, "", new String[] {"IQ"});
checkBaseAndInterfaces(U.class, false, "R", new String[] {});
checkBaseAndInterfaces(V.class, false, "S", new String[] {});
checkBaseAndInterfaces(W.class, false, "T", new String[] {});
// overloaded methods check
D d = new D();
d.ia();