blob: 1d8d6ba7e5aeb07e1f6da903a57bc4bc50397d40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
/*
* test-infolist.cpp - test infolist functions
*
* Copyright (C) 2014-2018 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* WeeChat is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#include "CppUTest/TestHarness.h"
extern "C"
{
#include "src/core/wee-infolist.h"
}
TEST_GROUP(Infolist)
{
};
/*
* Tests functions:
* infolist_new
* infolist_new_item
* infolist_new_var_integer
* infolist_new_var_string
* infolist_new_var_pointer
* infolist_new_var_buffer
* infolist_new_var_time
*/
TEST(Infolist, New)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_valid
*/
TEST(Infolist, Valid)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_search_var
*/
TEST(Infolist, Search)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_next
* infolist_prev
* infolist_reset_item_cursor
*/
TEST(Infolist, Move)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_integer
* infolist_string
* infolist_pointer
* infolist_buffer
* infolist_time
*/
TEST(Infolist, Get)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_free
* infolist_free_all_plugin
*/
TEST(Infolist, Free)
{
/* TODO: write tests */
}
/*
* Tests functions:
* infolist_print_log
*/
TEST(Infolist, PrintLog)
{
/* TODO: write tests */
}
|