blob: 5fa2c17340b36d61216c5b45b72b1f350205e5b1 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001#include "SourcePos.h"
2#include <stdio.h>
3
4int ValuesFile_test();
5int XLIFFFile_test();
6int XMLHandler_test();
7int Perforce_test();
8int localize_test();
9int merge_test();
10
11int
12test()
13{
14 bool all = true;
15 int err = 0;
16
17 if (all) err |= XMLHandler_test();
18 if (all) err |= ValuesFile_test();
19 if (all) err |= XLIFFFile_test();
20 if (all) err |= Perforce_test();
21 if (all) err |= localize_test();
22 if (all) err |= merge_test();
23
24 if (err != 0) {
25 fprintf(stderr, "some tests failed\n");
26 } else {
27 fprintf(stderr, "all tests passed\n");
28 }
29
30 return err;
31}