r95299 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95298‎ | r95299 | r95300 >
Date:07:28, 23 August 2011
Author:wikinaut
Status:ok
Tags:
Comment:
jquery.highlightText.js : test cases for French added
Modified paths:
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.highlightText.test.js
@@ -146,6 +146,18 @@
147147 expected: '<span class="highlight">諸国</span>民の中の正義の人'
148148 },
149149 {
 150+ desc: 'Test 024: French text and « french quotes » (guillemets)',
 151+ text: "« L'oiseau est sur l’île »",
 152+ highlight: "« L'oiseau est sur l’île »",
 153+ expected: '<span class="highlight">«</span> <span class="highlight">L\'oiseau</span> <span class="highlight">est</span> <span class="highlight">sur</span> <span class="highlight">l’île</span> <span class="highlight">»</span>'
 154+ },
 155+ {
 156+ desc: 'Test 025: French text and « french quotes » (guillemets)',
 157+ text: "« L'oiseau est sur l’île »",
 158+ highlight: "« L'oise",
 159+ expected: '<span class="highlight">«</span> <span class="highlight">L\'oise</span>au est sur l’île »'
 160+ },
 161+ {
150162 desc: 'Test 100: TESTCASE FOR QUNIT FAILS: a wrong expected string was not detected in Firefox 6.0 and Chrome',
151163 text: 'Österreich',
152164 highlight: 'Ö',

Follow-up revisions

RevisionCommit summaryAuthorDate
r95322added jquery.highlightText.js test cases for Russian Georgian Armenian Thai A...wikinaut19:40, 23 August 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r95262follow up to r94807 : more test cases incl. hebrew RTL and Japanese, the test...wikinaut22:15, 22 August 2011

Status & tagging log