public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
From: Lillian Angel <langel@redhat.com>
To: mauve-patches <mauve-patches@sources.redhat.com>
Subject: FYI: Character test fixes
Date: Tue, 19 Jun 2007 19:45:00 -0000	[thread overview]
Message-ID: <1182282350.3611.0.camel@towel.toronto.redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

Several tests are failing because the changes in encoding.

2007-06-19  Lillian Angel  <langel@redhat.com>

        * gnu/testlet/java/lang/Character/Blocks15.java
        (test): Removed checks. SURROGATES_AREA is deprecated and will 
	cause fails in 1.5.
        * gnu/testlet/java/lang/Character/classify12.java
        (test): Fixed incorrect test.
        * gnu/testlet/java/lang/Character/getType.java
        (test): Removed incorrect checks. Encoding has changed in 1.5.

[-- Attachment #2: mauve.patch --]
[-- Type: text/x-patch, Size: 2960 bytes --]

Index: gnu/testlet/java/lang/Character/Blocks15.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Character/Blocks15.java,v
retrieving revision 1.1
diff -u -r1.1 Blocks15.java
--- gnu/testlet/java/lang/Character/Blocks15.java	21 May 2006 17:34:48 -0000	1.1
+++ gnu/testlet/java/lang/Character/Blocks15.java	19 Jun 2007 19:42:00 -0000
@@ -43,12 +43,6 @@
 		   Character.UnicodeBlock.MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B);
      harness.check(Character.UnicodeBlock.forName("Miscellaneous_Mathematical_Symbols_B"),
 		   Character.UnicodeBlock.MISCELLANEOUS_MATHEMATICAL_SYMBOLS_B);
-     harness.check(Character.UnicodeBlock.forName("Surrogates Area"),
-		   Character.UnicodeBlock.SURROGATES_AREA);
-     harness.check(Character.UnicodeBlock.forName("SurrogatesArea"),
-		   Character.UnicodeBlock.SURROGATES_AREA);
-     harness.check(Character.UnicodeBlock.forName("Surrogates_Area"),
-		   Character.UnicodeBlock.SURROGATES_AREA);
      try
        {
 	 Character.UnicodeBlock.forName(null);
Index: gnu/testlet/java/lang/Character/classify12.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Character/classify12.java,v
retrieving revision 1.3
diff -u -r1.3 classify12.java
--- gnu/testlet/java/lang/Character/classify12.java	11 Dec 1998 11:28:07 -0000	1.3
+++ gnu/testlet/java/lang/Character/classify12.java	19 Jun 2007 19:42:00 -0000
@@ -27,6 +27,6 @@
 {
   public void test (TestHarness harness)
     {
-      harness.check (! Character.isUpperCase('\u2102'));
+      harness.check (Character.isUpperCase('\u2102'));
     }
 }
Index: gnu/testlet/java/lang/Character/getType.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Character/getType.java,v
retrieving revision 1.7
diff -u -r1.7 getType.java
--- gnu/testlet/java/lang/Character/getType.java	14 Jan 1999 17:57:28 -0000	1.7
+++ gnu/testlet/java/lang/Character/getType.java	19 Jun 2007 19:42:00 -0000
@@ -134,7 +134,7 @@
       p (harness, '\u1fe4', "lowercase_letter");
       p (harness, '\u01c5', "titlecase_letter");
       p (harness, '\u3005', "modifier_letter");
-      p (harness, '\u01bf', "other_letter");
+      p (harness, '\u01bf', "lowercase_letter");
       p (harness, '\u0666', "decimal_digit_number");
       p (harness, '\u216f', "letter_number");
       p (harness, '\u0f32', "other_number");
@@ -143,9 +143,7 @@
       p (harness, '\u0903', "combining_spacing_mark");
       p (harness, '-', "dash_punctuation");
       p (harness, '\ufe59', "start_punctuation");
-      p (harness, '\u00ab', "start_punctuation");
       p (harness, '\u0f3b', "end_punctuation");
-      p (harness, '\u2019', "end_punctuation");
       p (harness, '\uff3f', "connector_punctuation");
       p (harness, '\u2202', "math_symbol");
       p (harness, '\u20ab', "currency_symbol");

                 reply	other threads:[~2007-06-19 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1182282350.3611.0.camel@towel.toronto.redhat.com \
    --to=langel@redhat.com \
    --cc=mauve-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).