Définition, traduction, prononciation, anagramme et synonyme sur le dictionnaire libre Wiktionnaire.
Ceci est la page de documentation pour Module:données Unicode/testcases
6 tests ont échoué (rafraichir)
|
Texte |
Attendu |
Obtenu
|
testGetBlock :
 |
Bloc |
Basic Latin |
Basic Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetBlockForChar :
 |
Caractère |
Basic Latin |
Basic Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetBlockForInvalidChar :
 |
(Test d’erreur) Chaîne vide |
Un seul caractère attendu, 0 donnés ("") |
Un seul caractère attendu, 0 donnés ("")
|
 |
(Test d’erreur) Trop de caractères |
Un seul caractère attendu, 2 donnés ("AA") |
Un seul caractère attendu, 2 donnés ("AA")
|
|
Texte |
Attendu |
Obtenu
|
testGetScript :
 |
Script |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForChar :
 |
Caractère |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForInvalidChar :
 |
(Test d’erreur) Chaîne vide |
Un seul caractère attendu, 0 donnés |
Un seul caractère attendu, 0 donnés
|
 |
(Test d’erreur) Trop de caractères |
Un seul caractère attendu, 2 donnés |
Un seul caractère attendu, 2 donnés
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextInheritedAndUnknownChar :
 |
Script et caractère inconnu |
Unknown |
Unknown
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextInheritedMajority :
 |
Inherited majoritaire |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextOneScript :
 |
Un seul script |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextOnlyCommon :
 |
Common uniquement |
Common |
Common
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextOnlyCommonAndInherited :
 |
Inherited, Common majoritaire |
Inherited |
Inherited
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextOnlyInherited :
 |
Inherited uniquement |
Inherited |
Inherited
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextScriptAndCommon :
 |
Un script et Common |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextScriptAndUnknownChar :
 |
Script et caractère inconnu à la fin |
Latin |
Latin
|
 |
Script et caractère inconnu au début |
Latin |
Latin
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForTextSeveral :
 |
Plusieurs scripts |
Unknown |
Unknown
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForText_commonAndUnknownChar :
 |
Script et caractère inconnu |
Unknown |
Unknown
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptForUnknownChar :
 |
Caractère inconnu |
Unknown |
Unknown
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptsForText :
 |
Un seul script |
{"Latin"} |
{"Latin"}
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptsForTextSeveral :
 |
Plusieurs scripts |
{"Common", "Greek", "Latin"} |
{"Common", "Greek", "Latin"}
|
|
Texte |
Attendu |
Obtenu
|
testGetScriptsForTextTagsIgnored :
 |
Plusieurs scripts |
{"Greek"} |
{"Greek"}
|
 |
Plusieurs scripts |
{"Greek"} |
{"Greek"}
|
 |
Plusieurs scripts |
{"Greek"} |
{"Greek"}
|
|
Texte |
Attendu |
Obtenu
|
testGetUnknownBlock :
 |
Bloc invalide (négatif) |
nil |
nil
|
 |
Bloc invalide (trop grand) |
nil |
nil
|
|
Texte |
Attendu |
Obtenu
|
testGetUnknownScript :
 |
Script inconnu |
nil |
nil
|
|
Texte |
Attendu |
Obtenu
|
testNotTextHasScript :
 |
Un seul script |
false |
false
|
|
Texte |
Attendu |
Obtenu
|
testScriptIntervals :
 |
yo εε |
{{to=2, script="Latin", from=1}, {to=3, script="Common", from=3}, {to=5, script="Greek", from=4}} |
{{to=2, script="Latin", from=1}, {to=3, script="Common", from=3}, {to=5, script="Greek", from=4}}
|
|
Texte |
Attendu |
Obtenu
|
testScriptIntervalsTag :
 |
yo oy |
{{to=2, script="Latin", from=1}, {to=6, from=3}, {to=8, script="Latin", from=7}} |
{{to=2, script="Latin", from=1}, {to=6, from=3}, {to=8, script="Latin", from=7}}
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrHorizontalOnly :
 |
