[geary/wip/intermittitent-ci-test-failures-redux: 1/3] Add debug logging for calling test case setup/test/teardown methods
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/intermittitent-ci-test-failures-redux: 1/3] Add debug logging for calling test case setup/test/teardown methods
- Date: Thu, 14 Feb 2019 02:56:21 +0000 (UTC)
commit 56ffd0caf8f309a9e4eacb5be4e29a6472529359
Author: Michael Gratton <mike vee net>
Date: Thu Feb 14 11:45:15 2019 +1100
Add debug logging for calling test case setup/test/teardown methods
test/test-case.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/test/test-case.vala b/test/test-case.vala
index b90de697..1090696f 100644
--- a/test/test-case.vala
+++ b/test/test-case.vala
@@ -304,6 +304,7 @@ public abstract class TestCase : Object {
public void set_up(void* fixture) {
try {
+ debug("%s: setting up", this.name);
this.test_case.set_up();
} catch (Error err) {
assert_no_error(err);
@@ -312,6 +313,7 @@ public abstract class TestCase : Object {
public void run(void* fixture) {
try {
+ debug("%s: running test", this.name);
this.test();
} catch (Error err) {
assert_no_error(err);
@@ -320,6 +322,7 @@ public abstract class TestCase : Object {
public void tear_down(void* fixture) {
try {
+ debug("%s: tearing down", this.name);
this.test_case.tear_down();
} catch (Error err) {
assert_no_error(err);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]