class MOCK_TIMES_COUNTER
Summary
Class invariant
Overview
Creation features
Exported features
Action when an assert fails
Mock features
assert methods used by tests
timer features
out_in_tagged_out_memory
effective procedure
Append terse printable representation of current object in tagged_out_memory.
can_call: BOOLEAN
effective function
call
effective procedure
all_called
effective procedure
all_done: BOOLEAN
effective function
set_item (i: INTEGER_32)
effective procedure
initial: INTEGER_32
writable attribute
effective procedure
scenario: MOCK_SCENARIO
writable attribute
assert (test: BOOLEAN)
effective procedure
Check that test is actually True.
label_assert (label: ABSTRACT_STRING, test: BOOLEAN)
effective procedure
Check that test is actually True.
message_assert (message_generator: FUNCTION[TUPLE, ABSTRACT_STRING], test: BOOLEAN)
effective procedure
Check that test is actually True.
start_timer: MICROSECOND_TIME
effective function
stop_timer (start: MICROSECOND_TIME)
effective procedure
timed (action: PROCEDURE[TUPLE])
effective procedure
assert_counter: COUNTER
once function
Unique once COUNTER used to count assert calls.
assertion_flag: STRING
effective function
assertion_level: INTEGER_32
writable attribute
assertion_level_none: INTEGER_32
is 0
constant attribute
assertion_level_require: INTEGER_32
is 1
constant attribute
assertion_level_ensure: INTEGER_32
is 2
constant attribute
assertion_level_class_invariant: INTEGER_32
is 3
constant attribute
assertion_level_loop_invariant: INTEGER_32
is 4
constant attribute
assertion_level_check: INTEGER_32
is 5
constant attribute
set_require: BOOLEAN
effective function
set_loop_invariant: BOOLEAN
effective function
set_check: BOOLEAN
effective function
set_ensure: BOOLEAN
effective function
set_class_invariant: BOOLEAN
effective function
probe_assertion_level
effective procedure
default_test_failed (id: INTEGER_32, lbl: ABSTRACT_STRING, gen: ABSTRACT_STRING, ass_flag: ABSTRACT_STRING)
effective procedure
counter_to_message: FUNCTION[TUPLE, ABSTRACT_STRING]
once function
count_to_message: ABSTRACT_STRING
effective function
label_to_message (label: ABSTRACT_STRING): ABSTRACT_STRING
effective function
increment
effective procedure
Increment the item of Current counter.
next
effective procedure
Increment the item of Current counter.
decrement
effective procedure
Decrement the item of Current counter.
previous
effective procedure
Decrement the item of Current counter.
reset
effective procedure
Reset the item of Current counter.
start
effective procedure
Reset the item of Current counter.
append_in (buffer: STRING)
effective procedure
Append the item of the Current counter in the buffer.
value: INTEGER_32
effective function
item: E_
writable attribute
clear
effective procedure
Reset item with the default value.