Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: data/deleted.files doku.php lib/exe/xmlrpc.php
- Loading branch information
Showing
785 changed files
with
18,084 additions
and
9,656 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
require_once DOKU_INC.'inc/DifferenceEngine.php'; | ||
|
||
class differenceengine_test extends UnitTestCase { | ||
|
||
function test_white_between_words(){ | ||
// From FS#2161 | ||
global $lang; | ||
|
||
$df = new Diff(explode("\n","example"), | ||
explode("\n","example example2")); | ||
|
||
$idf = new InlineDiffFormatter(); | ||
$tdf = new TableDiffFormatter(); | ||
|
||
$this->assertEqual($idf->format($df), '<tr><td colspan="4" class="diff-blockheader">@@ ' . $lang['line'] . | ||
' -1 +1 @@ <span class="diff-deletedline"><del>' . $lang['deleted'] . | ||
'</del></span> <span class="diff-addedline">' . $lang['created'] . | ||
'</span></td></tr> | ||
<tr><td colspan="4">example <span class="diff-addedline">example2</span></td></tr> | ||
'); | ||
$this->assertEqual($tdf->format($df), | ||
'<tr><td class="diff-blockheader" colspan="2">' . $lang['line'] . ' 1:</td> | ||
<td class="diff-blockheader" colspan="2">' . $lang['line'] . ' 1:</td> | ||
</tr> | ||
<tr><td>-</td><td class="diff-deletedline">example</td><td>+</td><td class="diff-addedline">example <strong>example2</strong></td></tr> | ||
'); | ||
} | ||
} | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,4 +136,4 @@ function test_struct(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ function test_parseIso(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,4 @@ function test_groupskipoff(){ | |
} | ||
} | ||
|
||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,4 +152,4 @@ function test_malicious(){ | |
|
||
} | ||
|
||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ function test_visible(){ | |
|
||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,4 @@ function test_minValue() { | |
} | ||
|
||
|
||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,4 +86,4 @@ function test_windows_paths(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ function test_russian_utf8(){ | |
} | ||
} | ||
|
||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ function test1(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,4 +144,4 @@ function test_deaccent_ascii(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,4 +42,4 @@ function test1(){ | |
} | ||
|
||
} | ||
//Setup VIM: ex: et ts=4 enc=utf-8 : | ||
//Setup VIM: ex: et ts=4 : |
Oops, something went wrong.