[Mono-bugs] [Bug 35236][Maj] New - NUnit IndexOutOfRangeException

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 Dec 2002 05:42:06 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by juancri@tagnet.org.

http://bugzilla.ximian.com/show_bug.cgi?id=35236

--- shadow/35236	Sat Dec  7 00:42:06 2002
+++ shadow/35236.tmp.25703	Sat Dec  7 00:42:06 2002
@@ -0,0 +1,51 @@
+Bug#: 35236
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: juancri@tagnet.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NUnit IndexOutOfRangeException
+
+(Note: submitted to Mono/Class Libraries. I don't see any NUnit category)
+
+Description of Problem:
+NUtit produces the IndexOutOfRangeExpcetion
+
+
+Steps to reproduce the problem:
+run: mono NUnitConsole_mono.exe something
+
+Actual Results:
+Array index is out of range
+in NUnit.Runner.StandardLoader:LoadTest (string)
+.etc..
+
+Expected Results:
+a normal output?
+
+How often does this happen? 
+always
+
+Additional Information:
+File: StandardLoader.cs
+Lines: 187 - 189
+
+if(nameParts.Length >= 1)
+{
+	return this.LoadTest(nameParts[0].Trim(),nameParts[1].Trim());
+
+it should be:
+
+if(nameParts.Length > 1)
+or
+if(nameParts.Length >= 2)