note description: "[ EQA_RESULT which represents a failed execution. ]" author: "" date: "$Date$" revision: "$Revision$" class EQA_EMPTY_RESULT inherit EQA_RESULT create make feature {NONE} -- Initialization make (a_tag: READABLE_STRING_8; an_output: detachable READABLE_STRING_8) -- Initialize `Current' indicating that test could not be executed at all. -- -- `a_start_date': Date/time when test was originally launched. -- `a_tag': Short tag describing reason for error. -- `an_output': Optional output gathered during the test execution. require a_tag_attached: a_tag /= Void do create start_date.make_now create tag.make_from_string (a_tag) finish_date := start_date if an_output /= Void then create information.make_from_string (an_output) else create information.make_empty end ensure start_and_finish_date_equal: start_date = finish_date tag_set: tag.same_string (a_tag) information_set: attached an_output as l_output implies information.same_string (l_output) end feature -- Access start_date: DATE_TIME -- finish_date: DATE_TIME -- tag: IMMUTABLE_STRING_8 -- information: IMMUTABLE_STRING_8 -- feature -- Status report is_pass: BOOLEAN = False -- is_fail: BOOLEAN = False -- note copyright: "Copyright (c) 1984-2009, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end