Examples of IVersionResource


Examples of org.zanata.apicompat.rest.client.IVersionResource

    }

    @Test
    @RunAsClient
    public void getVersionXml() {
        IVersionResource versionClient =
                super.createProxy(
                        createClientProxyFactory(TRANSLATOR, TRANSLATOR_KEY),
                        IVersionResource.class);
        VersionInfo versionInfo = versionClient.get().getEntity();

        assertThat(versionInfo.getVersionNo(), notNullValue());
        assertThat(versionInfo.getBuildTimeStamp(), notNullValue());
    }
View Full Code Here

Examples of org.zanata.rest.client.IVersionResource

    protected void prepareDBUnitOperations() {
    }

    @Test
    public void retrieveVersionInfo() {
        IVersionResource resource;
        log.debug("setup test version service");
        resource =
                getClientRequestFactory().createProxy(IVersionResource.class);

        VersionInfo entity = resource.get().getEntity();
        assertThat(entity.getVersionNo(), is(vVar));
        assertThat(entity.getBuildTimeStamp(), is(vBuild));
    }
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.