diff tests/automated/mule-tests.el @ 4318:4d0f773d5e21

Fix the test failures introduced by the non-ISO-2022 coding systems. APPROVE COMMIT NOTE: this patch has been committed. This is patch http://mid.gmane.org/18264.25814.828088.486899@parhasard.net tests/ChangeLog addition: 2007-12-06 Aidan Kehoe <kehoea@parhasard.net> * automated/mule-tests.el: Add a Known-Bug-Expect-Error call testing and documenting that we don't support all of the Unicode code space in a single session. * automated/test-harness.el (Known-Bug-Expect-Error): Provide Known-Bug-Expect-Error, analagous to Known-Bug-Expect-Failure and Check-Error. * automated/test-harness.el (Silence-Message): Dynamically bind the function definition of #'clear-message, as well as that of #'append-message, to nil. src/ChangeLog addition: 2007-12-06 Aidan Kehoe <kehoea@parhasard.net> * tests.c (Ftest_data_format_conversion): Move those tests that expect that iso-8859-2 is ISO 2022-compatible to testing iso-latin-2-with-esc instead.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 09 Dec 2007 15:10:46 +0100
parents 2bb3630ea397
children e5b3c4dbc8a2
line wrap: on
line diff
--- a/tests/automated/mule-tests.el	Sun Dec 09 14:55:03 2007 +0100
+++ b/tests/automated/mule-tests.el	Sun Dec 09 15:10:46 2007 +0100
@@ -721,4 +721,17 @@
       (Known-Bug-Expect-Failure
        (Assert-elc-is-escape-quoted))
       (delete-region (point-min) (point-max))))
+
+  (Known-Bug-Expect-Error
+   invalid-constant
+   (loop
+     for i from #x0 to #x10FFFF 
+     with exceptions = #s(range-table type start-closed-end-closed
+                                      data ((#xFFFE #xFFFF) t
+                                            (#xFDD0 #xFDEF) t
+                                            (#xD800 #xDBFF) t
+                                            (#xDC00 #xDFFF) t))
+     do (unless (get-range-table i exceptions)
+          (read (format (if (> i #xFFFF) #r"?\U%08X" #r"?\u%04X") i)))
+     finally return t))
   )