NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can only create new topics. Any topics you do create that are not checked into subversion may be deleted by anyone, at any time.
Description: Check for the correct detection and handling of recursive and repeated includes
run this test
Designed by: Crawford Currie
Recursion detection and avoidance
Expected
There was an old Man of the coast
There was an old Man of the coast
- Warning
- Can't INCLUDE TestCases.RecursiveInclude repeatedly, topic is already included.
Who placidly sat on a post;
But when it was cold
He relinquished his hold
And called for some hot buttered toast.
Who placidly sat on a post;
But when it was cold
He relinquished his hold
And called for some hot buttered toast.
Actual
There was an old Man of the coast
There was an old Man of the coast
- Warning
- Can't INCLUDE TestCases.RecursiveInclude repeatedly, topic is already included.
Who placidly sat on a post;
But when it was cold
He relinquished his hold
And called for some hot buttered toast.
Who placidly sat on a post;
But when it was cold
He relinquished his hold
And called for some hot buttered toast.
File not found
Expected
Warning: Can't find topic TestCases.FileNotFound
Actual
Warning: Can't find topic TestCases.FileNotFound
References to BASETOPIC and INCLUDINGTOPIC
Expected
TestCaseAutoIncludes
TestCaseAutoIncludes
hubba
TestCaseAutoIncludes
IncludedTopic
Actual
TestCaseAutoIncludes
TestCaseAutoIncludes
hubba
TestCaseAutoIncludes
IncludedTopic
Parameterized includes
Expected
%A% %B% %C%
1 2 3 %A% %B% %C%
Actual
%A% %B% %C%
1 2 3 %A% %B% %C%
Include nothing
Expected
Warning: Can't find topic "".""
Actual
Warning: Can't find topic "".""
Include nothing with warning
Expected
Actual