Description: Automated search function tests.
Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with "pattern" skin and standard search templates.
run this test
Designed by: Crawford Currie
Search _default
Expected
<-- expected expand rex DEFAULT -->
Searched: hit me with your rhythm stick
<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
Number of topics: 2 <--/patternSearchResultCount-->
<-- /expected -->
Actual
<-- actual -->
Searched: hit me with your rhythm stick
<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult--> Number of topics: 2 <--/patternSearchResultCount-->
<-- /actual -->
Search with search parameter
Expected (again)
<-- expected again expand rex SEARCHPARAMETER -->
Same as last test
<-- /expected -->
Actual
<-- actual -->
Searched: hit me with your rhythm stick
<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult--> Number of topics: 2 <--/patternSearchResultCount-->
<-- /actual -->
Search with _default and search parameter
Expected (again)
<-- expected again expand rex DEFAULTANDSEARCH -->
Same as last test
<-- /expected -->
Actual
<-- actual -->
Searched: hit me with your rhythm stick
<--/twikiTopRow-->
Description: Automated search function tests. Results dependent on templates used to render search results. Tests only make sense when this topic is viewed with `pattern... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
This is a test fixture topic, used in TestCaseAutoSearch hit me with your rhythm stick hit me! hit me! schmerz ist gut, ich liebe dich hit me! hit me! hit me!... <--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult--> Number of topics: 2 <--/patternSearchResultCount-->
<-- /actual -->
Topic search with two webs specified, all summary fields disabled
Expected
<-- expected expand rex TWOWEBS -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Topic search with all webs specified
Expected
<-- expected expand rex ALLWEBS -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Text search with topic parameter
Expected
<-- expected expand rex TOPICPARAMETER -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Text search with excludetopic parameter set to a topic
Expected
<-- expected rex expand EXCLUDETOPICTOPIC -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Text search with excludetopic parameter set to a wildcard
Expected (again)
<-- expected again rex expand EXCLUDETOPICWILDCARD -->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Keyword search
Expected (again)
<-- expected again rex expand KEYWORDSEARCH -->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Text search with excludetopic set to a list of topics
Expected (empty)
<-- expected EXCLUDETOPICLIST -->
<-- /expected -->
Actual
<-- actual -->
<-- /actual -->
Text search with multiple set
Expected
<-- expected expand rex MULTIPLE -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
Regex search
Expected
<-- expected expand rex REGEX -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
scope="all" search
Expected
<-- expected expand rex SCOPEALL -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual -->
casesensitive="on"
Expected
<-- expected rex expand CASESENSITIVE -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /expected -->
Actual
<-- actual -->
<--/twikiTopRow-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<-- /actual --> |