Lines Matching defs:log

50  * \brief Test log
57 * TestLog& log = m_testCtx.getLog();
59 * // Write message to log.
60 * log << TestLog::Message << "Hello, World!" << TestLog::EndMessage;
62 * log << TestLog::Message << "Diff is " << myNumber << TestLog::EndMessage;
66 * log << TestLog::Image("TestImage", "My test image", myImage);
69 * log << TestLog::Section("Details", "Test case details")
197 explicit MessageBuilder (TestLog* log) : m_log(log) {}
218 SampleBuilder (TestLog* log) : m_log(log) {}
257 void write (TestLog& log) const;
274 void write (TestLog& log) const;
294 void write (TestLog& log) const;
310 void write (TestLog& log) const;
328 void write (TestLog& log) const;
345 void write (TestLog& log) const;
359 void write (TestLog& log) const;
374 void write (TestLog& log) const;
392 void write (TestLog& log) const;
414 void write (TestLog& log) const;
428 ScopedLogSection (TestLog& log, const std::string& name, const std::string& description)
429 : m_log(log)
468 inline TestLog& operator<< (TestLog& log, const std::exception& e)
471 return log << TestLog::Message << e.what() << TestLog::EndMessage;
499 inline void LogImageSet::write (TestLog& log) const
501 log.startImageSet(m_name.c_str(), m_description.c_str());
504 inline void LogSection::write (TestLog& log) const
506 log.startSection(m_name.c_str(), m_description.c_str());
509 inline void LogShaderProgram::write (TestLog& log) const
511 log.startShaderProgram(m_linkOk, m_linkInfoLog.c_str());
514 inline void LogShader::write (TestLog& log) const
516 log.writeShader(m_type, m_source.c_str(), m_compileOk, m_infoLog.c_str());
519 inline void LogSpirVAssemblySource::write (TestLog& log) const
521 log.writeSpirVAssemblySource(m_source.c_str());
524 inline void LogKernelSource::write (TestLog& log) const
526 log.writeKernelSource(m_source.c_str());
529 inline void LogSampleList::write (TestLog& log) const
531 log.startSampleList(m_name, m_description);
534 inline void LogValueInfo::write (TestLog& log) const
536 log.writeValueInfo(m_name, m_description, m_unit, m_tag);
540 inline void LogNumber<float>::write (TestLog& log) const
542 log.writeFloat(m_name.c_str(), m_desc.c_str(), m_unit.c_str(), m_tag, m_value);
546 inline void LogNumber<deInt64>::write (TestLog& log) const
548 log.writeInteger(m_name.c_str(), m_desc.c_str(), m_unit.c_str(), m_tag, m_value);