Package edu.stanford.bmir.protege.web.shared.metrics

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


    }

    @Override
    protected GetMetricsResult execute(GetMetricsAction action, OWLAPIProject project, ExecutionContext executionContext) {
        List<MetricValue> metrics = project.getMetricsManager().getMetrics();
        return new GetMetricsResult(ImmutableList.copyOf(metrics));
    }
View Full Code Here


    }

    @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

Related Classes of edu.stanford.bmir.protege.web.shared.metrics.GetMetricsResult

Copyright © 2018 www.massapicom. 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.