forked from OpenLiberty/liberty-tools-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGradleTestLSPHover.ts
More file actions
20 lines (18 loc) · 1.11 KB
/
Copy pathGradleTestLSPHover.ts
File metadata and controls
20 lines (18 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* IBM Confidential
* Copyright IBM Corp. 2026
*/
import * as utils from './utils/testUtils';
import { runHoverTestSuite } from './shared/hoverTestSuite';
runHoverTestSuite({
buildTool: 'gradle',
getProjectPath: utils.getGradleProjectPath,
hoverTestCases: [
{ element: 'httpEndpoint element', line: 18, column: 10, expectedDoc: 'Configuration properties for an HTTP endpoint.' },
{ element: 'feature element', line: 15, column: 16, expectedDoc: 'Specifies a feature to be used when the server runs.' },
{ element: 'featureManager element', line: 14, column: 10, expectedDoc: 'Defines how the server loads features.' },
{ element: 'webApplication element', line: 20, column: 10, expectedDoc: 'Defines the properties of a web application.' },
{ element: 'jsp-2.3 feature value', line: 15, column: 22, expectedDoc: 'This feature enables support for Java Server Pages (JSPs) that are written to the JSP 2.3 specification.' },
{ element: 'httpPort attribute', line: 18, column: 33, expectedDoc: 'The port used for client HTTP requests. Use -1 to disable this port.' }
]
});