Module escalus_utils

Data Types

jid_spec()

jid_spec() = #client{} | atom() | binary() | string()

Function Index

all_true/1
any_true/1
distinct_ordered_pairs/2
distinct_pairs/2
drop_first_such/2
each_with_index/3
get_jid/1
get_resource/1
get_server/1
get_short_jid/1
get_username/1
identity/1
is_prefix/2
jid_to_lower/1
log_stanzas/2
mix_match/3
pretty_stanza_list/1
regexp_get/2
show_backtrace/0
start_clients/1
start_clients/2

Function Details

all_true/1

all_true(List) -> any()

any_true/1

any_true(List) -> any()

distinct_ordered_pairs/2

distinct_ordered_pairs(Fun, List) -> any()

distinct_pairs/2

distinct_pairs(Fun, List) -> any()

drop_first_such/2

drop_first_such(Pred, List) -> any()

each_with_index/3

each_with_index(Fun, Start, List) -> any()

get_jid/1

get_jid(Client::jid_spec()) -> binary()

get_resource/1

get_resource(JID::binary()) -> binary()

get_server/1

get_server(UserOrClient::jid_spec()) -> binary()

get_short_jid/1

get_short_jid(Client::#client{} | atom() | binary() | string()) -> binary()

get_username/1

get_username(UserOrClient::jid_spec()) -> binary()

identity/1

identity(X) -> any()

is_prefix/2

is_prefix(Prefix, Full) -> any()

jid_to_lower/1

jid_to_lower(Jid::binary()) -> binary()

log_stanzas/2

log_stanzas(Comment::iolist(), Stanzas::[#xmlel{}]) -> any()

mix_match/3

mix_match(Predgen, Conds, Cases) -> any()

pretty_stanza_list/1

pretty_stanza_list(Stanzas::[#xmlel{}]) -> string()

regexp_get/2

regexp_get(Jid, Regex) -> any()

show_backtrace/0

show_backtrace() -> any()

start_clients/1

start_clients(Clients) -> any()

start_clients/2

start_clients(Config0, ClientRecipes) -> any()


Generated by EDoc