Added a couple more test cases for services CA
This commit is contained in:
@@ -59,6 +59,18 @@ public class ManifestYamlEditorCFBasicTest {
|
||||
basicCfClientHarness.addServiceInstances("mysql");
|
||||
assertContainsCompletions("services:\n" + " - <*>", "mysql");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void contentAssistDoesNotContainServices() throws Exception {
|
||||
basicCfClientHarness.addServiceInstances("mysql");
|
||||
assertDoesNotContainCompletions("services:\n" + " - <*>", "wrongsql");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void contentAssistDoesNotContainServicesEmptyServices() throws Exception {
|
||||
basicCfClientHarness.addServiceInstances(/*no services*/);
|
||||
assertDoesNotContainCompletions("services:\n" + " - <*>", "mysql");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void reconcileCFService() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user