TD-793: Refactor cascade tests (#103)

* Refactor cascade tests

* Fix spec

* Fix tests
This commit is contained in:
ndiezel0 2023-11-15 22:57:37 +05:00 committed by GitHub
parent 30e14fec09
commit 84945e0378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 897 additions and 377 deletions

View File

@ -41,7 +41,7 @@ handle_trigger_check(negative_trigger) ->
false.
is_user_interaction_triggered(undefined, _, _) ->
not_trigger;
not_triggered;
is_user_interaction_triggered(
#domain_CascadeWhenNoUI{}, Route, Sessions
) ->

View File

@ -315,11 +315,11 @@ start_apps(Apps) ->
Apps
).
-type config() :: [{atom(), term()}].
-type config() :: [{term(), term()}].
-type test_case_name() :: atom().
-type group_name() :: atom().
-spec cfg(atom(), config()) -> term().
-spec cfg(term(), config()) -> term().
cfg(Key, Config) ->
case lists:keyfind(Key, 1, Config) of
{Key, V} -> V;

File diff suppressed because it is too large Load Diff