/* * Copyright (C) 2009 Igalia S.L. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include #if GTK_CHECK_VERSION(2, 14, 0) static const char* centeredContents = "

Short line

Long-size line with some foo bar baz content

Short line

This is a multi-line paragraph
where the first line
is the biggest one

"; static const char* contents = "

This is a test. This is the second sentence. And this the third.

"; static const char* contentsWithNewlines = "

This is a test. \n\nThis\n is the second sentence. And this the third.

"; static const char* contentsWithSpecialChars = "

« This is a paragraph with “special” characters inside. »

"; static const char* contentsInTextarea = ""; static const char* contentsInTextInput = ""; static const char* contentsInParagraphAndBodySimple = "

This is a test.

Hello world."; static const char* contentsInParagraphAndBodyModerate = "

This is a test.

Hello world.
This sentence is green.
This one is not."; static const char* contentsInTable = "
foobar
"; static const char* contentsInTableWithHeaders = "
foobarbaz
qux123
quux456
678
corge91011
12
34
"; static const char* contentsWithExtraneousWhiteSpaces = "

This\n paragraph\n is\n borked!

"; static const char* comboBoxSelector = ""; static const char* embeddedObjects = "

Choose: foo bar (pick one)

Choose: (pick one)

"; static const char* formWithTextInputs = "
"; static const char* hypertextAndHyperlinks = "

A paragraph with no links at all

A line with a link in the middle as well as at the beginning and at the end

  1. List item with a link inside a span node
"; static const char* layoutAndDataTables = "
OddEven
12
foobar
"; static const char* linksWithInlineImages = "

foo bar baz

foo bar baz

foo bar baz

"; static const char* listsOfItems = "
  1. text only
  2. link only
  3. text and a link
"; static const char* textForCaretBrowsing = "

A text header

A paragraph with a link in the middle

  1. A list item
"; static const char* textForSelections = "

A paragraph with plain text

A paragraph with a link in the middle

  1. A list item