Lines Matching full:diagnostics
8 assert len(tu.diagnostics) == 1
9 assert tu.diagnostics[0].severity == Diagnostic.Warning
10 assert tu.diagnostics[0].location.line == 1
11 assert tu.diagnostics[0].location.column == 11
12 assert (tu.diagnostics[0].spelling ==
18 assert len(tu.diagnostics) == 1
19 assert tu.diagnostics[0].severity == Diagnostic.Warning
20 assert tu.diagnostics[0].location.line == 2
21 assert tu.diagnostics[0].location.column == 7
22 assert 'incompatible' in tu.diagnostics[0].spelling
23 # assert tu.diagnostics[1].severity == Diagnostic.Note
24 # assert tu.diagnostics[1].location.line == 1
25 # assert tu.diagnostics[1].location.column == 11
26 # assert tu.diagnostics[1].spelling == 'instantiated from'
30 assert len(tu.diagnostics) == 1
31 assert tu.diagnostics[0].severity == Diagnostic.Warning
32 assert tu.diagnostics[0].location.line == 1
33 assert tu.diagnostics[0].location.column == 26
34 assert tu.diagnostics[0].spelling.startswith('use of GNU old-style')
35 assert len(tu.diagnostics[0].fixits) == 1
36 assert tu.diagnostics[0].fixits[0].range.start.line == 1
37 assert tu.diagnostics[0].fixits[0].range.start.column == 26
38 assert tu.diagnostics[0].fixits[0].range.end.line == 1
39 assert tu.diagnostics[0].fixits[0].range.end.column == 30
40 assert tu.diagnostics[0].fixits[0].value == '.f0 = '
44 assert len(tu.diagnostics) == 1
45 assert tu.diagnostics[0].severity == Diagnostic.Warning
46 assert tu.diagnostics[0].location.line == 1
47 assert tu.diagnostics[0].location.column == 16
48 assert tu.diagnostics[0].spelling.startswith('incompatible pointer to')
49 assert len(tu.diagnostics[0].fixits) == 0
50 assert len(tu.diagnostics[0].ranges) == 1
51 assert tu.diagnostics[0].ranges[0].start.line == 1
52 assert tu.diagnostics[0].ranges[0].start.column == 20
53 assert tu.diagnostics[0].ranges[0].end.line == 1
54 assert tu.diagnostics[0].ranges[0].end.column == 27
56 tu.diagnostics[0].ranges[1].start.line
65 assert len(tu.diagnostics) == 1
66 d = tu.diagnostics[0]
78 assert len(tu.diagnostics) == 1
79 d = tu.diagnostics[0]
86 assert len(tu.diagnostics) == 1
87 d = tu.diagnostics[0]