comparison 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
comparison
equal deleted inserted replaced
4317:15d36164ebd7 4318:4d0f773d5e21
719 "(defvar testing-mule-compilation-handling (eval-when-compile 719 "(defvar testing-mule-compilation-handling (eval-when-compile
720 (decode-char 'ucs #x371e))) ;; kDefinition beautiful; pretty, used\"") 720 (decode-char 'ucs #x371e))) ;; kDefinition beautiful; pretty, used\"")
721 (Known-Bug-Expect-Failure 721 (Known-Bug-Expect-Failure
722 (Assert-elc-is-escape-quoted)) 722 (Assert-elc-is-escape-quoted))
723 (delete-region (point-min) (point-max)))) 723 (delete-region (point-min) (point-max))))
724
725 (Known-Bug-Expect-Error
726 invalid-constant
727 (loop
728 for i from #x0 to #x10FFFF
729 with exceptions = #s(range-table type start-closed-end-closed
730 data ((#xFFFE #xFFFF) t
731 (#xFDD0 #xFDEF) t
732 (#xD800 #xDBFF) t
733 (#xDC00 #xDFFF) t))
734 do (unless (get-range-table i exceptions)
735 (read (format (if (> i #xFFFF) #r"?\U%08X" #r"?\u%04X") i)))
736 finally return t))
724 ) 737 )