Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: pkg/intl/test/message_extraction/message_extraction_test.dart

Issue 18543009: Plurals and Genders (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/intl/test/message_extraction/message_extraction_test.dart
diff --git a/pkg/intl/test/message_extraction/message_extraction_test.dart b/pkg/intl/test/message_extraction/message_extraction_test.dart
index c8bd55abd6beeb99b89eca293bb628c7d59618e6..69be0cc86bcd531a055b9f76576c4a5b966b316a 100644
--- a/pkg/intl/test/message_extraction/message_extraction_test.dart
+++ b/pkg/intl/test/message_extraction/message_extraction_test.dart
@@ -159,11 +159,20 @@ verifyResult(results) {
verify("This comes from a static method");
verify("This is missing some translations");
verify("Ancient Greek hangman characters: 𐅆𐅇.");
-// verify("The thing is, well");
-// verify("One of the tricky things is the plural form");
-// verify("One of the tricky things is plural forms");
verify("Escapable characters here: ");
+ verify('Is zero plural?');
+ verify('This is singular.');
+ verify('This is plural (2).');
+ verify('Alice went to her house');
+ verify('Bob went to his house');
+ verify('cat went to its litter box');
+ verify('Alice, Bob sont allés au magasin');
+ verify('Alice est allée au magasin');
+ verify('Personne n\'est allé au magasin');
+ verify('Bob, Bob sont allés au magasin');
+ verify('Alice, Alice sont allées au magasin');
+
var fr_lines = lines.skip(1).skipWhile(
(line) => !line.contains('----')).toList();
lineIterator = fr_lines.iterator..moveNext();
@@ -187,12 +196,20 @@ verifyResult(results) {
verify("Cela vient d'une méthode statique");
verify("Ce manque certaines traductions");
verify("Anciens caractùres grecs jeux du pendu: 𐅆𐅇.");
-// verify("La chose est, well");
-// verify("Une des choses difficiles est la forme plurielle");
-// verify("Une des choses difficiles est les formes plurielles");
verify("Escapes: ");
verify("\r\f\b\t\v.");
+ verify('Est-ce que nulle est pluriel?');
+ verify('C\'est singulier');
+ verify('C\'est pluriel (2).');
+ verify('Alice est allée à sa house');
+ verify('Bob est allé à sa house');
+ verify('cat est allé à sa litter box');
+ verify('Alice, Bob étaient allés à la magasin');
+ verify('Alice était allée à la magasin');
+ verify('Personne n\'avait allé à la magasin');
+ verify('Bob, Bob étaient allés à la magasin');
+ verify('Alice, Alice étaient allées à la magasin');
var de_lines = fr_lines.skip(1).skipWhile(
(line) => !line.contains('----')).toList();
@@ -217,9 +234,18 @@ verifyResult(results) {
verify("Dies ergibt sich aus einer statischen Methode");
verify("This is missing some translations");
verify("Antike griechische GalgenmĂ€nnchen Zeichen: 𐅆𐅇");
-// verify("Die Sache ist, well");
-// expect("Einer der knifflige Dinge ist der Plural");
-// expect("Zu den kniffligen Dinge Pluralformen");
verify("Escapes: ");
verify("\r\f\b\t\v.");
+
+ verify('Ist Null Plural?');
+ verify('Dies ist einmalig');
+ verify('Dies ist Plural (2).');
+ verify('Alice ging zu ihrem house');
+ verify('Bob ging zu seinem house');
+ verify('cat ging zu seinem litter box');
+ verify('Alice, Bob gingen zum magasin');
+ verify('Alice ging in dem magasin');
+ verify('Niemand ging zu magasin');
+ verify('Bob, Bob gingen zum magasin');
+ verify('Alice, Alice gingen zum magasin');
}

Powered by Google App Engine
This is Rietveld 408576698