Difference: TestCaseAutoFormatting ( vs. 1)

Revision 12021-01-06 - TWikiGuest

Line: 1 to 1
Added:
>
>
LinkAtStart
<-- /actual -->
<-- expected expand LINKATSTART -->
LinkAtStart
<-- /expected -->

Description: Simple formatting, as described in TextFormattingRules

run this test

Designed by: Crawford Currie
Modified by: Markus Ueberall (redundant anchor names get renamed, cf. TestCaseAutoTOC)

Paragraphs

Expected

<-- expected PARAS -->
1st paragraph

2nd paragraph

<-- /expected -->

Actual

<-- actual -->
1st paragraph

2nd paragraph

<-- /actual -->

Headings

Expected

<-- expected HEADS -->

Sushi

Maguro

<-- /expected -->

Actual

<-- actual -->

Sushi

Maguro

<-- /actual -->

Bold Text

Expected

<-- expected BOLD -->
Bold
<-- /expected -->

Actual

<-- actual -->
Bold
<-- /actual -->

Bold Text with URL

Expected

<-- expected expand BOLD LINK -->
reminded about http://www.koders.com
<-- /expected -->

Actual

<-- actual -->
reminded about http://www.koders.com
<-- /actual -->

Italic Text

Expected

<-- expected ITALIC -->
Italic
<-- /expected -->

Actual

<-- actual -->
Italic
<-- /actual -->

Bold Italic

Expected

<-- expected BOLD ITALIC -->
Bold italic
<-- /expected -->

Actual

<-- actual -->
Bold italic
<-- /actual -->

Fixed Font

Expected

<-- expected FIXED -->
Fixed font
<-- /expected -->

Actual

<-- actual -->
Fixed font
<-- /actual -->

Bold Fixed Font

Expected

<-- expected BOLD FIXED -->
Bold fixed
<-- /expected -->

Actual

<-- actual -->
Bold fixed
<-- /actual -->

Bold Fixed Font

Expected

<-- expected MIXED -->
this should italicise each word

and this should embolden each word

mixing them should work

<-- /expected -->

Actual

<-- actual -->
this should italicise each word

and this should embolden each word

mixing them should work

<-- /actual -->

Verbatim Mode

Expected

<-- expected VERBATIM -->
<verbatim>
Description
</verbatim>
class CatAnimal {
  void purr() {
	 code <here>
  }
}
<-- /expected -->

Actual

<-- actual VERBATIM -->
<verbatim>
Description
</verbatim>
class CatAnimal {
  void purr() {
    code <here>
  }
}
<-- /actual -->

Separator

Expected

<-- expected HR -->


--
<-- /expected -->

Actual

<-- actual -->


--
<-- /actual -->

List Item

Expected

<-- expected BULLETS -->
  • bullet item
<-- /expected -->

Actual

<-- actual -->
  • bullet item
<-- /actual -->

Nested List Item

Expected

<-- expected NESTBULL -->
  • level 1
    • level 2 and some more
<-- /expected -->

Actual

<-- actual -->
  • level 1
    • level 2 and some more
<-- /actual -->

Ordered List

Expected

<-- expected OL -->
  1. Sushi

  1. Sushi

  1. Sushi

  1. Sushi
  2. Sushi
  3. Sushi
<-- /expected -->

Actual

<-- actual -->
  1. Sushi

  1. Sushi

  1. Sushi

  1. Sushi
  2. Sushi
  3. Sushi
<-- /actual -->

Nested bullets & numbers lists

Expected

<-- expected expand WIKIWORDAFTER -->
WikiWordBeforeList
  1. Things
  2. Stuff
    • Banana Skins
    • Other
  3. Something
  4. Hello kitty
WikiWordAfterList
<-- /expected -->

Actual

<-- actual -->
WikiWordBeforeList
  1. Things
  2. Stuff
    • Banana Skins
    • Other
  3. Something
  4. Hello kitty
WikiWordAfterList
<-- /actual -->

Definition List

Expected

<-- expected DL -->
Sushi
Japan
Dim-Sum
San Francisco, USA
Honey Fried Locust
Tombouctou, Mali

<-- /expected -->

Actual

<-- actual -->
Sushi
Japan
Dim-Sum
San Francisco, USA
Honey Fried Locust
Tombouctou, Mali
<-- /actual -->

Table

Expected

<-- expected SIMPLE TABLE -->

L C R
A2 2 2
A3 3 3
multi span
A4-6 four four
^ five five

^ six six

<-- /expected -->

Actual

