Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLDocumentFormatFactory


@SuppressWarnings("javadoc")
public class OWLOntologyFormatFactoryImpOBOlTestCase {

    @Test
    public void testOBOOntologyFormat() {
        OWLDocumentFormatFactory f = new OBODocumentFormatFactory();
        assertEquals("OBO Format", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here


            return true;
        }
        if (!(obj instanceof OWLDocumentFormatFactory)) {
            return false;
        }
        OWLDocumentFormatFactory otherFactory = (OWLDocumentFormatFactory) obj;
        return getKey().equals(otherFactory.getKey());
    }
View Full Code Here

@SuppressWarnings("javadoc")
public class OWLOntologyFormatFactoryImplTestCase {

    @Test
    public void testDLSyntaxHTMLFormat() {
        OWLDocumentFormatFactory f = new DLSyntaxHTMLDocumentFormatFactory();
        assertEquals("DL Syntax - HTML Format", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testDLSyntaxOntologyFormat() {
        OWLDocumentFormatFactory f = new DLSyntaxDocumentFormatFactory();
        assertEquals("DL Syntax Format", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testKRSS2OntologyFormat() {
        OWLDocumentFormatFactory f = new KRSS2DocumentFormatFactory();
        assertEquals("KRSS2 Syntax", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testKRSSOntologyFormat() {
        OWLDocumentFormatFactory f = new KRSSDocumentFormatFactory();
        assertEquals("KRSS Syntax", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testLabelFunctionalFormat() {
        OWLDocumentFormatFactory f = new LabelFunctionalDocumentFormatFactory();
        assertEquals("Label functional Syntax", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testLatexAxiomsListOntologyFormat() {
        OWLDocumentFormatFactory f = new LatexAxiomsListDocumentFormatFactory();
        assertEquals("Latex Axiom List", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testLatexOntologyFormat() {
        OWLDocumentFormatFactory f = new LatexDocumentFormatFactory();
        assertEquals("LaTeX Syntax", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

        assertNull(f.getDefaultMIMEType());
    }

    @Test
    public void testOWLFunctionalSyntaxOntologyFormat() {
        OWLDocumentFormatFactory f = new FunctionalSyntaxDocumentFormatFactory();
        assertEquals("OWL Functional Syntax", f.getKey());
        assertEquals(0, f.getMIMETypes().size());
        assertNull(f.getDefaultMIMEType());
    }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.model.OWLDocumentFormatFactory

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.