[Nice-commit] Nice/testsuite/compiler/methods coverage.testsuite,1.8,1.9
Brought to you by:
bonniot
From: Daniel B. <bo...@us...> - 2005-05-27 10:24:40
|
Update of /cvsroot/nice/Nice/testsuite/compiler/methods In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16245/testsuite/compiler/methods Modified Files: coverage.testsuite Log Message: Testcases for coverage with Object arguments (corresponding to the changes commited on 05/26/2005 05:22 PM). Index: coverage.testsuite =================================================================== RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/coverage.testsuite,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** coverage.testsuite 21 Mar 2005 21:46:08 -0000 1.8 --- coverage.testsuite 27 May 2005 10:24:31 -0000 1.9 *************** *** 52,53 **** --- 52,82 ---- foo(A x) {} foo(K x) {} + + /// FAIL + /// Toplevel + interface I { + void /*/// FAIL HERE */ foo(Object o1); + } + class A implements I {} + + /// PASS + /// Toplevel + interface I1 {} + interface I2 {} + + void foo(I1 i1, I2 i2, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6); + + class A implements I1 {} + foo(A a, i2, o1, o2, o3, o4, o5, o6) {} + + /// FAIL + /// Toplevel + interface I1 {} + interface I2 {} + + void /*/// FAIL HERE */ foo(I1 i1, I2 i2, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6); + + class A1 implements I1 {} + class A2 implements I2 {} + + // foo implementation missing |