ARB
|
#include "arb_diff.h"
#include "arb_match.h"
#include "arb_string.h"
#include "arb_msg.h"
#include "arb_file.h"
#include <arb_str.h>
#include <arbtools.h>
#include <smartptr.h>
#include <list>
#include <string>
Go to the source code of this file.
Classes | |
class | difflineMode |
class | DiffLines |
Macros | |
#define | MAX_REGS 13 |
#define | BUFSIZE 20000 |
Functions | |
static void | cutEOL (char *s) |
static bool | test_accept_diff_lines (const char *line1, const char *line2, const difflineMode &mode) |
bool | ARB_textfiles_have_difflines (const char *file1, const char *file2, int expected_difflines, TextDiffMode tdmode) |
Variables | |
static GB_ERROR | static_error = NULp |
#define MAX_REGS 13 |
Definition at line 29 of file arb_diff.cxx.
#define BUFSIZE 20000 |
Referenced by ARB_textfiles_have_difflines().
|
static |
Definition at line 145 of file arb_diff.cxx.
Referenced by test_accept_diff_lines().
|
static |
Definition at line 150 of file arb_diff.cxx.
References ARB_strdup(), and cutEOL().
Referenced by DiffLines::remove_accepted_lines().
bool ARB_textfiles_have_difflines | ( | const char * | file1, |
const char * | file2, | ||
int | expected_difflines, | ||
TextDiffMode | tdmode | ||
) |
Definition at line 250 of file arb_diff.cxx.
References DiffLines::add(), DiffLines::added(), arb_assert, ARB_strBeginsWith(), buffer, BUFSIZE, DiffLines::deleted(), error(), fputc(), fputs(), GB_is_regularfile(), GBS_global_string(), GBS_global_string_copy(), difflineMode::get_error(), IF_ASSERTION_USED, line, NULp, DiffLines::print(), DiffLines::remove_accepted_lines(), TDM_IGNORE_TIMESTAMPS, and TDM_NOT_DIFF_LINECOUNT.
Definition at line 142 of file arb_diff.cxx.