diff --git a/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/PipelineYamlEditorTest.java b/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/PipelineYamlEditorTest.java index 95294d11d..cb6d33a25 100644 --- a/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/PipelineYamlEditorTest.java +++ b/vscode-extensions/vscode-concourse/src/test/java/org/springframework/ide/vscode/concourse/PipelineYamlEditorTest.java @@ -639,7 +639,7 @@ public class PipelineYamlEditorTest { ); } - @Test public void reconcileGitResourceSource() throws Exception { + @Test public void gitResourceSourceReconcile() throws Exception { Editor editor = harness.newEditor( "resources:\n" + "- name: sts4-out\n" + @@ -675,6 +675,51 @@ public class PipelineYamlEditorTest { ); } + @Test public void gitResourceSourceCompletions() throws Exception { + assertContextualCompletions( + "resources:\n" + + "- name: the-repo\n" + + " type: git\n" + + " source:\n" + + " <*>" + , //================ + "<*>" + , // ==> + "branch: <*>" + , + "commit_verification_key_ids:\n" + + " - <*>" + , + "commit_verification_keys:\n" + + " - <*>" + , + "disable_ci_skip: <*>" + , + "git_config:\n" + + " - <*>" + , + "gpg_keyserver: <*>" + , + "ignore_paths:\n" + + " - <*>" + , + "password: <*>" + , + "paths:\n" + + " - <*>" + , + "private_key: <*>" + , + "skip_ssl_verification: <*>" + , + "tag_filter: <*>" + , + "uri: <*>" + , + "username: <*>" + ); + } + @Test public void gitResourceSourceHovers() throws Exception { Editor editor = harness.newEditor( "resources:\n" +