Add regression test (still deactivated) to verify cf-manifest validates
This commit is contained in:
@@ -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(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user