nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nitunit: add more information in UnitTest
[nit.git]
/
src
/
testing
/
testing_suite.nit
diff --git
a/src/testing/testing_suite.nit
b/src/testing/testing_suite.nit
index
ee2701f
..
59b4499
100644
(file)
--- a/
src/testing/testing_suite.nit
+++ b/
src/testing/testing_suite.nit
@@
-222,6
+222,10
@@
class TestCase
# Test method to be compiled and tested.
var test_method: MMethodDef
# Test method to be compiled and tested.
var test_method: MMethodDef
+ redef fun full_name do return test_method.full_name
+
+ redef fun location do return test_method.location
+
# `ToolContext` to use to display messages and find `nitc` bin.
var toolcontext: ToolContext
# `ToolContext` to use to display messages and find `nitc` bin.
var toolcontext: ToolContext
@@
-280,6
+284,7
@@
class TestCase
end
end
end
end
end
end
+ is_done = true
toolcontext.check_errors
end
toolcontext.check_errors
end