#include <config.h>
#include <iostream>
#include "../common/fileutils.cc"

Go to the source code of this file.
Defines | |
| #define | TEST_EQUAL(A, B) |
Functions | |
| string | r_r_p (string a, const string &b) |
| static bool | test_resolverelativepath1 () |
| int | main () |
Definition in file unittest.cc.
| #define TEST_EQUAL | ( | A, | |||
| B | ) |
Value:
do {\ const string & test_equal_a = (A);\ const string & test_equal_b = (B);\ if (test_equal_a != test_equal_b) {\ cout << test_equal_a << " != " << test_equal_b << endl;\ return false;\ }\ } while (0)
Definition at line 36 of file unittest.cc.
| int main | ( | ) |
| string r_r_p | ( | string | a, | |
| const string & | b | |||
| ) | [inline] |
Definition at line 46 of file unittest.cc.
References resolve_relative_path().
Referenced by test_resolverelativepath1().
| static bool test_resolverelativepath1 | ( | ) | [static] |
Definition at line 52 of file unittest.cc.
References r_r_p(), and TEST_EQUAL.
Referenced by main().