popcorn :: TestPopcorn :: client_test
# Redefine this method to implement your test scenario.
fun client_test do end
lib/popcorn/pop_tests.nit:154,2--155,23
redef fun client_test do
system "curl -s {host}:{port}/counter"
system "curl -s {host}:{port}/counter -X POST"
system "curl -s {host}:{port}/counter"
system "curl -s {host}:{port}/not_found" # handled by angular controller
end
lib/popcorn/examples/angular/tests/test_example_angular.nit:26,2--31,4
redef fun client_test do
system "curl -s {host}:{port}/ -X POST"
system "curl -s {host}:{port}/ --data 'user'"
system "curl -s {host}:{port}/ --data 'user=Morriar'"
system "curl -s {host}:{port}/ --data 'user=\&order=desc'"
system "curl -s {host}:{port}/ --data 'user=Morriar\&order=desc'"
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/handlers/tests/test_example_post_handler.nit:26,2--33,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/?user=Morriar"
system "curl -s {host}:{port}/?reload"
system "curl -s {host}:{port}/?foo\\&bar=baz"
system "curl -s {host}:{port}/?items=10\\&order=asc"
end
lib/popcorn/examples/handlers/tests/test_example_query_string.nit:26,2--32,4
redef fun client_test do
system "curl -s {host}:{port}"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}///////////"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/not_found/not_found"
end
lib/popcorn/examples/hello_world/tests/test_example_hello.nit:26,2--32,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/about"
end
lib/popcorn/examples/middlewares/tests/test_example_advanced_logger.nit:26,2--29,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/about"
end
lib/popcorn/examples/middlewares/tests/test_example_html_error_handler.nit:26,2--29,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/about"
end
lib/popcorn/examples/middlewares/tests/test_example_simple_error_handler.nit:26,2--29,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/about"
end
lib/popcorn/examples/middlewares/tests/test_example_simple_logger.nit:26,2--29,4
redef fun client_test do
system "curl -s {host}:{port}/user/Morriar/item/10"
system "curl -s {host}:{port}/user/Morriar/item/10/"
system "curl -s {host}:{port}/user/Morriar/item/10/profile"
system "curl -s {host}:{port}/user/Morriar/item/10/profile/settings"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/not_found/not_found"
end
lib/popcorn/examples/routing/tests/test_example_glob_route.nit:26,2--34,4
redef fun client_test do
system "curl -s {host}:{port}/Morriar"
system "curl -s {host}:{port}//"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/not_found/not_found"
end
lib/popcorn/examples/routing/tests/test_example_param_route.nit:26,2--32,4
redef fun client_test do
system "curl -s {host}:{port}"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/user"
system "curl -s {host}:{port}/user/"
system "curl -s {host}:{port}/user/profile"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/user/not_found"
system "curl -s {host}:{port}/products/not_found"
end
lib/popcorn/examples/routing/tests/test_example_router.nit:26,2--35,4
redef fun client_test do
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/ -X POST"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/user/not_found"
system "curl -s {host}:{port}/products/not_found"
end
lib/popcorn/examples/sessions/tests/test_example_session.nit:26,2--32,4
redef fun client_test do
system "curl -s {host}:{port}/css/style.css"
system "curl -s {host}:{port}/js/app.js"
system "curl -s {host}:{port}/hello.html"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/css/not_found.nit"
system "curl -s {host}:{port}/static/css/not_found.nit"
system "curl -s {host}:{port}/not_found.nit"
end
lib/popcorn/examples/static_files/tests/test_example_static.nit:26,2--34,4
redef fun client_test do
system "curl -s {host}:{port}/css/style.css"
system "curl -s {host}:{port}/js/app.js"
system "curl -s {host}:{port}/hello.html"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/css/not_found.nit"
system "curl -s {host}:{port}/static/css/not_found.nit"
system "curl -s {host}:{port}/not_found.nit"
end
lib/popcorn/examples/static_files/tests/test_example_static_default.nit:26,2--34,4
redef fun client_test do
system "curl -s {host}:{port}/css/style.css"
system "curl -s {host}:{port}/js/app.js"
system "curl -s {host}:{port}/hello.html"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/static/css/style.css"
system "curl -s {host}:{port}/static/js/app.js"
system "curl -s {host}:{port}/static/hello.html"
system "curl -s {host}:{port}/static/"
system "curl -s {host}:{port}/css/not_found.nit"
system "curl -s {host}:{port}/static/css/not_found.nit"
system "curl -s {host}:{port}/not_found.nit"
end
lib/popcorn/examples/static_files/tests/test_example_static_multiple.nit:26,2--38,4
redef fun client_test do
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/templates/tests/test_example_templates.nit:26,2--28,4
redef fun client_test do
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/templates/tests/test_example_templates.nit:41,2--43,4
redef fun client_test do
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/templates/tests/test_example_templates.nit:56,2--58,4
redef fun client_test do
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/templates/tests/test_example_templates.nit:73,2--75,4
redef fun client_test do
system "curl -s {host}:{port}/"
end
lib/popcorn/examples/templates/tests/test_example_templates.nit:88,2--90,4
redef fun client_test do
system "curl -s {host}:{port}"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/user"
system "curl -s {host}:{port}/user/"
system "curl -s {host}:{port}/user/settings"
system "curl -s {host}:{port}/products"
system "curl -s {host}:{port}/products/"
system "curl -s {host}:{port}/products/list"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/user/not_found"
system "curl -s {host}:{port}/products/not_found"
end
lib/popcorn/tests/test_popcorn.nit:34,2--46,4
redef fun client_test do
system "curl -s {host}:{port}"
system "curl -s {host}:{port}/"
system "curl -s {host}:{port}/misc"
system "curl -s {host}:{port}/misc/foo"
system "curl -s {host}:{port}/misc/foo/bar"
system "curl -s {host}:{port}/misc/foo/baz"
system "curl -s {host}:{port}/user"
system "curl -s {host}:{port}/user/"
system "curl -s {host}:{port}/user/id"
system "curl -s {host}:{port}/user/id/profile"
system "curl -s {host}:{port}/user/id/misc/foo"
system "curl -s {host}:{port}/user/id/misc/foo/bar"
system "curl -s {host}:{port}/user/id/misc/foo/bar/baz"
system "curl -s {host}:{port}/not_found"
system "curl -s {host}:{port}/user/id/not_found"
end
lib/popcorn/tests/test_popcorn.nit:71,2--87,4