Package org.springframework.ide.eclipse.wizard.gettingstarted.boot

Examples of org.springframework.ide.eclipse.wizard.gettingstarted.boot.NewSpringBootWizardModel


    }
  }
 
  public void testPrintLabels() throws Exception {
    //print all radios in groups with lable for quick visual inspection.
    NewSpringBootWizardModel model = parseFrom("initializr.json");
    for (RadioGroup group : model.getRadioGroups().getGroups()) {
      String label = group.getLabel();
      System.out.println(group + " -> "+label);
     
      for (RadioInfo radio : group.getRadios()) {
        label = radio.getLabel();
View Full Code Here


 
  /**
   * Test that radio params are wired up in the model so that selecting them changes the downloadUrl.
   */
  public void testRadioQueryParams() throws Exception {
    NewSpringBootWizardModel model = parseFrom("initializr.json");
    RadioGroup packaging = model.getRadioGroups().getGroup("packaging");
    LiveVariable<RadioInfo> selection = packaging.getSelection().selection;
    assertEquals("jar", selection.getValue().getValue());
    String urlParam = getUrlParam(model.downloadUrl.getValue(), "packaging");
    assertEquals("jar", urlParam);
    selection.setValue(packaging.getRadio("war"));
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.wizard.gettingstarted.boot.NewSpringBootWizardModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.