MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / TestAtom

Class TestAtom

samples/common/logging.h:334–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 //! with Logger::reportTest{Start,End}().
333 //!
334 class TestAtom
335 {
336 public:
337 TestAtom(TestAtom&&) = default;
338
339 private:
340 friend class Logger;
341
342 TestAtom(bool started, const std::string& name, const std::string& cmdline)
343 : mStarted(started)
344 , mName(name)
345 , mCmdline(cmdline)
346 {
347 }
348
349 bool mStarted;
350 std::string mName;
351 std::string mCmdline;
352 };
353
354 //!
355 //! \brief Define a test for logging

Callers 1

defineTestMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected