- commit current state of testcase support
[platform/upstream/libsolv.git] / ext / testcase.h
1 /*
2  * Copyright (c) 2012, Novell Inc.
3  *
4  * This program is licensed under the BSD license, read LICENSE.BSD
5  * for further information
6  */
7
8 #include "pool.h"
9 #include "repo.h"
10
11 extern Id testcase_str2dep(Pool *pool, char *s);
12 extern const char *testcase_repoid2str(Pool *pool, Id repoid);
13 extern const char *testcase_solvid2str(Pool *pool, Id p);
14 extern Repo *testcase_str2repo(Pool *pool, const char *str);
15 extern Id testcase_str2solvid(Pool *pool, const char *str);
16 extern const char *testcase_job2str(Pool *pool, Id how, Id what);
17 extern Id testcase_str2job(Pool *pool, const char *str, Id *whatp);
18 extern int testcase_write_susetags(Repo *repo, FILE *fp);
19 extern const char *testcase_getsolverflags(Solver *solv);
20 extern int testcase_setsolverflags(Solver *solv, const char *str);
21 extern void testcase_resetsolverflags(Solver *solv);
22 extern char *testcase_solverresult(Solver *solv);
23 extern int testcase_write(Solver *solv, char *dir, int withresult);
24 extern Solver *testcase_read(Pool *pool, FILE *fp, char *testcase, Queue *job, char **resultp);
25 extern char *testcase_resultdiff(char *result1, char *result2);