zy:add test case
This commit is contained in:
commit
3416ad6bb6
|
@ -0,0 +1 @@
|
||||||
|
第一个测试用例
|
|
@ -181085,3 +181085,129 @@ Processing by ChatController#notify as JSON
|
||||||
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["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
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue