Nice/testsuite/compiler/native methods.testsuite,1.5,1.6 synchronized.testsuite,1.4,1.5

Arjan Boeijink <[email protected]> Sat, 12 Mar 2005 15:06:15 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/testsuite/compiler/native
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11641/F:/nice/testsuite/compiler/native

Modified Files:
	methods.testsuite synchronized.testsuite 
Log Message:
Added some missing failure positions.

Index: methods.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/methods.testsuite,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** methods.testsuite	9 Aug 2003 21:01:51 -0000	1.5
--- methods.testsuite	12 Mar 2005 15:06:12 -0000	1.6
***************
*** 3,7 ****
  
  /// FAIL
!   byte->String f = Byte.toString();
  
  /// PASS
--- 3,7 ----
  
  /// FAIL
!   byte->String f = /* /// FAIL HERE */ Byte.toString();
  
  /// PASS

Index: synchronized.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/native/synchronized.testsuite,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** synchronized.testsuite	2 Feb 2004 00:47:32 -0000	1.4
--- synchronized.testsuite	12 Mar 2005 15:06:12 -0000	1.5
***************
*** 6,19 ****
    // COMMENT Synchronization cannot be done on primitive values.
    int i = 0;
!   synchronized(i) { }
  
  /// FAIL
    // COMMENT Synchronization must be done on non-null values.
!   synchronized(null) { }
  
  /// FAIL
    // COMMENT Synchronization must be done on non-null values.
    ?String s = "S";
!   synchronized(s) { }
  
  /// PASS
--- 6,19 ----
    // COMMENT Synchronization cannot be done on primitive values.
    int i = 0;
!   synchronized(/* /// FAIL HERE */ i) { }
  
  /// FAIL
    // COMMENT Synchronization must be done on non-null values.
!   synchronized(/* /// FAIL HERE */ null) { }
  
  /// FAIL
    // COMMENT Synchronization must be done on non-null values.
    ?String s = "S";
!   synchronized(/* /// FAIL HERE */ s) { }
  
  /// PASS



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click