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.

TestCaseAutoFormattedSearchDetails

Description: Automated formatted search tests verifying refactor of format= functionality in foswiki 1.1

The major risk is the default formatting where web's are separated - for paging and FORMAT we need to turn that off.

run this test

default search formatting - 1 expand rex old Tmwiki default multi-weboutput 4 webs

Expected

Searched: (WebPreferences|WebTopicList|WebHome)$

Results from TestCases web retrieved at @TIME (@REX(GMT|Local)

WebHome
TestCases Web If you are here, you want to test this version of Foswiki. This web is held in the Foswiki Subversion repository, so: 1 You must manually ensure that ...
WebPreferences
TestCases Web Preferences * Set BROADCASTMESSAGE = NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can ...
Number of topics: 3

Results from System web retrieved at @TIME (@REX(GMT|Local)

WebHome
Welcome to the System Web This is where Foswiki keeps system documentation, including documentation that is included with optional extensions. For most people, the ...
WebPreferences
System Web Preferences Appearance * Set WEBBGCOLOR = #FFD8AA * Set SITEMAPLIST = on * Set WEBSUMMARY = TOC settings * Set TOC_HIDE_IF_INCLUDED = ...
Number of topics: 3

Results from Main web retrieved at @TIME (@REX(GMT|Local)

WebHome
Welcome to the web Congratulations, you have finished installing Foswiki. This site is running Foswiki release *, Plugin API version * To learn more about Foswiki ...
WebPreferences
Main Web Preferences Appearance * Set WEBBGCOLOR = #FFEFA6 * web specific background color, current color * Set SITEMAPLIST = on * Set WEBSUMMARY ...
Number of topics: 3

Results from Sandbox web retrieved at @TIME (@REX(GMT|Local)

WebHome
%TWISTY{ link="" icon="add"}%" mode="div" }% %INCLUDE{ ".WebCreateNewTopicComponents" section="js" }% %INCLUDE{ ".WebCreateNewTopicComponents" ...
WebPreferences
Sandbox Web Preferences Appearance * Set WEBBGCOLOR = #B9DAFF * Set WEBSUMMARY = * Set SITEMAPLIST = on Wiki application settings * WebTopicEditTemplate ...
Number of topics: 3

Actual

Wyszukano: (WebPreferences|WebTopicList|WebHome)$

Wyniki z działu TestCases o godzinie: 12:06 (Local)

WebHome
TestCases Web If you are here, you want to test this version of Foswiki. This web is held in the Foswiki Subversion repository, so: 1 You must manually ensure that ...
WebPreferences
TestCases Web Preferences * Set BROADCASTMESSAGE = NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can ...
Liczba tematów: 3

Wyniki z działu System o godzinie: 12:06 (Local)

WebHome
Welcome to the System Web This is where Foswiki keeps system documentation, including documentation that is included with optional extensions. For most people, the ...
WebPreferences
System Web Preferences Appearance * Set WEBBGCOLOR = #FFD8AA * Set SITEMAPLIST = on * Set WEBSUMMARY = TOC settings * Set TOC_HIDE_IF_INCLUDED = ...
Liczba tematów: 3

Wyniki z działu Main o godzinie: 12:06 (Local)

WebHome
Welcome to the web Congratulations, you have finished installing Foswiki. This site is running Foswiki release *, Plugin API version * To learn more about Foswiki ...
WebPreferences
Main Web Preferences See also * SitePreferences Appearance * Set WEBBGCOLOR = #FFEFA6 * web specific background color, current color * Set SITEMAPLIST ...
Liczba tematów: 3

Wyniki z działu Sandbox o godzinie: 12:06 (Local)

WebHome
%TWISTY{ link="" icon="add"}%" mode="div" }% %INCLUDE{ ".WebCreateNewTopicComponents" section="js" }% %INCLUDE{ ".WebCreateNewTopicComponents" ...
WebPreferences
Sandbox Web Preferences Appearance * Set WEBBGCOLOR = #B9DAFF * Set WEBSUMMARY = * Set SITEMAPLIST = on Wiki application settings * WebTopicEditTemplate ...
Liczba tematów: 3

default search formatting, separator="-"

(shows separator is ignored if format isn't set)

Expected

Searched: (WebPreferences|WebTopicList|WebHome)$

Results from TestCases web retrieved at @TIME (@REX(GMT|Local)

WebHome
TestCases Web If you are here, you want to test this version of Foswiki. This web is held in the Foswiki Subversion repository, so: 1 You must manually ensure that ...
-
WebPreferences
nop TestCases Web Preferences * Set BROADCASTMESSAGE = NOTE: This is the nop TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web ...
--
Number of topics: 3

Results from System web retrieved at @TIME (@REX(GMT|Local)

WebHome
Welcome to the System Web This is where Foswiki keeps system documentation, including documentation that is included with optional extensions. For most people, the ...
-
WebPreferences
nop System Web Preferences Appearance * Set WEBBGCOLOR = yellow * Set SITEMAPLIST = on * Set WEBSUMMARY = TOC settings * Set TOC_HIDE_IF_INCLUDED ...
--
Number of topics: 3

Results from Main web retrieved at @TIME (@REX(GMT|Local)

WebHome
Welcome to the nop web Congratulations, you have finished installing Foswiki. This site is running Foswiki release , Plugin API version To learn more about ...
-
WebPreferences
nop Main Web Preferences Appearance * Set WEBBGCOLOR = yellow * web specific background color, current color * Set SITEMAPLIST = on * Set WEBSUMMARY ...
--
Number of topics: 3

Results from Sandbox web retrieved at @TIME (@REX(GMT|Local)

WebHome
" type "submit"}%
-
WebPreferences
nop Sandbox Web Preferences Appearance * Set WEBBGCOLOR = #B9DAFF * Set WEBSUMMARY = Sandbox test area to experiment in an unrestricted hands on web. ...
--
Number of topics: 3

Actual

Wyszukano: (WebPreferences|WebTopicList|WebHome)$

Wyniki z działu TestCases o godzinie: 12:06 (Local)

WebHome
TestCases Web If you are here, you want to test this version of Foswiki. This web is held in the Foswiki Subversion repository, so: 1 You must manually ensure that ...
-
WebPreferences
TestCases Web Preferences * Set BROADCASTMESSAGE = NOTE: This is the TestCases web. You cannot edit any topic named "TestCase..." or "Web..." in this web, you can ...
-
Liczba tematów: 3

Wyniki z działu System o godzinie: 12:06 (Local)

WebHome
Welcome to the System Web This is where Foswiki keeps system documentation, including documentation that is included with optional extensions. For most people, the ...
-
WebPreferences
System Web Preferences Appearance * Set WEBBGCOLOR = #FFD8AA * Set SITEMAPLIST = on * Set WEBSUMMARY = TOC settings * Set TOC_HIDE_IF_INCLUDED = ...
-
Liczba tematów: 3

Wyniki z działu Main o godzinie: 12:06 (Local)

WebHome
Welcome to the web Congratulations, you have finished installing Foswiki. This site is running Foswiki release *, Plugin API version * To learn more about Foswiki ...
-
WebPreferences
Main Web Preferences See also * SitePreferences Appearance * Set WEBBGCOLOR = #FFEFA6 * web specific background color, current color * Set SITEMAPLIST ...
-
Liczba tematów: 3

Wyniki z działu Sandbox o godzinie: 12:06 (Local)

WebHome
%TWISTY{ link="" icon="add"}%" mode="div" }% %INCLUDE{ ".WebCreateNewTopicComponents" section="js" }% %INCLUDE{ ".WebCreateNewTopicComponents" ...
-
WebPreferences
Sandbox Web Preferences Appearance * Set WEBBGCOLOR = #B9DAFF * Set WEBSUMMARY = * Set SITEMAPLIST = on Wiki application settings * WebTopicEditTemplate ...
-
Liczba tematów: 3

simple format=" * !$web.!$topic"

Expected

  • TestCases.WebHome
  • TestCases.WebPreferences
  • TestCases.WebTopicList
Number of topics: 3

  • System.WebHome
  • System.WebPreferences
  • System.WebTopicList
Number of topics: 3

  • Main.WebHome
  • Main.WebPreferences
  • Main.WebTopicList
Number of topics: 3

  • Sandbox.WebHome
  • Sandbox.WebPreferences
  • Sandbox.WebTopicList
Number of topics: 3

Actual

  • TestCases.WebHome
  • TestCases.WebPreferences
  • TestCases.WebTopicList
Liczba tematów: 3
  • System.WebHome
  • System.WebPreferences
  • System.WebTopicList
Liczba tematów: 3
  • Main.WebHome
  • Main.WebPreferences
  • Main.WebTopicList
Liczba tematów: 3
  • Sandbox.WebHome
  • Sandbox.WebPreferences
  • Sandbox.WebTopicList
Liczba tematów: 3

format=" * !$web.!$topic" separator="-"

Expected

  • TestCases.WebHome- * TestCases.WebPreferences- * TestCases.WebTopicList
    Number of topics: 3
  • System.WebHome- * System.WebPreferences- * System.WebTopicList
    Number of topics: 3
  • Main.WebHome- * Main.WebPreferences- * Main.WebTopicList
    Number of topics: 3
  • Sandbox.WebHome- * Sandbox.WebPreferences- * Sandbox.WebTopicList
    Number of topics: 3

Actual

  • TestCases.WebHome- * TestCases.WebPreferences- * TestCases.WebTopicList
    Liczba tematów: 3
  • System.WebHome- * System.WebPreferences- * System.WebTopicList
    Liczba tematów: 3
  • Main.WebHome- * Main.WebPreferences- * Main.WebTopicList
    Liczba tematów: 3
  • Sandbox.WebHome- * Sandbox.WebPreferences- * Sandbox.WebTopicList
    Liczba tematów: 3

format="<nop>$web.<nop>$topic" separator=" - " header=" * header $web " footer=" footer $web "

Note that the nototal is on which adds a new line correctly after the line listing the total

Expected

  • header TestCases TestCases.WebHome - TestCases.WebPreferences - TestCases.WebTopicList footer TestCases
    Number of topics: 3
  • header System System.WebHome - System.WebPreferences - System.WebTopicList footer System
    Number of topics: 3
  • header Main Main.WebHome - Main.WebPreferences - Main.WebTopicList footer Main
    Number of topics: 3
  • header Sandbox Sandbox.WebHome - Sandbox.WebPreferences - Sandbox.WebTopicList footer Sandbox
    Number of topics: 3

Actual

  • header TestCases TestCases.WebHome - TestCases.WebPreferences - TestCases.WebTopicList footer TestCases
    Liczba tematów: 3
  • header System System.WebHome - System.WebPreferences - System.WebTopicList footer System
    Liczba tematów: 3
  • header Main Main.WebHome - Main.WebPreferences - Main.WebTopicList footer Main
    Liczba tematów: 3
  • header Sandbox Sandbox.WebHome - Sandbox.WebPreferences - Sandbox.WebTopicList footer Sandbox
    Liczba tematów: 3

format="<nop>$topic" separator=", " header="| $web |" footer="|$n* and nototal

Note that there is no separator after last item and the only newline is the one added by the footer.

Expected

TestCases WebHome, WebPreferences, WebTopicList
System WebHome, WebPreferences, WebTopicList
Main WebHome, WebPreferences, WebTopicList
Sandbox WebHome, WebPreferences, WebTopicList

Actual

TestCases WebHome, WebPreferences, WebTopicList
System WebHome, WebPreferences, WebTopicList
Main WebHome, WebPreferences, WebTopicList
Sandbox WebHome, WebPreferences, WebTopicList

Compatibility Maintained when no separator is defined

Expected

WebTopics
TestCases WebHome
TestCases WebPreferences
TestCases WebTopicList
3 3
WebTopics
System WebHome
System WebPreferences
System WebTopicList
3 3
WebTopics
Main WebHome
Main WebPreferences
Main WebTopicList
3 3
WebTopics
Sandbox WebHome
Sandbox WebPreferences
Sandbox WebTopicList
3 3

Actual

Web Topics
TestCases WebHome
TestCases WebPreferences
TestCases WebTopicList
3 3
Web Topics
System WebHome
System WebPreferences
System WebTopicList
3 3
Web Topics
Main WebHome
Main WebPreferences
Main WebTopicList
3 3
Web Topics
Sandbox WebHome
Sandbox WebPreferences
Sandbox WebTopicList
3 3
Wersja tematu: r1. Ostatnia edycja: 2009-06-27, AdminUser. Stronę odwiedzono 1 razy.
 
O ile nie jest to stwierdzone inaczej, wszystkie materiały na stronie są dostępne na licencji Creative Commons Uznanie Autorstwa 3.0 Polska.
Pewne prawa zastrzeżone na rzecz Polskiej Partii Piratów. Serwis wykorzystuje oprogramowanie Foswiki na licencji GPL v2.