Package edu.stanford.bmir.protege.web.server.render

Examples of edu.stanford.bmir.protege.web.server.render.IRIIndexProvider



    @Before
    public void setUp() throws Exception {
        ImmutableList<IRI> list = ImmutableList.of(firstIRI, secondIRI);
        provider = new IRIIndexProvider(list);
    }
View Full Code Here


        provider = new IRIIndexProvider(list);
    }

    @Test(expected = NullPointerException.class)
    public void shouldThrowNullPointerException() {
        new IRIIndexProvider(null);
    }
View Full Code Here

        new IRIIndexProvider(null);
    }

    @Test
    public void shouldReturnDefaultIndexWithRDFSLabelFirst() {
        IRIIndexProvider iriIndexProvider = IRIIndexProvider.withDefaultAnnotationPropertyOrdering();
        int labelIndex = iriIndexProvider.getIndex(OWLRDFVocabulary.RDFS_LABEL.getIRI());
        assertThat(labelIndex, is(0));
    }
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.render.IRIIndexProvider

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.