]> source.dussan.org Git - sonarqube.git/blob
9dd9e567752c32624356fbdfa313a4e2f6ce85a3
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display an edition notification 1`] = `
4 Object {
5   "children": Array [],
6   "height": 95,
7   "id": "context-navigation",
8   "notif": <SettingsEditionsNotif
9     editionStatus={
10         Object {
11             "installationStatus": "AUTOMATIC_IN_PROGRESS",
12           }
13     }
14 />,
15 }
16 `;
17
18 exports[`should work with extensions 1`] = `
19 <ContextNavBar
20   height={65}
21   id="context-navigation"
22 >
23   <h1
24     className="navbar-context-header"
25   >
26     <strong>
27       layout.settings
28     </strong>
29   </h1>
30   <NavBarTabs>
31     <li
32       className="dropdown"
33     >
34       <a
35         className="dropdown-toggle active"
36         data-toggle="dropdown"
37         href="#"
38         id="settings-navigation-configuration"
39       >
40         sidebar.project_settings
41          
42         <i
43           className="icon-dropdown"
44         />
45       </a>
46       <ul
47         className="dropdown-menu"
48       >
49         <li>
50           <IndexLink
51             activeClassName="active"
52             to="/admin/settings"
53           >
54             settings.page
55           </IndexLink>
56         </li>
57         <li>
58           <IndexLink
59             activeClassName="active"
60             to="/admin/settings/encryption"
61           >
62             property.category.security.encryption
63           </IndexLink>
64         </li>
65         <li>
66           <IndexLink
67             activeClassName="active"
68             to="/admin/custom_metrics"
69           >
70             custom_metrics.page
71           </IndexLink>
72         </li>
73         <li>
74           <Link
75             activeClassName="active"
76             onlyActiveOnIndex={false}
77             style={Object {}}
78             to="/admin/extension/foo"
79           >
80             Foo
81           </Link>
82         </li>
83       </ul>
84     </li>
85     <li
86       className="dropdown"
87     >
88       <a
89         className="dropdown-toggle"
90         data-toggle="dropdown"
91         href="#"
92       >
93         sidebar.security
94          
95         <i
96           className="icon-dropdown"
97         />
98       </a>
99       <ul
100         className="dropdown-menu"
101       >
102         <li>
103           <IndexLink
104             activeClassName="active"
105             to="/admin/users"
106           >
107             users.page
108           </IndexLink>
109         </li>
110         <li>
111           <IndexLink
112             activeClassName="active"
113             to="/admin/groups"
114           >
115             user_groups.page
116           </IndexLink>
117         </li>
118         <li>
119           <IndexLink
120             activeClassName="active"
121             to="/admin/permissions"
122           >
123             global_permissions.page
124           </IndexLink>
125         </li>
126         <li>
127           <IndexLink
128             activeClassName="active"
129             to="/admin/permission_templates"
130           >
131             permission_templates
132           </IndexLink>
133         </li>
134       </ul>
135     </li>
136     <li
137       className="dropdown"
138     >
139       <a
140         className="dropdown-toggle"
141         data-toggle="dropdown"
142         href="#"
143       >
144         sidebar.projects
145          
146         <i
147           className="icon-dropdown"
148         />
149       </a>
150       <ul
151         className="dropdown-menu"
152       >
153         <li>
154           <IndexLink
155             activeClassName="active"
156             to="/admin/projects_management"
157           >
158             management
159           </IndexLink>
160         </li>
161         <li>
162           <IndexLink
163             activeClassName="active"
164             to="/admin/background_tasks"
165           >
166             background_tasks.page
167           </IndexLink>
168         </li>
169       </ul>
170     </li>
171     <li
172       className="dropdown"
173     >
174       <a
175         className="dropdown-toggle"
176         data-toggle="dropdown"
177         href="#"
178       >
179         sidebar.system
180          
181         <i
182           className="icon-dropdown"
183         />
184       </a>
185       <ul
186         className="dropdown-menu"
187       >
188         <li>
189           <IndexLink
190             activeClassName="active"
191             to="/admin/update_center"
192           >
193             update_center.page
194           </IndexLink>
195         </li>
196         <li>
197           <IndexLink
198             activeClassName="active"
199             to="/admin/system"
200           >
201             system_info.page
202           </IndexLink>
203         </li>
204       </ul>
205     </li>
206     <li>
207       <IndexLink
208         activeClassName="active"
209         to="/admin/marketplace"
210       >
211         marketplace.page
212       </IndexLink>
213     </li>
214   </NavBarTabs>
215 </ContextNavBar>
216 `;