@Test public void testPomsWithParentDataDisableFieldsParentNotSet() throws Exception { page.setPom( new POM() ); verify( pomEditor, never() ).disableGroupID( anyString() ); verify( pomEditor, never() ).disableVersion( anyString() ); }
public void setPom(final POM pom) { this.pomEditor.setPOM(pom, false); validateName(pom.getName()); validateArtifactId(pom.getGav().getArtifactId()); validateGroupId(pom.getGav().getGroupId()); validateVersion(pom.getGav().getVersion()); }
POMWizardPage implements WizardPage { public void setPom(final POM pom) { this.pomEditor.setPOM(pom, false); validateName(pom.getName()); validateArtifactId(pom.getGav().getArtifactId()); validateGroupId(pom.getGav().getGroupId()); validateVersion(pom.getGav().getVersion()); } }
POMWizardPage implements WizardPage { public void setPom(final POM pom) { this.pomEditor.setPOM(pom, false); validateName(pom.getName()); validateArtifactId(pom.getGav().getArtifactId()); validateGroupId(pom.getGav().getGroupId()); validateVersion(pom.getGav().getVersion()); } POMWizardPage(); @Inject  POMWizardPage(final POMEditorPanel pomEditor,
                         final POMWizardPageView view,
                         final Event<WizardPageStatusChangeEvent> wizardPageStatusChangeEvent,
                         final Caller<ProjectScreenService> projectScreenService,
                         final Caller<ValidationService> validationService); }
POMWizardPage implements WizardPage { public void setPom(final POM pom) { this.pomEditor.setPOM(pom, false); validateName(pom.getName()); validateArtifactId(pom.getGav().getArtifactId()); validateGroupId(pom.getGav().getGroupId()); validateVersion(pom.getGav().getVersion()); } POMWizardPage(); @Inject  POMWizardPage(final POMEditorPanel pomEditor,
                         final POMWizardPageView view,
                         final Event<WizardPageStatusChangeEvent> wizardPageStatusChangeEvent,
                         final Caller<ProjectScreenService> projectScreenService,
                         final Caller<ValidationService> validationService); void setPom(final POM pom); POM getPom(); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void initialise(); @Override void prepareView(); @Override Widget asWidget(); }
POMWizardPage implements WizardPage { public void setPom(final POM pom) { this.pomEditor.setPOM(pom, false); validateName(pom.getName()); validateArtifactId(pom.getGav().getArtifactId()); validateGroupId(pom.getGav().getGroupId()); validateVersion(pom.getGav().getVersion()); } POMWizardPage(); @Inject  POMWizardPage(final POMEditorPanel pomEditor,
                         final POMWizardPageView view,
                         final Event<WizardPageStatusChangeEvent> wizardPageStatusChangeEvent,
                         final Caller<ProjectScreenService> projectScreenService,
                         final Caller<ValidationService> validationService); void setPom(final POM pom); POM getPom(); @Override String getTitle(); @Override void isComplete(final Callback<Boolean> callback); @Override void initialise(); @Override void prepareView(); @Override Widget asWidget();  }