ltr seulement |
a et ε |
a et ε
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrHorizontalOnlyTag :
 |
ltr seulement et balise |
a et<br>ε |
a et<br>ε
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrVerticalAndCommon :
 |
vertical et Common |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ ᠶᠠ</span> |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ ᠶᠠ</span>
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrVerticalAndInherited :
 |
vertical et Inherited |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ́ᠶᠠ</span> |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ́ᠶᠠ</span>
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrVerticalOnly :
 |
vertical seulement |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳᠶᠠ</span> |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳᠶᠠ</span>
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionLtrVerticalOnlyTag :
 |
vertical seulement et balise |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ</span><br><span dir="ltr" style="writing-mode:vertical-lr">ᠶᠠ</span> |
<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨᡳ</span><br><span dir="ltr" style="writing-mode:vertical-lr">ᠶᠠ</span>
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionRtlHorizontalAndCommon :
 |
rtl et Common |
<span dir="rtl" style="writing-mode:horizontal-tb">עב רית</span> |
עב רית
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionRtlHorizontalAndInherited :
 |
rtl et Inherited |
<span dir="rtl" style="writing-mode:horizontal-tb">עב́רית</span> |
עב́רית
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionRtlHorizontalOnly :
 |
rtl seulement |
<span dir="rtl" style="writing-mode:horizontal-tb">עברית</span> |
עברית
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionRtlHorizontalOnlyTag :
 |
rtl seulement et balise |
<span dir="rtl" style="writing-mode:horizontal-tb">עב</span><br><span dir="rtl" style="writing-mode:horizontal-tb">רית</span> |
עב<br>רית
|
|
Texte |
Attendu |
Obtenu
|
testSetWritingDirectionTwoDirections :
 |
a et עברית |
a et <span dir="rtl" style="writing-mode:horizontal-tb">עברית</span> |
a et עברית
|
 |
ae ᠠᠨ́ᡳᠶᠠ εε |
ae <span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́ᡳᠶᠠ </span>εε |
ae <span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́ᡳᠶᠠ </span>εε
|
 |
aeᠠᠨ́εε |
ae<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́</span>εε |
ae<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́</span>εε
|
 |
aeᠠᠨ́ᡳᠶᠠעב רית |
ae<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́ᡳᠶᠠ</span><span dir="rtl" style="writing-mode:horizontal-tb">עב רית</span> |
ae<span dir="ltr" style="writing-mode:vertical-lr">ᠠᠨ́ᡳᠶᠠ</span>עב רית
|
|
Texte |
Attendu |
Obtenu
|
testShouldItalicizeOnlyCommonAndInherited :
 |
Common et Inherited |
true |
true
|
|
Texte |
Attendu |
Obtenu
|
testShouldItalicizeOnlyLatinCommonInherited :
 |
Latin, Common et Inherited |
true |
true
|
|
Texte |
Attendu |
Obtenu
|
testShouldItalicizeSingleScript :
 |
Latin seulement |
true |
true
|
 |
Common seulement |
true |
true
|
 |
Inherited seulement |
true |
true
|
|
Texte |
Attendu |
Obtenu
|
testShouldItalicizeTag :
 |
Balise HTML |
true |
true
|
|
Texte |
Attendu |
Obtenu
|
testShouldNotItalicize :
 |
Non latin seulement |
false |
false
|
|
Texte |
Attendu |
Obtenu
|
testShouldNotItalicizeLatinAndOther :
 |
Latin et autre |
false |
false
|
|
Texte |
Attendu |
Obtenu
|
testShouldNotItalicizeTag :
 |
Balise HTML |
false |
false
|
|
Texte |
Attendu |
Obtenu
|
testTextHasScriptSeveral :
 |
Plusieurs scripts, Latin |
true |
true
|
 |
Plusieurs scripts, Greek |
true |
true
|
 |
Plusieurs scripts, Common |
true |
true
|
|
Texte |
Attendu |
Obtenu
|
testTextHasScriptSingle :
 |
Un seul script |
true |
true
|