Suite: System Tests TestBooleanConstants ... ok TestBooleanCompareTo ... ok TestBooleanEquals ... ok TestBooleanGetHashCode ... ok TestBooleanParse ... ok TestBooleanToString ... ok TestBooleanIConvertible ... failed: CSUnit.TestAssertFailed: Test failed: true.ToUInt64(null) expected: <1>, but was: <1> at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148 at CSUnit.TestCase.EqFail(String, Object, Object) in ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, Object, Object) in ./TestCase.cs:265 at TestBoolean.TestBooleanIConvertible() in TestBoolean.cs:237 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestConstructor ... ok TestCanonicalize ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_AbsolutePath() at TestUri.TestCanonicalize() in TestUri.cs:83 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUriCheckHostName ... threw exception: System.IndexOutOfRangeException: An array index was out of range at System.String.Split(Char, Int32) at System.Net.IPAddress.Parse(String) at System.Uri.CheckHostName(String) at TestUri.TestUriCheckHostName() in TestUri.cs:97 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUriCheckSchemeName ... failed: CSUnit.TestAssertFailed: Test failed: 6thsense is not a scheme name at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148 at CSUnit.TestCase.Assert(String, Boolean) in ./TestCase.cs:168 at TestUri.TestUriCheckSchemeName() in TestUri.cs:132 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUriEquals ... ok TestUriEscape ... ok TestUriEscapeString ... ok TestUriFromHex ... ok TestUriGetHashCode ... ok TestUriGetLeftPart ... ok TestUriHexEscape ... ok TestUriHexUnescape ... ok TestUriIsBadFileSystemCharacter ... ok TestUriIsExcludedCharacter ... ok TestUriIsHexDigit ... ok TestUriIsHexEncoding ... threw exception: System.IndexOutOfRangeException: An array index was out of range at System.Uri.IsHexEncoding(String, Int32) at TestUri.TestUriIsHexEncoding() in TestUri.cs:209 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUriIsReservedCharacter ... ok TestUriMakeRelative ... threw exception: System.ArgumentOutOfRangeException: String index is out of range Parameter name: startIndex at System.Text.StringBuilder.Remove(Int32, Int32) at System.Uri.MakeRelative(Uri) at TestUri.TestUriMakeRelative() in TestUri.cs:231 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUriToString ... ok TestUriUnescape ... ok TestAbsolutePath ... ok TestAbsoluteUri ... ok TestAuthority ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_Authority() at TestUri.TestAuthority() in TestUri.cs:268 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestFragment ... ok TestHost ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_Host() at TestUri.TestHost() in TestUri.cs:276 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestHostNameType ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_HostNameType() at TestUri.TestHostNameType() in TestUri.cs:280 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestIsDefaultPort ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_IsDefaultPort() at TestUri.TestIsDefaultPort() in TestUri.cs:284 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestIsFile ... ok TestIsLoopback ... ok TestLocalPath ... ok TestPathAndQuery ... ok TestPort ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_Port() at TestUri.TestPort() in TestUri.cs:304 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestQuery ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_Query() at TestUri.TestQuery() in TestUri.cs:308 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestScheme ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_Scheme() at TestUri.TestScheme() in TestUri.cs:312 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestUserEscaped ... ok TestUserInfo ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.Uri.get_UserInfo() at TestUri.TestUserInfo() in TestUri.cs:320 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestClone ... ok TestStringCompare ... failed: CSUnit.TestAssertFailed: Test failed: String.Compare("xyz","abc") at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148 at CSUnit.TestCase.Assert(String, Boolean) in ./TestCase.cs:168 at TestString.TestStringCompare() in TestString.cs:72 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestStringCompareOrdinal ... ok TestStringCompareTo ... ok TestStringConcat ... ok TestStringCopy ... ok TestStringCopyTo ... threw exception: System.NullReferenceException: The value 'null' was found where an instance of an object was required at System.String.CopyTo(Int32, Char, Int32, Int32) at TestString.TestStringCopyTo() in TestString.cs:192 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestStringEndsWith ... ok TestStringEquals ... failed: CSUnit.TestAssertFailed: Test failed: bad.Equals("nothing") should have thrown a ArgumentNullException at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148 at TestString.TestStringEquals() in TestString.cs:238 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestStringFormat ... failed: CSUnit.TestAssertFailed: Test failed: String.Format ("{0:x8}", 0xcafebabe),"cafebabe") expected: <3405691582>, but was: at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148 at CSUnit.TestCase.EqFail(String, Object, Object) in ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, String, String) in ./TestCase.cs:258 at TestString.TestStringFormat() in TestString.cs:305 at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder, Object, CultureInfo) at System.Reflection.MethodBase.Invoke(Object, Object) at CSUnit.TestCase.RunTest() in ./TestCase.cs:104 at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47 at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103 at CSUnit.TestMain.Main(String) in ./TestMain.cs:223 TestStringGetEnumerator ... ok TestStringGetHashCode ... ok TestStringIndexOf ... ok TestStringIndexOfAny ... ok TestStringInsert ... ok TestStringIntern ... ok TestStringIsInterned ... ok TestStringJoin ... ok TestStringLastIndexOf ... ok TestStringLastIndexOfAny ... ok TestStringPadLeft ... ok TestStringPadRight ... ok TestStringRemove ... ok TestStringReplace ... ok TestStringSplit ... ok TestStringStartsWith ... ok TestStringSubstring ... ok TestStringToCharArray ... ok TestStringToLower ... ok TestStringToString ... ok TestStringToUpper ... ok TestStringTrim ... ok TestStringTrimEnd ... ok TestStringTrimStart ... ok TestStringop_Equality ... ok TestStringop_Inequality ... ok TestChars ... ok TestLength ... ok 81 tests run, 36 tests failed