Lines Matching refs:NodeTest
1314 NodeTest: IRewriteRuleNodeStream;
1317 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
1319 CheckFalse(NodeTest.HasNext);
1320 CheckEquals(Description, NodeTest.Description);
1321 CheckEquals(NodeTest.Size, 0);
1322 NodeTest.Reset;
1323 CheckEquals(NodeTest.Size, 0);
1324 NodeTest.NextNode;
1331 NodeTest: IRewriteRuleNodeStream;
1334 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
1335 NodeTest.NextTree;
1340 NodeTest: IRewriteRuleNodeStream;
1346 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, 'RewriteRuleNodeStream test');
1351 NodeTest.Add(Tree1);
1352 CheckEquals(NodeTest.Size, 1);
1353 CheckTrue(NodeTest.HasNext);
1356 ReturnedTree := NodeTest.NextNode as ICommoNTree;
1358 CheckEquals(NodeTest.Size, 1);
1359 CheckFalse(NodeTest.HasNext);
1360 NodeTest.Reset;
1361 CheckEquals(NodeTest.Size, 1);
1362 CheckTrue(NodeTest.HasNext);
1365 ReturnedTree := NodeTest.NextTree as ICommonTree;
1367 CheckEquals(NodeTest.Size, 1);
1368 CheckFalse(NodeTest.HasNext);
1369 NodeTest.Reset;
1370 CheckEquals(NodeTest.Size, 1);
1371 CheckTrue(NodeTest.HasNext);
1376 NodeTest.Add(Tree2);
1377 CheckEquals(NodeTest.Size, 2);
1378 CheckTrue(NodeTest.HasNext);
1379 ReturnedTree := NodeTest.NextTree as ICommonTree;
1381 CheckEquals(NodeTest.Size, 2);
1382 CheckTrue(NodeTest.HasNext);
1383 ReturnedTree := NodeTest.NextTree as ICommonTree;
1385 CheckFalse(NodeTest.HasNext);
1388 NodeTest.NextTree;