Name test cases COUCHDB-3066
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7d2e1a73 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/7d2e1a73 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/7d2e1a73 Branch: refs/heads/master Commit: 7d2e1a734e31aa220fcb43b1c6472da1098f9be2 Parents: 11c2565 Author: ILYA Khlopotov <iil...@ca.ibm.com> Authored: Mon Jul 18 11:52:01 2016 -0700 Committer: ILYA Khlopotov <iil...@ca.ibm.com> Committed: Mon Jul 18 12:10:39 2016 -0700 ---------------------------------------------------------------------- test/couch_db_plugin_tests.erl | 48 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/7d2e1a73/test/couch_db_plugin_tests.erl ---------------------------------------------------------------------- diff --git a/test/couch_db_plugin_tests.erl b/test/couch_db_plugin_tests.erl index bbc01c7..ea9b230 100644 --- a/test/couch_db_plugin_tests.erl +++ b/test/couch_db_plugin_tests.erl @@ -83,30 +83,30 @@ callback_test_() -> { setup, fun setup/0, fun teardown/1, [ - fun validate_dbname_match/0, - fun validate_dbname_no_match/0, - fun validate_dbname_throw/0, - fun validate_dbname_pass/0, - - fun before_doc_update_match/0, - fun before_doc_update_no_match/0, - fun before_doc_update_throw/0, - - fun after_doc_read_match/0, - fun after_doc_read_no_match/0, - fun after_doc_read_throw/0, - - fun validate_docid_match/0, - fun validate_docid_no_match/0, - fun validate_docid_throw/0, - - fun check_is_admin_match/0, - fun check_is_admin_no_match/0, - fun check_is_admin_throw/0, - - fun on_delete_match/0, - fun on_delete_no_match/0, - fun on_delete_throw/0 + {"validate_dbname_match", fun validate_dbname_match/0}, + {"validate_dbname_no_match", fun validate_dbname_no_match/0}, + {"validate_dbname_throw", fun validate_dbname_throw/0}, + {"validate_dbname_pass", fun validate_dbname_pass/0}, + + {"before_doc_update_match", fun before_doc_update_match/0}, + {"before_doc_update_no_match", fun before_doc_update_no_match/0}, + {"before_doc_update_throw", fun before_doc_update_throw/0}, + + {"after_doc_read_match", fun after_doc_read_match/0}, + {"after_doc_read_no_match", fun after_doc_read_no_match/0}, + {"after_doc_read_throw", fun after_doc_read_throw/0}, + + {"validate_docid_match", fun validate_docid_match/0}, + {"validate_docid_no_match", fun validate_docid_no_match/0}, + {"validate_docid_throw", fun validate_docid_throw/0}, + + {"check_is_admin_match", fun check_is_admin_match/0}, + {"check_is_admin_no_match", fun check_is_admin_no_match/0}, + {"check_is_admin_throw", fun check_is_admin_throw/0}, + + {"on_delete_match", fun on_delete_match/0}, + {"on_delete_no_match", fun on_delete_no_match/0}, + {"on_delete_throw", fun on_delete_throw/0} ] } }.