Sha256: d3491ca91fb7252bc432402f97c723513f48a893035b2d4fca1f16420b4981d5

Contents?: true

Size: 1.4 KB

Versions: 70

Compression:

Stored size: 1.4 KB

Contents

%%%-------------------------------------------------------------------
%% File: eunit_internal.hrl
%%
%% $Id: eunit_internal.hrl 238 2007-11-15 10:23:54Z mremond $ 
%%
%% @author Richard Carlsson <richardc@it.uu.se>
%% @copyright 2006 Richard Carlsson
%% @doc 

-define(SERVER, eunit_server).
-define(DEFAULT_TEST_SUFFIX, "_test").
-define(DEFAULT_GENERATOR_SUFFIX, "_test_").
-define(DEFAULT_EXPORT_SUFFIX, "_exported_").
-define(DEFAULT_TESTMODULE_SUFFIX, "_tests").
-define(DEFAULT_GROUP_TIMEOUT, infinity).
-define(DEFAULT_TEST_TIMEOUT, 5000).
-define(DEFAULT_SETUP_PROCESS, spawn).

-ifdef(DEBUG).
-define(debugmsg(S),io:fwrite("\n* ~s: ~s\n", [?MODULE,S])).
-define(debugmsg1(S,As),io:fwrite("\n* ~s: " ++ S ++ "\n", [?MODULE] ++ As)).
-else.
-define(debugmsg(S),ok).
-define(debugmsg1(S,As),ok).
-endif.


%% ---------------------------------------------------------------------
%% Internal test data representation

-record(test, {f = undefined,
	       desc = undefined,
	       timeout = undefined,
	       module = undefined,
	       name = undefined,
	       line = 0
	      }).

-record(group, {desc = undefined,
		order = undefined,	% run in order or in parallel
		timeout = undefined,
		context = undefined,	% setup-context record
		spawn = undefined,	% run group in new process
		tests = undefined}).

-record(context, {setup = undefined,
		  cleanup = undefined,
		  process = local}).    % spawn new process for body

Version data entries

70 entries across 70 versions & 3 rubygems

Version Path
auser-poolparty-0.2.20 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.21 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.22 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.23 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.24 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.25 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.26 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.35 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.36 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.37 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.38 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.39 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.40 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.41 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.42 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.44 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.45 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.46 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.47 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl
auser-poolparty-0.2.48 lib/erlang/messenger/lib/eunit/src/eunit_internal.hrl