File: as-test-utils.h

package info (click to toggle)
appstream 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,448 kB
  • sloc: ansic: 51,878; xml: 10,459; cpp: 4,721; python: 538; sh: 264; makefile: 24
file content (22 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef __AS_TEST_UTILS_H
#define __AS_TEST_UTILS_H

#include <glib-object.h>
#include <appstream.h>

G_BEGIN_DECLS

gboolean as_test_compare_lines (const gchar *txt1, const gchar *txt2);

void	 as_component_sort_values (AsComponent *cpt);
void	 as_sort_components (GPtrArray *cpts);
void	 as_sort_strings (GPtrArray *utf8);

GBytes	*as_gbytes_from_literal (const gchar *string);

gchar	*as_ptr_array_strjoin (GPtrArray *array, const gchar *sep);

G_END_DECLS

#endif /* __AS_TEST_UTILS_H */