diff --git a/AllTestCase/testcase1.txt b/AllTestCase/testcase1.txt new file mode 100644 index 0000000..d21c660 --- /dev/null +++ b/AllTestCase/testcase1.txt @@ -0,0 +1 @@ +第一个测试用例 diff --git a/log/development.log b/log/development.log index 4123180..7815b39 100644 --- a/log/development.log +++ b/log/development.log @@ -181085,3 +181085,129 @@ Processing by ChatController#notify as JSON Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:58:46 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:58:56 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:06 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.2ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:26 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:36 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:46 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 13:59:56 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:06 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:26 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:36 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:46 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:00:56 +0800 +Processing by ChatController#notify as JSON + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:01:06 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:01:16 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:01:26 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms) + + +Started GET "/notify" for 127.0.0.1 at 2016-12-25 14:01:36 +0800 +Processing by ChatController#notify as JSON + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +  (0.1ms) SELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ? [["recieve_user", 1], ["readed", false]] +Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms) + +