tesseract v5.3.3.20231005
googletest-env-var-test_.cc File Reference
#include <iostream>
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"

Go to the source code of this file.

Namespaces

namespace  testing
 

Functions

 testing::TEST (GTestEnvVarTest, Dummy)
 
void testing::PrintFlag (const char *flag)
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 122 of file googletest-env-var-test_.cc.

122 {
123 testing::InitGoogleTest(&argc, argv);
124
125 if (argc != 2) {
126 cout << "Usage: googletest-env-var-test_ NAME_OF_FLAG\n";
127 return 1;
128 }
129
130 testing::PrintFlag(argv[1]);
131 return 0;
132}
void PrintFlag(const char *flag)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition: gtest.cc:6660