// Class to initialize test environment and run tests. class TestMain {
public:
virtual ~TestMain() {}
static std::unique_ptr<TestMain> Create();
// Initializes test environment. Clients can add their own initialization // steps after call to this method and before running tests. // Returns 0 if initialization was successful and non 0 otherwise.
virtual int Init() = 0; // Temporary for backward compatibility
virtual int Init(int* argc, char* argv[]) = 0;
// Runs test end return result error code. 0 - no errors.
virtual int Run(int argc, char* argv[]) = 0;
protected:
TestMain() = default;
};
} // namespace webrtc
#endif// TEST_TEST_MAIN_LIB_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.