CloudConfig toplevel property hovers
This commit is contained in:
@@ -1895,4 +1895,19 @@ public class BoshEditorTest {
|
||||
editor.assertProblems("bogus|Unknown property");
|
||||
}
|
||||
|
||||
@Test public void cloudconfig_toplevel_hovers() throws Exception {
|
||||
Editor editor = harness.newEditor(LanguageId.BOSH_CLOUD_CONFIG,
|
||||
"azs: []\n" +
|
||||
"vm_types: []\n" +
|
||||
"disk_types: []\n" +
|
||||
"networks: []\n" +
|
||||
"compilation: {}\n"
|
||||
);
|
||||
editor.assertHoverContains("azs", "Specifies the AZs available to deployments.");
|
||||
editor.assertHoverContains("networks", "specifies a network configuration that jobs can reference.");
|
||||
editor.assertHoverContains("vm_types", "Specifies the [VM types](https://bosh.io/docs/terminology.html#vm-type) available to deployments.");
|
||||
editor.assertHoverContains("disk_types", "Specifies the [disk types](https://bosh.io/docs/terminology.html#disk-types) available to deployments.");
|
||||
editor.assertHoverContains("compilation", "A compilation definition allows to specify VM characteristics.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user