コード例 #1
0
  @Override
  public void setupPublisherResult() {
    super.setupPublisherResult();

    InstallableUnitDescription iuDescription = new InstallableUnitDescription();
    iuDescription.setId(ORG_ECLIPSE_CORE_COMMANDS);
    iuDescription.setVersion(Version.create(BUNDLE_VERSION));
    IInstallableUnit iu = MetadataFactory.createInstallableUnit(iuDescription);

    publisherResult.addIU(iu, IPublisherResult.NON_ROOT);
  }
コード例 #2
0
  public void testGetOutputs() {
    super.testGetOutputs();

    assertTrue(getFixture().getOutputs().contains(getFixture().getResult()));
  }
コード例 #3
0
  /* (non-Javadoc)
   * @see org.eclipse.uml2.impl.tests.ActionImplTest#setUpOutputs()
   */
  protected void setUpOutputs() {
    super.setUpOutputs();

    getFixture().setResult(UML2Factory.eINSTANCE.createOutputPin());
  }