Add regression test (still deactivated) to verify cf-manifest validates

This commit is contained in:
Kris De Volder
2017-07-14 13:39:22 -07:00
parent 5e4ca61c5a
commit aef2a5538e
3 changed files with 1755 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ package org.springframework.ide.vscode.concourse;
import static org.springframework.ide.vscode.languageserver.testharness.Editor.PLAIN_COMPLETION;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.ide.vscode.bosh.BoshLanguageServer;
import org.springframework.ide.vscode.commons.util.text.LanguageId;
@@ -113,6 +114,12 @@ public class BoshEditorTest {
editor.assertHoverContains("variables", "Describes variables");
editor.assertHoverContains("tags", "Specifies key value pairs to be sent to the CPI for VM tagging");
}
@Ignore //For now... because not passing yet.
@Test public void reconcileCfManifest() throws Exception {
Editor editor = harness.newEditorFromClasspath("/workspace/cf-deployment-manifest.yml");
editor.assertProblems(/*NONE*/);
}
@Test public void toplevelPropertyCompletions() throws Exception {
Editor editor = harness.newEditor(
@@ -373,6 +380,10 @@ public class BoshEditorTest {
editor.assertHoverContains("properties", "Specifies instance group properties");
editor.assertHoverContains("env", "Specifies advanced BOSH Agent configuration");
}
@Test public void complexManifestValidation() throws Exception {
}
@Test public void instanceGroups_job_hovers() throws Exception {
Editor editor = harness.newEditor(