Back to project page js-android-sdk.
The source code is released under:
GNU Lesser General Public License
If you think the Android project js-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jaspersoft.android.sdk.integration; //from ww w . j av a 2 s . c o m import com.jaspersoft.android.sdk.client.async.request.ReportDetailsRequest; import com.jaspersoft.android.sdk.client.async.request.RunReportExecutionRequest; import com.jaspersoft.android.sdk.client.oxm.report.ReportExecutionRequest; import com.jaspersoft.android.sdk.client.oxm.report.ReportExecutionResponse; import com.jaspersoft.android.sdk.integration.utils.ProtoInstrumentation; import com.jaspersoft.android.sdk.integration.utils.SampleData; /** * @author Tom Koptel * @since 1.9 */ public class ReportDetailsRequestTest extends ProtoInstrumentation { private RunReportExecutionRequest runReportExecutionRequest; @Override protected void setUp() throws Exception { super.setUp(); ReportExecutionRequest reportExecutionRequest = SampleData.getSampleExecutionData(getJsRestClient(), RESOURCE_URI); runReportExecutionRequest = new RunReportExecutionRequest(getJsRestClient(), reportExecutionRequest); } public void test_requestReportDetails() throws Exception { ReportExecutionResponse runReportExecutionResponse = runReportExecutionRequest.loadDataFromNetwork(); String requestId = runReportExecutionResponse.getRequestId(); ReportDetailsRequest reportDetailsRequest = new ReportDetailsRequest(getJsRestClient(), requestId); ReportExecutionResponse response = reportDetailsRequest.loadDataFromNetwork(); assertFalse(response == null); } }