dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestSByte.cs,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System TestSByte.cs,1.2,1.3 TestString.cs,1.3,1.4
Date: Tue, 19 Nov 2002 21:14:19 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System
In directory subversions:/tmp/cvs-serv3786/tests/runtime/System

Modified Files:
        TestSByte.cs TestString.cs 
Log Message:


Rename some of the test cases to make it clearer which class is
failing a particular test.


Index: TestSByte.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestSByte.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TestSByte.cs        5 Oct 2002 04:45:44 -0000       1.2
--- TestSByte.cs        20 Nov 2002 02:14:16 -0000      1.3
***************
*** 45,49 ****
                        }
        
!       public void TestParseString0()
        {
                sbyte x = SByte.Parse("0");
--- 45,49 ----
                        }
        
!       public void TestSByteParseString0()
        {
                sbyte x = SByte.Parse("0");
***************
*** 52,56 ****
        }
  
!       public void TestParseString42()
        {
                sbyte x = SByte.Parse("42");
--- 52,56 ----
        }
  
!       public void TestSByteParseString42()
        {
                sbyte x = SByte.Parse("42");
***************
*** 59,63 ****
        }
  
!       public void TestParseStringMinus42()
        {
                sbyte x = SByte.Parse("-42");
--- 59,63 ----
        }
  
!       public void TestSByteParseStringMinus42()
        {
                sbyte x = SByte.Parse("-42");
***************
*** 66,70 ****
        }
  
!       public void TestParseStringOverflow()
        {
                try {
--- 66,70 ----
        }
  
!       public void TestSByteParseStringOverflow()
        {
                try {
***************
*** 77,81 ****
        }
  
!       public void TestParseStringUnderflow()
        {
                try {
--- 77,81 ----
        }
  
!       public void TestSByteParseStringUnderflow()
        {
                try {
***************
*** 88,92 ****
        }
  
!       public void TestParseStringJunk()
        {
                try {
--- 88,92 ----
        }
  
!       public void TestSByteParseStringJunk()
        {
                try {
***************
*** 99,103 ****
        }
  
!       public void TestParseStringNull()
        {
                try {
--- 99,103 ----
        }
  
!       public void TestSByteParseStringNull()
        {
                try {

Index: TestString.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/TestString.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** TestString.cs       19 Nov 2002 05:48:13 -0000      1.3
--- TestString.cs       20 Nov 2002 02:14:16 -0000      1.4
***************
*** 46,50 ****
  
        //Methods
!       public void TestClone()
        {
                String fubar = "Foo Bar";
--- 46,50 ----
  
        //Methods
!       public void TestStringClone()
        {
                String fubar = "Foo Bar";
***************
*** 1239,1243 ****
        }
  
!       public void TestChars()
        {
                char[] fu = new char[] { 'F', 'o', 'o', ' ', 'B', 'a', 'r' };
--- 1239,1243 ----
        }
  
!       public void TestStringChars()
        {
                char[] fu = new char[] { 'F', 'o', 'o', ' ', 'B', 'a', 'r' };
***************
*** 1275,1279 ****
                }
        }
!       public void TestLength()
        {
                AssertEquals("\"Foo Bar\".Length","Foo Bar".Length,7);
--- 1275,1279 ----
                }
        }
!       public void TestStringLength()
        {
                AssertEquals("\"Foo Bar\".Length","Foo Bar".Length,7);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]