Package net.riccardocossu.autodoc.base

Examples of net.riccardocossu.autodoc.base.AttributeModel


      if (a instanceof NamedQueries) {
        AnnotationModel res = pl.parse(a);
        assertNotNull(res);
        assertEquals(1, res.getAttributes().size());
        assertNull(res.getChildren());
        AttributeModel nq = res.getAttributes().get(0);
        assertEquals("value", nq.getName());
        assertTrue(nq.getValue() instanceof AnnotationModel);
        AnnotationModel am = (AnnotationModel) nq.getValue();
        assertEquals(0, am.getAttributes().size());
        List<AnnotationModel> children = am.getChildren();
        assertEquals(1, children.size());
        AnnotationModel firstNq = children.get(0);
        assertEquals(4, firstNq.getAttributes().size());
View Full Code Here

TOP

Related Classes of net.riccardocossu.autodoc.base.AttributeModel

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.