Examples of Release


Examples of com.agilebooster.data.entity.Release

        Date date = new Date();
        project = new Project("Test Sprint ", "TST", "Project Sprint test.", date, "http://www.testSprint.com", "http://www.Sprint.git", scrumMaster, productOwner);
        project = projectController.create(project);

        releaseController = new ReleaseController();
        release = new Release("Release Test Sprint", date, date, true, project);
        release = releaseController.create(release);
    }
View Full Code Here

Examples of com.heroku.api.Release

    enum Columns {Name, Description, User, Commit, CreatedAt, Addons, Env, PsTable}

    @Override
    public Object getValueAt(int row, int column) {
        final Release release = getRelease(row);
        final Columns columns = columnFor(column);
        return getReleaseDetail(release, columns);
    }
View Full Code Here

Examples of com.jcabi.github.Release

     *
     * @throws Exception If a problem occurs.
     */
    @Test
    public void fetchesRelease() throws Exception {
        final Release rel = release();
        MatcherAssert.assertThat(
            rel.assets().get(1).release(),
            Matchers.is(rel)
        );
    }
View Full Code Here

Examples of com.jcabi.github.Release

     *
     * @throws Exception If a problem occurs.
     */
    @Test
    public void fetchesNumber() throws Exception {
        final Release rel = release();
        MatcherAssert.assertThat(
            rel.assets().get(1).number(),
            Matchers.is(1)
        );
    }
View Full Code Here

Examples of com.jcabi.github.Release

     */
    @Test
    public void canCreateRelease() throws Exception {
        final Releases releases = MkReleasesTest.repo().releases();
        final String tag = "v1.0.0";
        final Release release = releases.create(tag);
        MatcherAssert.assertThat(
            release.json().getString("tag_name"),
            Matchers.equalTo(tag)
        );
    }
View Full Code Here

Examples of com.jcabi.github.Release

     * @throws Exception If any problems occur.
     */
    @Test
    public void canDeleteRelease() throws Exception {
        final Releases releases = MkReleaseTest.releases();
        final Release release = releases.create("v1.0");
        release.delete();
        MatcherAssert.assertThat(
            releases.iterate().iterator().hasNext(),
            Matchers.is(false)
        );
    }
View Full Code Here

Examples of com.jcabi.github.Release

     * Smart decorator returns url.
     * @throws Exception If some problem inside
     */
    @Test
    public void canGetUrl() throws Exception {
        final Release release = MkReleaseTest.release();
        final Release.Smart smart = new Release.Smart(release);
        MatcherAssert.assertThat(
            smart.url().toString(),
            Matchers.equalTo(this.value(release, "url"))
        );
View Full Code Here

Examples of com.jcabi.github.Release

     * Smart decorator returns assets url.
     * @throws Exception If some problem inside
     */
    @Test
    public void canGetAssetsUrl() throws Exception {
        final Release release = MkReleaseTest.release();
        final Release.Smart smart = new Release.Smart(release);
        MatcherAssert.assertThat(
            smart.assetsUrl().toString(),
            Matchers.equalTo(this.value(release, "assets_url"))
        );
View Full Code Here

Examples of com.jcabi.github.Release

     * Smart decorator returns html url.
     * @throws Exception If some problem inside
     */
    @Test
    public void canGetHtmlUrl() throws Exception {
        final Release release = MkReleaseTest.release();
        final Release.Smart smart = new Release.Smart(release);
        MatcherAssert.assertThat(
            smart.htmlUrl().toString(),
            Matchers.equalTo(this.value(release, "html_url"))
        );
View Full Code Here

Examples of com.jcabi.github.Release

     * Smart decorator returns upload url.
     * @throws Exception If some problem inside
     */
    @Test
    public void canGetUploadUrl() throws Exception {
        final Release release = MkReleaseTest.release();
        final Release.Smart smart = new Release.Smart(release);
        MatcherAssert.assertThat(
            smart.uploadUrl().toString(),
            Matchers.equalTo(this.value(release, "upload_url"))
        );
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.