Examples of MaterialBinding


Examples of de.ailis.jollada.model.MaterialBinding

    @Test
    public void testDefaultConstructor() throws URISyntaxException
    {
        final GeometryInstance instance = new GeometryInstance(new URI("foo"));
        final MaterialBinding binding = new MaterialBinding(instance);
        assertEquals(0, binding.getParams().size());
        assertNotNull(binding.getCommonTechnique());
    }
View Full Code Here

Examples of de.ailis.jollada.model.MaterialBinding

     */

    @Test(expected = IllegalArgumentException.class)
    public void testNullUrl()
    {
        new MaterialBinding(null).toString();
    }
View Full Code Here

Examples of de.ailis.jollada.model.MaterialBinding

    @Test
    public void testConstructorWithParent()
    {
        final Node node = new Node();
        final MaterialBinding binding = new MaterialBinding(node);
        assertNull(binding.getDocument());
        assertSame(node, binding.getParent());
        assertNull(binding.id);
    }
View Full Code Here

Examples of de.ailis.jollada.model.MaterialBinding

     */

    @Test(expected = IllegalArgumentException.class)
    public void testConstructorWithNullParent()
    {
        new MaterialBinding(null).toString();
    }
View Full Code Here

Examples of de.ailis.jollada.model.MaterialBinding

    @Test
    public void testDefaultConstructor() throws URISyntaxException
    {
        final GeometryInstance instance = new GeometryInstance(new URI("foo"));
        final MaterialBinding binding = new MaterialBinding(instance);
        final CommonMaterialBindingTechnique common = new CommonMaterialBindingTechnique(binding);
        assertEquals(0, common.getMaterialInstances().size());
    }
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.