Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Description: Tests for the "sort" parameter in SEARCH.
run this test
Designed by: Lynnwood Brown
Topics created for test (Text Item; Number Item; Created; Modified):
Test searchesSearch ordered by Topic NameThis search should be ordered by sequence of values in "Topic Name" field.Expected<-- expected rex SORT BY TOPIC NAME -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search ordered by Topic Name, reversedThis search should be ordered by reversed sequence of values in "Topic Name" field.Expected<-- expected rex SORT BY REV TOPIC NAME -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /actual --> Search ordered by Topic Name, limited to 2This search should be ordered by sequence of values in "Topic Name" field.Expected<-- expected rex SORT BY TOPIC NAME LIMITED TO 2 -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search ordered by Topic Name, reversed, limited to 2This search should be ordered by reversed sequence of values in "Topic Name" field.Expected<-- expected rex SORT BY REV TOPIC NAME LIMITED TO 2 -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search ordered by "Text Item" formfieldThis search should be ordered by sequence of values in "Text Item" field.Expected<-- expected rex SORT BY TEXT ITEM -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search ordered by "Text Item" formfield, reversedThis search should be ordered by reversed sequence of values in "Text Item" field.Expected<-- expected rex SORT BY REV TEXT ITEM -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /actual --> <-- yes, reverse="off". That's what search does, it interprets "off" as "on" --> Search ordered by "Text Item" formfield, limited to 2This search should be ordered by sequence of values in "Text Item" field.Expected<-- expected rex SORT BY TEXT ITEM LIMITED TO 2 -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search ordered by "Text Item" formfield, reversed, limited to 2This search should be ordered by reversed sequence of values in "Text Item" field.Expected<-- expected rex SORT BY REV TEXT ITEM LIMITED TO 2 -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> <-- yes, reverse="off". That's what search does, it interprets "off" as "on" --> Search ordered by "Number Item" formfieldThis search should be ordered by sequence of values in "Number Item" field.Expected<-- expected rex SORT BY NUMBER ITEM -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /actual --> Search ordered by "Number Item" formfield, reversedThis search should be ordered by reversed sequence of values in "Number Item" field.Expected<-- expected rex SORT BY REV NUMBER ITEM -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search sorted by "Number Item" formfield, limited to 2This search should be sorted by sequence of values in "Number Item" field.Expected<-- expected rex SORT BY NUMBER ITEM LIMITED TO 2 -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search sorted by "Number Item" formfield, reversed, limited to 2This search should be sorted by reversed sequence of values in "Number Item" field.Expected<-- expected rex SORT BY REV NUMBER ITEM LIMITED TO 2 -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search sorted by date modifiedThis search should be sorted in sequence of values in "Modified" field (newest first).Expected<-- expected rex SORT BY DATE MODIFIED -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search sorted by date modified, reversedThis search should be sorted in sequence of values in "Modified" field (oldest recently modified first).Expected<-- expected rex SORT BY REV DATE MODIFIED -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /expected --> Actual<-- actual -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /actual --> Search sorted by date modified, limited to 2This search should be sorted in sequence of values in "Modified" field (newest first).Expected<-- expected rex SORT BY DATE MODIFIED LIMITED TO 2 -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search sorted by date modified, reversed, limited to 2This search should be sorted in sequence of values in "Modified" field (oldest recently modified first).Expected<-- expected rex SORT BY REV DATE MODIFIED LIMITED TO 2 -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search sorted by date created<-- expected rex SORT BY DATE CREATED -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 <-- /actual --> Search sorted by date created, reversed<-- expected rex SORT BY REV DATE CREATED -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 <-- /actual --> Search sorted by date created, limited to 2<-- expected rex SORT BY DATE CREATED LIMITED TO 2 -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search sorted by date created, reversed, limited to 2<-- expected rex SORT BY REV DATE CREATED LIMITED TO 2 -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59 SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23 <-- /actual --> Search sorted by editby, limited to 2<-- expected rex SORT BY DATE CREATED LIMITED TO 2 -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23; AnnaAncher SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56; KennethLavrsen <-- /expected --> Actual<-- actual -->SearchTestTopic2; Value_2; 2; 2005-12-14 - 21:58; 2005-12-14 - 22:23; AnnaAncher SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56; KennethLavrsen <-- /actual --> Search sorted by editby, reversed, limited to 2<-- expected rex SORT BY REV DATE CREATED LIMITED TO 2 -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59; MichaelAncher SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56; KennethLavrsen <-- /expected --> Actual<-- actual -->SearchTestTopic3; Value_3; 1; 2005-12-14 - 21:59; 2005-12-14 - 21:59; MichaelAncher SearchTestTopic1; Value_1; 3; 2005-12-14 - 21:56; 2005-12-14 - 21:56; KennethLavrsen <-- /actual --> |