]> source.dussan.org Git - sonarqube.git/blob
24aff0fb75d2e9988b900a7174db1e1708fa72c9
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`render code 1`] = `
4 <td
5   className="source-line-code code"
6   data-line-number={16}
7 >
8   <div
9     className="source-line-code-inner"
10   >
11     <pre>
12       <span
13         className="k source-line-code-issue"
14         key="0"
15       >
16         impor
17       </span>
18       <span
19         className="k"
20         key="1"
21       >
22         t
23       </span>
24       <span
25         className=""
26         key="2"
27       >
28          java.util.
29       </span>
30       <span
31         className="sym-9 sym highlighted"
32         key="3"
33       >
34         ArrayList
35       </span>
36       <span
37         className=""
38         key="4"
39       >
40         ;
41       </span>
42     </pre>
43   </div>
44 </td>
45 `;
46
47 exports[`render code: with additional child 1`] = `
48 <td
49   className="source-line-code code"
50   data-line-number={16}
51 >
52   <div
53     className="source-line-code-inner"
54   >
55     <pre>
56       <span
57         className="k source-line-code-issue"
58         key="0"
59       >
60         impor
61       </span>
62       <span
63         className="k"
64         key="1"
65       >
66         t
67       </span>
68       <span
69         className=""
70         key="2"
71       >
72          java.util.
73       </span>
74       <span
75         className="sym-9 sym highlighted"
76         key="3"
77       >
78         ArrayList
79       </span>
80       <span
81         className=""
82         key="4"
83       >
84         ;
85       </span>
86     </pre>
87   </div>
88   <div>
89     additional child
90   </div>
91 </td>
92 `;
93
94 exports[`render code: with secondary location 1`] = `
95 <td
96   className="source-line-code code"
97   data-line-number={16}
98 >
99   <div
100     className="source-line-code-inner"
101   >
102     <pre>
103       <span
104         className="k source-line-code-issue"
105         key="0"
106       >
107         impor
108       </span>
109       <Tooltip
110         key="marker-1"
111         overlay={
112           <IssueMessageHighlighting
113             message="secondary-location-msg"
114           />
115         }
116         placement="top"
117       >
118         <LocationIndex
119           aria-current={false}
120           aria-label="2-secondary-location-msg"
121           leading={false}
122           onClick={[Function]}
123           selected={false}
124         >
125           <ContextConsumer>
126             <Component />
127           </ContextConsumer>
128         </LocationIndex>
129       </Tooltip>
130       <span
131         className="k issue-location"
132         key="1"
133       >
134         t
135       </span>
136       <span
137         className=""
138         key="2"
139       >
140          java.util.
141       </span>
142       <span
143         className="sym-9 sym highlighted"
144         key="3"
145       >
146         ArrayList
147       </span>
148       <span
149         className=""
150         key="4"
151       >
152         ;
153       </span>
154     </pre>
155   </div>
156 </td>
157 `;