diff options
author | Brian Cully <bjc@kublai.com> | 2012-02-07 16:15:44 -0500 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2012-02-07 16:15:44 -0500 |
commit | a9fd65879b539b7ead5f91d8477d488105d64ef6 (patch) | |
tree | ca4f93137c75eb963617adf58c03b2a9366d6bce | |
parent | 87cf09db6752b0cd24ab2080834ca2977c667f0a (diff) | |
download | mysqlerl-a9fd65879b539b7ead5f91d8477d488105d64ef6.tar.gz mysqlerl-a9fd65879b539b7ead5f91d8477d488105d64ef6.zip |
Remove tests from mysqlerl.erl.
-rw-r--r-- | src/mysqlerl.erl | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mysqlerl.erl b/src/mysqlerl.erl index 946e9c5..0f9e77e 100644 --- a/src/mysqlerl.erl +++ b/src/mysqlerl.erl @@ -8,8 +8,6 @@ -export([convert_type/1]). --export([test_start/0, test_msg/0, test_query/0, test_param_query/0]). - -export([start/0, start/1, stop/0, commit/2, commit/3, connect/6, disconnect/1, describe_table/2, describe_table/3, first/1, first/2, @@ -18,27 +16,6 @@ select/3, select/4, param_query/3, param_query/4, sql_query/2, sql_query/3]). --define(CONFIG, "/Users/bjc/tmp/test-server.cfg"). - -test_start() -> - {ok, [{Host, Port, DB, User, Pass, Options}]} = file:consult(?CONFIG), - mysqlerl:connect(Host, Port, DB, User, Pass, Options). - -test_msg() -> - commit(mysqlerl_connection_sup:random_child(), - rollback, 2000). - -test_query() -> - sql_query(mysqlerl_connection_sup:random_child(), - "SELECT COUNT(*) FROM user", 2000). - -test_param_query() -> - %% This should really be an update or something, since that's how - %% it'll be used. - param_query(mysqlerl_connection_sup:random_child(), - "SELECT * FROM user WHERE username=?", - [{{sql_varchar, 20}, "bjc"}]). - start() -> start(temporary). |