[Erlang Systems]

test_server

MODULE

MODULE SUMMARY

DESCRIPTION

TEST SUITE SUPPORT FUNCTIONS

EXPORTS

os_type() -> OSType

fail()
fail(Reason)

timetrap(Timout) -> Handle
timetrap(Timeout, Pid) -> Handle

timetrap_cancel(Handle) -> ok

sleep(MSecs) -> ok

hours(N) -> MSecs
minutes(N) -> MSecs
seconds(N) -> MSecs

format(Format) -> ok
format(Format, Args)
format(Pri,Format)
format(Pri, Format, Args)

capture_start() -> ok
capture_stop() -> ok
capture_get() -> list()

messages_get() -> list()

timecall(M, F, A) -> {Time, Value}

do_times(N, M, F, A) -> ok
do_times(N, Fun)

m_out_of_n(M, N, Fun) -> ok | exit({m_out_of_n_failed, {R,left_to_do}}

call_crash(M, F, A) -> Result
call_crash(Time, M, F, A) -> Result
call_crash(Time, Crash, M, F, A) -> Result

temp_name(Stem) -> Name

start_node(Name, Type, Options) -> {ok, Node} | {error, Reason}

stop_node(NodeName) -> bool()

is_native(Mod) -> bool()

app_test(App) -> ok | test_server:fail()
app_test(App,Mode)

comment(Comment) -> ok

TEST SUITE EXPORTS

EXPORTS

all(suite) -> TestSpec | {skip, Comment}

init_per_testcase(Case,Config) -> Config

fin_per_testcase(Case,Config) -> void()

Case(doc) -> [Decription]
Case(suite) -> [] | TestSpec | {skip, Comment}
Case(Config) -> {skip, Comment} | {comment, Comment} | Ok

TEST SUITE SUPPORT MACROS

AUTHORS


test_server 3.0
Copyright © 1991-2002 Ericsson Utvecklings AB