1 // 2 // ANTLRCommonTreeTest.h 3 // ANTLR 4 // 5 // Created by Ian Michell on 26/05/2010. 6 // Copyright 2010 Ian Michell and Alan Condit. All rights reserved. 7 // 8 9 #import <SenTestingKit/SenTestingKit.h> 10 11 12 @interface ANTLRCommonTreeTest : SenTestCase 13 { 14 } 15 16 -(void) test01InitAndRelease; 17 -(void) test02InitWithTree; 18 -(void) test03WithToken; 19 -(void) test04InvalidTreeNode; 20 -(void) test05InitWithCommonTreeNode; 21 -(void) test06CopyTree; 22 -(void) test07Description; 23 -(void) test08Text; 24 -(void) test09AddChild; 25 -(void) test10AddChildren; 26 -(void) test11AddSelfAsChild; 27 -(void) test12AddEmptyChildWithNoChildren; 28 -(void) test13AddEmptyChildWithChildren; 29 -(void) test14ChildAtIndex; 30 -(void) test15SetChildAtIndex; 31 -(void) test16GetAncestor; 32 -(void) test17FirstChildWithType; 33 -(void) test18SanityCheckParentAndChildIndexesForParentTree; 34 -(void) test19DeleteChild; 35 -(void) test20TreeDescriptions; 36 -(void) test21ReplaceChildrenAtIndexWithNoChildren; 37 -(void) test22ReplaceChildrenAtIndex; 38 -(void) test23ReplaceChildrenAtIndexWithChild; 39 -(void) test24ReplacechildrenAtIndexWithLessChildren; 40 -(void) test25ReplacechildrenAtIndexWithMoreChildren; 41 42 @end 43