uwiger / gproc

Extended process registry for Erlang
Apache License 2.0
1.07k stars 232 forks source link

added several pool tests to gproc_tests #58

Closed bosky101 closed 9 years ago

bosky101 commented 10 years ago

This commit only adds tests for gproc_pool.

Added extensive tests test/gproc_pool:t_simple_pool/0 that includes creating a pool, adding, connecting, membership, disconnecting, removing, and pool deletion.

bosky101 commented 10 years ago

I've now used t_spawn_reg as suggested. Also t_lcall uses {From, Msg} and t_loop uses {From, Ref, Msg} so had to use my own receive block for sending die to gproc_test_lib:t_loop.

uwiger commented 9 years ago

Looks good. Sorry about the delay. Merged.