LinkAtStart? LinkAtStart?

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

1st paragraph

2nd paragraph

Actual

1st paragraph

2nd paragraph

Headings

Expected

Sushi

Maguro

Actual

Sushi

Maguro

Bold Text

Expected

Bold

Actual

Bold

Bold Text with URL

Expected

reminded about http://www.koders.com

Actual

reminded about http://www.koders.com

Italic Text

Expected

Italic

Actual

Italic

Bold Italic

Expected

Bold italic

Actual

Bold italic

Fixed Font

Expected

Fixed font

Actual

Fixed font

Bold Fixed Font

Expected

Bold fixed

Actual

Bold fixed

Bold Fixed Font

Expected

this should italicise each word

and this should embolden each word

mixing them should work

Actual

this should italicise each word

and this should embolden each word

mixing them should work

Verbatim Mode

Expected

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

Actual

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

Separator

Expected



--

Actual



--

List Item

Expected

Actual

Nested List Item

Expected

Actual

Ordered List

Expected

  1. Sushi

  1. Sushi

  1. Sushi

  1. Sushi
  2. Sushi
  3. Sushi

Actual

  1. Sushi

  1. Sushi

  1. Sushi

  1. Sushi
  2. Sushi
  3. Sushi

Nested bullets & numbers lists

Expected

WikiWordBeforeList?
  1. Things
  2. Stuff
    • Banana Skins
    • Other
  3. Something
  4. Hello kitty
WikiWordAfterList?

Actual

WikiWordBeforeList?
  1. Things
  2. Stuff
    • Banana Skins
    • Other
  3. Something
  4. Hello kitty
WikiWordAfterList?

Definition List

Expected

Sushi
Japan
Dim-Sum
San Francisco, USA
Honey Fried Locust
Tombouctou, Mali

Actual

Sushi
Japan
Dim-Sum
San Francisco, USA
Honey Fried Locust
Tombouctou, Mali

Table

Expected

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

^ six six

Actual

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

six six

Prevent a Link

Expected

SunOS

Actual

SunOS

Disable Links

Expected

RedHat & SuSE Note: noautolink tags will still be there, because they are not removed until immediately before topic display.

Actual

RedHat & SuSE

Mailto: Links

Note: depends on setting of spam padding

Expected

Mail Hi a@b.com Mail Mail link Subject_only Subject only Subject only

Actual

Mail mailto:?subject=Hi Hi a@b.com Mail Mail link Subject_only Subject only Subject only

Wiki Word Links

Expected

WebPreferences

WikiUsers

CompleteAndUtterNothing?

LinkBox LinkBoxs LinkBoxies LinkBoxess LinkBoxesses LinkBoxes

Actual

WebPreferences

WikiUsers

CompleteAndUtterNothing?

LinkBox LinkBoxs LinkBoxies LinkBoxess LinkBoxesses LinkBoxes

Square Brackets

Expected

wiki syntax?

Main.Wiki users

escaped: [[wiki syntax]]

relative url

filter%rubbish;from'thelink?

Actual

wiki syntax?

Main.Wiki users

escaped: [[wiki syntax]]

relative url

filter%rubbish;from'thelink?

Protocol Links

Expected

syntax?

GNU

XML

Actual

syntax?

GNU

XML

Anchors

Expected

TestCaseAutoFormatting#NotThere

Jump

To here

Actual

TestCaseAutoFormatting#NotThere

Jump

To here

Escaped variables 1

Expected

%USERSWEB%nowt

Actual

%USERSWEB%nowt

Escaped variables 2

Expected

nowt!Main

Actual

nowt!Main

Complex table

Expected

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

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

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

Link in a table

Expected

http://www.google.co.uk
http://www.google.co.uk

Actual

Actual

http://www.google.co.uk
http://www.google.co.uk

Newlines in variable parameter lists

Expected

X

Actual

X

Anchor links

Expected

AnchorLink#AnchorName? WebPreferences#Tools

Actual

AnchorLink#AnchorName? WebPreferences#Tools

Link at end of topic

Expected

LinkAtEnd?

Actual

LinkAtEnd?


This topic: TestCases > TestCaseAutoFormatting
Topic revision: 20 Dec 2008, UnknownUser
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads