Nice/testsuite/compiler/methods globalconstant.testsuite,1.12,1.13 implementations.testsuite,1.19,1.20 integer.testsuite,1.17,1.18 nullness.testsuite,1.3,1.4 string.testsuite,1.8,1.9

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

Modified Files:
	globalconstant.testsuite implementations.testsuite 
	integer.testsuite nullness.testsuite string.testsuite 
Log Message:
Added more failure locations.

Index: implementations.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/implementations.testsuite,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** implementations.testsuite	1 Mar 2005 18:56:21 -0000	1.19
--- implementations.testsuite	12 Mar 2005 19:24:45 -0000	1.20
***************
*** 2,6 ****
    /// Toplevel
    class A {
!     void m();
    }
  
--- 2,6 ----
    /// Toplevel
    class A {
!     void /* /// FAIL HERE */ m();
    }
  
***************
*** 74,78 ****
   
    void foo(I);
!   foo(#I x){}
  
  /// FAIL
--- 74,78 ----
   
    void foo(I);
!   foo(# /* /// FAIL HERE */ I x){}
  
  /// FAIL
***************
*** 81,85 ****
   
    void foo(X);
!   foo(#X x){}
  
  /// FAIL
--- 81,85 ----
   
    void foo(X);
!   foo(# /* /// FAIL HERE */ X x){}
  
  /// FAIL
***************
*** 89,93 ****
  
  void foo(B x);
! foo(A x){}
  
  /// PASS
--- 89,93 ----
  
  void foo(B x);
! foo(/* /// FAIL HERE */ A x){}
  
  /// PASS

Index: globalconstant.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/globalconstant.testsuite,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** globalconstant.testsuite	12 Mar 2005 02:41:43 -0000	1.12
--- globalconstant.testsuite	12 Mar 2005 19:24:45 -0000	1.13
***************
*** 21,25 ****
    /// Toplevel
    let int xxx = 10;
!   void foo(int);
    foo(n) {}
    foo(xxx) {}
--- 21,25 ----
    /// Toplevel
    let int xxx = 10;
!   void /* /// FAIL HERE */ foo(int);
    foo(n) {}
    foo(xxx) {}
***************
*** 31,35 ****
    void foo(int);
    foo(n) {}
!   foo(xxx) {}
  
  /// PASS
--- 31,35 ----
    void foo(int);
    foo(n) {}
!   foo( /* /// FAIL HERE */ xxx) {}
  
  /// PASS
***************
*** 72,76 ****
    class A {}
    let A xxx = new A();
!   void foo(A);
    foo(a) {}
    foo(xxx) {}
--- 72,76 ----
    class A {}
    let A xxx = new A();
!   void /* /// FAIL HERE */ foo(A);
    foo(a) {}
    foo(xxx) {}
***************
*** 110,114 ****
    void foo(int n);
    foo(n) {}
!   foo(n>xyz) {}  
  
  /// FAIL
--- 110,114 ----
    void foo(int n);
    foo(n) {}
!   foo(n> /* /// FAIL HERE */ xyz) {}  
  
  /// FAIL
***************
*** 117,121 ****
    void foo(int n);
    foo(n) {}
!   foo(n>xyz) {}  
  
  /// FAIL
--- 117,121 ----
    void foo(int n);
    foo(n) {}
!   foo(n> /* /// FAIL HERE */ xyz) {}  
  
  /// FAIL
***************
*** 123,127 ****
    void foo(int n);
    foo(n) {}
!   foo(n>xyz) {}  
  
  
--- 123,127 ----
    void foo(int n);
    foo(n) {}
!   foo(n> /* /// FAIL HERE */ xyz) {}  
  
  
***************
*** 138,142 ****
    boolean foo(String d);
    foo(d) = false;
!   foo(END_OF_TIME) = true;
    let Date END_OF_TIME = new Date(Long.MAX_VALUE);
  
--- 138,142 ----
    boolean foo(String d);
    foo(d) = false;
!   foo( /* /// FAIL HERE */ END_OF_TIME) = true;
    let Date END_OF_TIME = new Date(Long.MAX_VALUE);
  

Index: string.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/string.testsuite,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** string.testsuite	12 Mar 2005 02:41:43 -0000	1.8
--- string.testsuite	12 Mar 2005 19:24:45 -0000	1.9
***************
*** 19,23 ****
  /// FAIL
    /// Toplevel
!   void foo(String);
    foo(s) {}
    foo("abc") {}
--- 19,23 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(String);
    foo(s) {}
    foo("abc") {}
***************
*** 26,30 ****
  /// FAIL
    /// Toplevel
!   void foo(String, String);
    foo(s1 ,s2) {}
    foo("abc", s2) {}
--- 26,30 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(String, String);
    foo(s1 ,s2) {}
    foo("abc", s2) {}

Index: nullness.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/nullness.testsuite,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** nullness.testsuite	1 Mar 2005 18:56:21 -0000	1.3
--- nullness.testsuite	12 Mar 2005 19:24:45 -0000	1.4
***************
*** 1,5 ****
  /// FAIL
    /// Toplevel
!   void m(?String);
    m(String x) {}
  
--- 1,5 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ m(?String);
    m(String x) {}
  

Index: integer.testsuite
===================================================================
RCS file: /cvsroot/nice/Nice/testsuite/compiler/methods/integer.testsuite,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** integer.testsuite	1 Mar 2005 18:56:21 -0000	1.17
--- integer.testsuite	12 Mar 2005 19:24:45 -0000	1.18
***************
*** 14,18 ****
  /// FAIL  
    /// Toplevel
!   int ack(int x, int y);
    // missing (0,0) case
    ack(0, int y) = y+1;
--- 14,18 ----
  /// FAIL  
    /// Toplevel
!   int /* /// FAIL HERE */ ack(int x, int y);
    // missing (0,0) case
    ack(0, int y) = y+1;
***************
*** 23,27 ****
  /// FAIL  
    /// Toplevel
!   String toStr(char);
    toStr(char x) = "";
    toStr('a') = "a";
--- 23,27 ----
  /// FAIL  
    /// Toplevel
!   String /* /// FAIL HERE */ toStr(char);
    toStr(char x) = "";
    toStr('a') = "a";
***************
*** 55,59 ****
   /// Toplevel
   // The default case is missing
! void foo(short);
  foo(0) {}
  foo(1) {}
--- 55,59 ----
   /// Toplevel
   // The default case is missing
! void /* /// FAIL HERE */ foo(short);
  foo(0) {}
  foo(1) {}
***************
*** 77,81 ****
    void foo(long);
    foo(long n) {}
!   foo(int n) {}
  
  /// FAIL
--- 77,81 ----
    void foo(long);
    foo(long n) {}
!   foo( /* /// FAIL HERE */ int n) {}
  
  /// FAIL
***************
*** 83,87 ****
    void foo(long);
    foo(long n) {}
!   foo(#int n) {}
  
  /// PASS
--- 83,87 ----
    void foo(long);
    foo(long n) {}
!   foo(# /* /// FAIL HERE */ int n) {}
  
  /// PASS
***************
*** 119,123 ****
  /// FAIL
    /// Toplevel
!   void foo(int n);
    foo(n>5) {}
    foo(n<=3) {}
--- 119,123 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(int n);
    foo(n>5) {}
    foo(n<=3) {}
***************
*** 134,138 ****
  
  /// FAIL
!   void foo(int n);
    foo(n) {}
    foo(n>=5) {}
--- 134,139 ----
  
  /// FAIL
!   /// Toplevel
!   void /* /// FAIL HERE */ foo(int n);
    foo(n) {}
    foo(n>=5) {}
***************
*** 158,162 ****
  /// FAIL
    /// Toplevel
!   void foo(int n, int m);
    foo(n>0, m) {}
    foo(n, m>0) {}
--- 159,163 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(int n, int m);
    foo(n>0, m) {}
    foo(n, m>0) {}
***************
*** 177,181 ****
  /// FAIL
    /// Toplevel
!   void foo(int n);
    foo(n) {}
    foo(n>5) {}
--- 178,182 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(int n);
    foo(n) {}
    foo(n>5) {}
***************
*** 216,220 ****
  /// FAIL
    /// Toplevel
!   void foo(int n);
    foo(n<=1) {}
    foo(n>=0) {}
--- 217,221 ----
  /// FAIL
    /// Toplevel
!   void /* /// FAIL HERE */ foo(int n);
    foo(n<=1) {}
    foo(n>=0) {}



-------------------------------------------------------
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