Examples of GetMetricsAction


Examples of edu.stanford.bmir.protege.web.shared.metrics.GetMetricsAction

            view.setDirty(true);
        }
    }

    private void processRequestRefresh() {
        dispatchServiceManager.execute(new GetMetricsAction(projectId), new AbstractWebProtegeAsyncCallback<GetMetricsResult>() {
            @Override
            public void onSuccess(GetMetricsResult result) {
                view.setMetrics(result.getMetricValues());
            }
        });
View Full Code Here

Examples of edu.stanford.bmir.protege.web.shared.metrics.GetMetricsAction

    }

    @Test
    public void shouldReturnMetricValues() {
        GetMetricsActionHandler handler = new GetMetricsActionHandler();
        GetMetricsResult result = handler.execute(new GetMetricsAction(projectId), project, mock(ExecutionContext.class));
        assertThat(result.getMetricValues(), is(equalTo(metricValues)));
    }
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.