"B_LINK_VISITED_COLOR" "B_LINK_ACTIVE_COLOR"
"B_STATUS_BAR_COLOR" "B_SUCCESS_COLOR" "B_FAILURE_COLOR"])
+(defvar x-colors)
;; Also update `x-colors' to take that into account.
(setq x-colors (append haiku-allowed-ui-colors x-colors))
;;;; image-test-size
+(declare-function image-size "image.c" (spec &optional pixels frame))
+
(ert-deftest image-tests-image-size/gif ()
(image-skip-unless 'gif)
(pcase (image-size (create-image (cdr (assq 'gif image-tests--images))))
;;;; image-mask-p
+(declare-function image-mask-p "image.c" (spec &optional frame))
+
(ert-deftest image-tests-image-mask-p/gif ()
(image-skip-unless 'gif)
(should-not (image-mask-p (create-image
;;;; image-metadata
+(declare-function image-metadata "image.c" (spec &optional frame))
+
;; TODO: These tests could be expanded with files that actually
;; contain metadata.
(ert-deftest image-tests-init-image-library ()
(skip-unless (fboundp 'init-image-library))
+ (declare-function init-image-library "image.c" (type))
(should (init-image-library 'pbm)) ; built-in
(should-not (init-image-library 'invalid-image-type)))