Examples of Release


Examples of com.saasovation.agilepm.domain.model.product.release.Release

    public LevelDBReleaseRepositoryTest() {
        super();
    }

    public void testSave() throws Exception {
        Release release = new Release(
                new TenantId("12345"), new ProductId("p00000"), new ReleaseId("r11111"),
                "release1", "My release 1.", new Date(), new Date());

        LevelDBUnitOfWork.start(this.database);
        releaseRepository.save(release);
        LevelDBUnitOfWork.current().commit();

        Release savedRelease = releaseRepository.releaseOfId(release.tenantId(), release.releaseId());

        assertNotNull(savedRelease);
        assertEquals(release.tenantId(), savedRelease.tenantId());
        assertEquals(release.name(), savedRelease.name());

        Collection<Release> savedReleases =
                this.releaseRepository.allProductReleases(release.tenantId(), release.productId());

        assertFalse(savedReleases.isEmpty());
View Full Code Here

Examples of fm.last.musicbrainz.data.model.Release

  @Autowired
  private ReleaseDao dao;

  @Test
  public void getByExistingIdReturnsOneRelese() {
    Release release = dao.getById(1);
    assertThat(release.getName(), is("The Best of Rick Astley"));
  }
View Full Code Here

Examples of jadx.gui.update.data.Release

  public static void check(final IUpdateCallback callback) {
    Runnable run = new Runnable() {
      @Override
      public void run() {
        try {
          Release release = checkForNewRelease();
          if (release != null) {
            callback.onUpdate(release);
          }
        } catch (Exception e) {
          LOG.debug("Jadx update error", e);
View Full Code Here

Examples of net.sf.pmr.agilePlanning.domain.release.Release

    /**
     * test quand l'itération est trouvée.
     */
    public void testFindByIdWhenReleaseIsFound() {
       
        Release release = (Release) releaseMapper.findById(3);
       
        assertEquals("1", release.getNumber());
        //TODO Comment tester les dates ??
//        assertEquals(date, release.getDate());
        assertEquals(persistanceId, release.getPersistanceId());
        assertEquals(persistanceVersion, release.getPersistanceVersion());
       
    }
View Full Code Here

Examples of net.thucydides.core.model.Release

        return tags;
    }

    private Release extractReleaseFor(TestTag releaseTag, TestOutcomes testOutcomes,
                                      int level, List<Release> parents) {
        Release release = new Release(releaseTag);
        String reportName = reportNameProvider.forRelease(release);
        release = release.withReport(reportName).withParents(parents);

        List<Release> ancestors = ancestorsFor(release);

        if (level < releaseTypes.size()) {
            String childReleaseType = releaseTypes.get(level);
            List<TestTag> childReleaseTags = testOutcomes.findMatchingTags()
                    .withType("version")
                    .withNameIn(matchingNames(childReleaseType))
                    .list();
            List<Release> children = Lists.newArrayList();
            for (TestTag tag : childReleaseTags) {
                children.add(extractReleaseFor(tag, testOutcomes.withTag(tag), level + 1, ancestors));
            }
            release = release.withChildren(children);
        }

        return release;
    }
View Full Code Here

Examples of org.apache.maven.plugins.changes.model.Release

    {
        if ( xmlPath.exists() )
        {
            ChangesXML xml = new ChangesXML( xmlPath, getLog() );
            ReleaseUtils releaseUtils = new ReleaseUtils( getLog() );
            Release release = releaseUtils.getLatestRelease( releaseUtils.convertReleaseList( xml.getReleaseList() ),
                                                             version );
            if ( !isValidDate( release.getDateRelease(), releaseDateFormat ) )
            {
                throw new MojoExecutionException(
                    "The file " + xmlPath.getAbsolutePath() + " has an invalid release date." );
            }
        }
View Full Code Here

Examples of org.apache.maven.plugins.changes.model.Release

        sink.tableRow_();

        for ( int idx = 0; idx < releaseList.size(); idx++ )
        {
            Release release = (Release) releaseList.get( idx );

            sink.tableRow();

            sinkCellLink( sink, release.getVersion(), "#" + HtmlTools.encodeId( release.getVersion() ) );

            sinkCell( sink, release.getDateRelease() );

            sinkCell( sink, release.getDescription() );

            sink.tableRow_();
        }

        sink.table_();
View Full Code Here

Examples of org.apache.maven.plugins.changes.model.Release

    private void constructReleases( Sink sink, ResourceBundle bundle, List releaseList )
    {

        for ( int idx = 0; idx < releaseList.size(); idx++ )
        {
            Release release = (Release) releaseList.get( idx );

            sink.section2();

            final String date = ( release.getDateRelease() == null ) ? "" : " - " + release.getDateRelease();

            sinkSectionTitle2Anchor( sink, bundle.getString( "report.changes.label.release" ) + " "
                + release.getVersion() + date, release.getVersion() );

            constructActions( sink, release.getActions(), bundle );

            sink.section2_();
        }
    }
View Full Code Here

Examples of org.apache.maven.plugins.changes.model.Release

            if ( issue.getFixVersions() != null )
            {
                for ( String fixVersion : issue.getFixVersions() )
                {
                    // Try to get a matching Release from the map
                    Release release = releasesMap.get( fixVersion );
                    if ( release == null )
                    {
                        // Add a new Release to the Map if it wasn't there
                        release = new Release();
                        release.setVersion( fixVersion );
                        releasesMap.put( fixVersion, release );
                    }

                    // Add this issue as an Action to this release
                    Action action = createAction( issue );
                    release.addAction( action );
                }
            }
        }

        // Extract the releases from the Map to a List
View Full Code Here

Examples of org.apache.maven.plugins.changes.model.Release

        {
            pomVersion = pomVersion.substring( 0, pomVersion.length() - SNAPSHOT_SUFFIX.length() );
        }
        getLog().debug( "Found " + releases.size() + " releases." );

        Release release = getRelease( releases, pomVersion );

        if ( release == null )
        {
            throw new MojoExecutionException( "Couldn't find the release '" + pomVersion
                + "' among the supplied releases." );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.