Index: ppapi/tests/testing_instance.h |
diff --git a/ppapi/tests/testing_instance.h b/ppapi/tests/testing_instance.h |
index 96d625436e444e8336ab94bc1f154c0d967adaa2..2b306a596d1adc2f662e7831664390373b80cc59 100644 |
--- a/ppapi/tests/testing_instance.h |
+++ b/ppapi/tests/testing_instance.h |
@@ -87,6 +87,7 @@ pp::InstancePrivate { |
void LogTest(const std::string& test_name, |
const std::string& error_message, |
PP_TimeTicks start_time); |
+ const std::string& current_test_name() { return current_test_name_; } |
// Appends an error message to the log. |
void AppendError(const std::string& message); |
@@ -150,6 +151,8 @@ pp::InstancePrivate { |
// Owning pointer to the current test case. Valid after Init has been called. |
TestCase* current_case_; |
+ std::string current_test_name_; |
+ |
// A filter to use when running tests. This is passed to 'RunTests', which |
// runs only tests whose name contains test_filter_ as a substring. |
std::string test_filter_; |