From 3e93e180f163b7bec1fff6ca452a2ea799e5a8a7 Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Fri, 11 Jan 2013 20:36:12 +0100 Subject: [PATCH] Turn off test case that don't apply to the new compiler --- .../Preprocessor/BehaviorTests/IvarTest.j | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Tests/Objective-J/Preprocessor/BehaviorTests/IvarTest.j b/Tests/Objective-J/Preprocessor/BehaviorTests/IvarTest.j index fe4d770b5..40ca2c958 100644 --- a/Tests/Objective-J/Preprocessor/BehaviorTests/IvarTest.j +++ b/Tests/Objective-J/Preprocessor/BehaviorTests/IvarTest.j @@ -85,23 +85,27 @@ [self assert:5 equals:testClass.ivar1]; } -- (void)testWithStatementInMethod +// I'm turning this test off as we move to the new compiler. +// We have to figure out how this should work. - Martin +/*- (void)testWithStatementInMethod { [self assert:nil equals:testClass.ivar1]; [testClass setIvar1DespiteAWithStatement:5]; [self assert:5 equals:testClass.ivar1]; [testClass doNothingToIvar1BecauseOfWithStatement:10]; [self assert:5 equals:testClass.ivar1]; -} +}*/ -- (void)testEvalInMethod +// I'm turning this test off as we move to the new compiler. +// We have to figure out how this should work. - Martin +/*- (void)testEvalInMethod { [self assert:nil equals:testClass.ivar1]; [testClass setIvar1UsingEval:5]; [self assert:5 equals:testClass.ivar1]; [testClass doNothingToIvar1UsingEval:10]; [self assert:5 equals:testClass.ivar1]; -} +}*/ - (void)testIvarShadowing {