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