Add I965TestFixture::getFullTestName to allow tests to
log the current test's name.
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
m_vaDisplay = NULL;
}
+const std::string I965TestFixture::getFullTestName() const
+{
+ const ::testing::TestInfo * const info =
+ ::testing::UnitTest::GetInstance()->current_test_info();
+ return std::string(info->test_case_name())
+ + std::string(".")
+ + std::string(info->name());
+}
+
void I965TestFixture::initialize()
{
ASSERT_FALSE(NULL == (VADisplay)*this);
#include "test.h"
#include "i965_internal_decl.h"
+#include <string>
#include <vector>
typedef std::vector<VASurfaceID> Surfaces;
terminate();
}
+ const std::string getFullTestName() const;
+
public:
/**
* Initializes the i965 driver and display. May generate a fatal or