popcorn :: AppThread :: defaultinit
# Thread running the App to test.
class AppThread
super Thread
# Host used by tested App.
var host: String
# Port used by tested App.
var port: Int
# App to test.
var app: App
redef fun main
do
# Hide testing concept to force nitcorn to actually run
"NIT_TESTING".setenv("false")
app.quiet = true
app.listen(host, port)
return null
end
end
lib/popcorn/pop_tests.nit:89,1--110,3