Author: olivier
Date: 2007-06-24 06:53:13 -0400 (Sun, 24 Jun 2007)
New Revision: 80619
Modified:
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ChangeLog
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ParserTest.cs
Log:
2007-06-24 Olivier Dufour <[EMAIL PROTECTED]>
* ParserTest.cs : uncomment for statement test
Modified:
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ChangeLog
===================================================================
---
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ChangeLog
2007-06-24 10:51:54 UTC (rev 80618)
+++
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ChangeLog
2007-06-24 10:53:13 UTC (rev 80619)
@@ -1,3 +1,7 @@
+2007-06-24 Olivier Dufour <[EMAIL PROTECTED]>
+
+ * ParserTest.cs : uncomment for statement test
+
2007-06-23 Olivier Dufour <[EMAIL PROTECTED]>
* ParserTest.cs : Add all statement test and temporary comment
Modified:
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ParserTest.cs
===================================================================
---
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ParserTest.cs
2007-06-24 10:51:54 UTC (rev 80618)
+++
trunk/olive/class/Microsoft.JScript.Compiler/Test/Microsoft.JScript.Compiler/ParserTest.cs
2007-06-24 10:53:13 UTC (rev 80619)
@@ -111,7 +111,7 @@
[Test]
public void ForTest ()
{
- /*parser = new Parser ("for (var i = 0 ; i < 5 ; i++ )
{ break; }".ToCharArray ());
+ parser = new Parser ("for (var i = 0 ; i < 5 ; i++ ) {
break; }".ToCharArray ());
List<Comment> comments = new List<Comment> ();
DList<Statement, BlockStatement> list =
parser.ParseProgram (ref comments);
DList<Statement, BlockStatement>.Iterator it = new
DList<Statement, BlockStatement>.Iterator (list);
@@ -120,8 +120,7 @@
Assert.IsInstanceOfType (typeof (BlockStatement),
forst.Body, "#7.2");
it = new DList<Statement, BlockStatement>.Iterator
(((BlockStatement)forst.Body).Children);
Assert.IsInstanceOfType (typeof
(BreakOrContinueStatement), it.Element, "#7.3");
- Assert.IsTrue (parser.SyntaxOK ());*/
- Assert.Fail ();
+ Assert.IsTrue (parser.SyntaxOK ());
}
[Test]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches