diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-22 21:46:22 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:24 -0400 |
commit | c84e8862226e6f89538b34fafd592182caf9008b (patch) | |
tree | b6add2ba862b82eb732449312a9775c9ac19665b /test | |
parent | 5f76ab270e8a5015f87ebdcb511f54feef1cedd5 (diff) | |
download | qtlocation-mapboxgl-c84e8862226e6f89538b34fafd592182caf9008b.tar.gz |
Log each test subcase during headless tests
Diffstat (limited to 'test')
-rw-r--r-- | test/headless/headless.cpp | 5 |
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()); |