Ninja
Classes | Functions
test.h File Reference
#include <gtest/gtest.h>
#include "disk_interface.h"
#include "state.h"
#include "util.h"
Include dependency graph for test.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VirtualFileSystem::Entry
 An entry for a single in-memory file. More...
struct  ScopedTempDir
struct  StateTestWithBuiltinRules
 A base test fixture that includes a State object with a builtin "cat" rule. More...
struct  VirtualFileSystem
 An implementation of DiskInterface that uses an in-memory representation of disk state. More...

Functions

void AssertHash (const char *expected, uint64_t actual)
void AssertParse (State *state, const char *input)

Function Documentation

void AssertHash ( const char *  expected,
uint64_t  actual 
)

Definition at line 97 of file test.cc.

References BuildLog::LogEntry::HashCommand().

Referenced by TEST_F().

void AssertParse ( State state,
const char *  input 
)