Examples of IRIIndexProvider


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

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

        provider = new IRIIndexProvider(list);
    }

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

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

        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
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.