Skip to content
Browse files

Removed this file, should not be commited!

  • Loading branch information...
1 parent 0f4d257 commit df833d9f46ad02f21bd6a3399b66178d8b43d739 Gianfranco committed Jul 7, 2011
Showing with 0 additions and 20 deletions.
  1. +0 −20 test/audit_collector_tests.erl~
View
20 test/audit_collector_tests.erl~
@@ -1,20 +0,0 @@
--module(audit_collector_tests).
--include_lib("eunit/include/eunit.hrl").
-
-audit_collector_test_() ->
- {foreach,
- fun() -> audit_collector:start_link() end,
- fun(P) -> audit_collector:stop() end,
- [fun audit_collector_process/0
- ]}.
-
-audit_collector_process() ->
- audit_collector:audit(process,[send,'receive']),
- Self = self(),
- Sender = spawn_link(fun() -> Self ! {i_sent_this,self()} end),
- Receiver = spawn_link(fun() -> receive die -> ok end end),
- Receiver ! die,
- ?assertMatch(
- [{_,Sender,{i_sent_this,Sent}},
- {_,Receiver,die}],
- audit_collector:audit_log(process,[send,'receive'])).

0 comments on commit df833d9

Please sign in to comment.
Something went wrong with that request. Please try again.