summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-22 21:46:22 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-28 14:32:24 -0400
commitc84e8862226e6f89538b34fafd592182caf9008b (patch)
treeb6add2ba862b82eb732449312a9775c9ac19665b /test
parent5f76ab270e8a5015f87ebdcb511f54feef1cedd5 (diff)
downloadqtlocation-mapboxgl-c84e8862226e6f89538b34fafd592182caf9008b.tar.gz
Log each test subcase during headless tests
Diffstat (limited to 'test')
-rw-r--r--test/headless/headless.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index aa2a9202a4..6cd0870546 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -106,12 +106,13 @@ TEST_P(HeadlessTest, render) {
Log::setObserver(util::make_unique<FixtureLogObserver>());
- Log::Info(Event::General, "test fixture %s", base.c_str());
-
for (auto it = infoDoc.MemberBegin(), end = infoDoc.MemberEnd(); it != end; it++) {
const std::string name {
it->name.GetString(), it->name.GetStringLength()
};
+
+ Log::Info(Event::General, "test fixture %s %s", base.c_str(), name.c_str());
+
const rapidjson::Value& value = it->value;
ASSERT_TRUE(value.IsObject());