popcorn :: AppThread :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
popcorn :: AppThread :: defaultinit
core :: Finalizable :: defaultinit
pthreads :: Thread :: defaultinit
core :: Finalizable :: finalize
Liberate any resources held byself
before the memory holding self
is freed
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# 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