class EL_DIRECTORY_CONTEXT_TEST_SET

(source code)

Client examples: EIFFEL_LOOP_TEST_SET

description

EL_EQA_TEST_SET that uses read-only file data in a designated working directory.

note
	description: "[
		${EL_EQA_TEST_SET} that uses read-only file data in a designated working
		directory.
	]"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2024-01-20 19:18:26 GMT (Saturday 20th January 2024)"
	revision: "2"

deferred class
	EL_DIRECTORY_CONTEXT_TEST_SET

inherit
	EL_EQA_TEST_SET
		export
			{EL_APPLICATION} clean
		redefine
			on_prepare, on_clean
		end

	EL_MODULE_EXECUTION_ENVIRONMENT

feature {NONE} -- Events

	on_clean
		do
			Execution_environment.pop_current_working
			Precursor
		end

	on_prepare
		do
			Precursor
			Execution_environment.push_current_working (working_dir)
		end

feature {NONE} -- Implementation

	working_dir: DIR_PATH
		deferred
		end
end