|
Ninja
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <getopt.h>#include "test.h"#include "line_printer.h"
Go to the source code of this file.
Classes | |
| struct | RegisteredTest |
Functions | |
| int | main (int argc, char **argv) |
| void | RegisterTest (testing::Test *(*factory)(), const char *name) |
Variables | |
| testing::Test * | g_current_test |
| static int | ntests |
| static LinePrinter | printer |
| static RegisteredTest | tests [10000] |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 131 of file ninja_test.cc.
References LinePrinter::ELIDE, RegisteredTest::factory, testing::Test::Failed(), ntests, LinePrinter::Print(), printer, LinePrinter::PrintOnNewLine(), testing::Test::Run(), testing::Test::SetUp(), testing::Test::TearDown(), and tests.
| void RegisterTest | ( | testing::Test *(*)() | factory, |
| const char * | name | ||
| ) |
Definition at line 47 of file ninja_test.cc.
References RegisteredTest::factory, RegisteredTest::name, ntests, and tests.
| testing::Test* g_current_test |
Definition at line 43 of file ninja_test.cc.
|
static |
Definition at line 44 of file ninja_test.cc.
Referenced by main(), and RegisterTest().
|
static |
Definition at line 45 of file ninja_test.cc.
Referenced by testing::Test::Check(), and main().
|
static |
Definition at line 42 of file ninja_test.cc.
Referenced by main(), and RegisterTest().
1.8.14