<-- actual -->

L C R
A2 2 2
A3 3 3
multi span
A4-6 four four
five five

six six

<-- /actual -->

Prevent a Link

Expected

<-- expected NOLINK -->
SunOS
<-- /expected -->

Actual

<-- actual -->
SunOS
<-- /actual -->

Disable Links

Expected

<-- expected DISLINK -->
RedHat & SuSE
<-- /expected -->
Note: noautolink tags will still be there, because they are not removed until immediately before topic display.

Actual

<-- actual -->
RedHat & SuSE
<-- /actual -->

Mailto: Links

Note: depends on setting of spam padding

Expected

<-- expected MAILTOS -->
Mail Hi a@b.com Mail Mail link Subject_only Subject only Subject only
<-- /expected -->

Actual

<-- actual -->
Mail Hi a@bDELETEthisTEXT.com Mail Mail link Subject_only Subject only Subject only
<-- /actual -->

Wiki Word Links

Expected

<-- expected expand WIKIWORDS -->
WebPreferences

CompleteAndUtterNothing

LinkBox LinkBoxs LinkBoxies LinkBoxess LinkBoxesses LinkBoxes

<-- /expected -->

Actual

<-- actual -->
WebPreferences

CompleteAndUtterNothing

LinkBox LinkBoxs LinkBoxies LinkBoxess LinkBoxesses LinkBoxes

<-- /actual -->

Square Brackets

Expected

<-- expected expand SQUABS -->
wiki syntax

escaped: [[wiki syntax]]

relative url

filter%rubbish;from'thelink

<-- /expected -->

Actual

<-- actual -->
wiki syntax

escaped: [[wiki syntax]]

relative url

filter%rubbish;from'thelink

<-- /actual -->

Protocol Links

Expected

<-- expected expand PROTOCOL -->
syntax

GNU

XML

<-- /expected -->

Actual

<-- actual -->
syntax

GNU

XML

<-- /actual -->

Anchors

Expected

<-- expected expand ANCHOR -->
TestCaseAutoFormatting#NotThere

Jump

To here

<-- /expected -->

Actual

<-- actual -->
TestCaseAutoFormatting#NotThere

Jump

To here

<-- /actual -->

Escaped variables 1

Expected

<-- expected ESCAPEDVAR1 -->
%USERSWEB%nowt
<-- /expected -->

Actual

<-- actual -->
%USERSWEB%nowt
<-- /actual -->

Escaped variables 2

Expected

<-- expected expand ESCAPEDVAR2 -->
nowt!Main
<-- /expected -->

Actual

<-- actual -->
nowt!Main
<-- /actual -->

Complex table

Expected

<-- expected expand COMPLEX TABLE -->
A0 all rows B0 C0 widen this col D0LinkInColHeader E0 not a link this time
^ B1 left C1 center D1 right E1 strong
^ B2:E2 span whole row
^ B3:C3 span 2 cols right D3 E3:E4 span 2 rows
^ B4:B5 span 2 rows C4:D4 span 2 cols ^
^ ^ C5 D5:E5 span 2 cols
<-- /expected -->

Actual

Note that when viewing this topic the table below may be formatted by TablePlugin. This is switched off during the tests. Revisit this URL with ?debugenableplugins= to see the table used in the test.

Actual

<-- actual -->
A0 all rows B0 C0 widen this col D0LinkInColHeader E0 not a link this time
B1 left C1 center D1 right E1 strong
B2:E2 span whole row
B3:C3 span 2 cols right D3 E3:E4 span 2 rows
B4:B5 span 2 rows C4:D4 span 2 cols
C5 D5:E5 span 2 cols
<-- /actual -->

Link in a table

Expected

<-- expected expand GOOGLE -->
http://www.google.com/
http://www.google.com/
<-- /expected -->

Actual

Actual

<-- actual -->
http://www.google.com/
http://www.google.com/
<-- /actual -->

Newlines in variable parameter lists

Expected

<-- expected expand NEWLINES_IN_VBLS -->
Y
<-- /expected -->

Actual

<-- actual -->
Y
<-- /actual -->

Anchor links

Expected

<-- expected expand -->
AnchorLink#AnchorName TWikiVariables#VarWEBLIST
<-- /expected -->

Actual

<-- actual -->
AnchorLink#AnchorName TWikiVariables#VarWEBLIST
<-- /actual -->

Link at end of topic

Expected

<-- expected expand LINKATEND -->
LinkAtEnd
<-- /expected -->

Actual

<-- actual -->
LinkAtEnd
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback