Function: ert--stats-failed-expected
ert--stats-failed-expected is a byte-compiled function defined in
ert.el.gz.
Signature
(ert--stats-failed-expected ert--stats-failed-expected X)
Documentation
Access slot "failed-expected" of ert--stats struct X.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
;;; Facilities for running a whole set of tests.
;; The data structure that contains the set of tests being executed
;; during one particular test run, their results, the state of the
;; execution, and some statistics.
;;
;; The data about results and expected results of tests may seem
;; redundant here, since the test objects also carry such information.
;; However, the information in the test objects may be more recent, it
;; may correspond to a different test run. We need the information
;; that corresponds to this run in order to be able to update the
;; statistics correctly when a test is re-run interactively and has a
;; different result than before.
(cl-defstruct ert--stats
(selector (cl-assert nil))
;; The tests, in order.
(tests (cl-assert nil) :type vector)
;; A map of test names (or the test objects themselves for unnamed
;; tests) to indices into the `tests' vector.
(test-map (cl-assert nil) :type hash-table)
;; The results of the tests during this run, in order.
(test-results (cl-assert nil) :type vector)
;; The start times of the tests, in order, as reported by
;; `current-time'.
(test-start-times (cl-assert nil) :type vector)
;; The end times of the tests, in order, as reported by
;; `current-time'.
(test-end-times (cl-assert nil) :type vector)
(passed-expected 0)
(passed-unexpected 0)
(failed-expected 0)
(failed-unexpected 0)
(skipped 0)
(start-time nil)
(end-time nil)
(aborted-p nil)
(current-test nil)
;; The time at or after which the next redisplay should occur, as a
;; float.
(next-redisplay 0.0))