Examples of UnsharedInput


Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test
    public void testConstructor() throws URISyntaxException
    {
        final UnsharedInput input = new UnsharedInput("SEMANTIC", new URI(
            "SOURCE"));
        assertEquals("SEMANTIC", input.getSemantic());
        assertEquals(new URI("SOURCE"), input.getSource());
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test(expected = IllegalArgumentException.class)
    public void testConstructorWithNull()
    {
        new UnsharedInput("SEMANTIC", null).toString();
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test
    public void testSemantic() throws URISyntaxException
    {
        final UnsharedInput param = new UnsharedInput("SEMANTIC", new URI(
            "SOURCE"));
        param.setSemantic("foo");
        assertEquals("foo", param.getSemantic());
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test(expected = IllegalArgumentException.class)
    public void testSemanticWithNull() throws URISyntaxException
    {
        UnsharedInput param;
        param = new UnsharedInput("SEMANTIC", new URI("SOURCE"));
        param.setSemantic(null);
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test
    public void testSource() throws URISyntaxException
    {
        final UnsharedInput param = new UnsharedInput("SEMANTIC", new URI(
            "SOURCE"));
        param.setSource(new URI("SOURCE2"));
        assertEquals(new URI("SOURCE2"), param.getSource());
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

     */

    @Test(expected = IllegalArgumentException.class)
    public void testSourceWithNull() throws URISyntaxException
    {
        UnsharedInput param;
        param = new UnsharedInput("SEMANTIC", new URI("SOURCE"));
        param.setSource(null);
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(text + " is not a valid URI: " + e, e);
        }
        final UnsharedInput input = new UnsharedInput(semantic, source);
        this.vertices.getInputs().add(input);
        enterElement(ParserMode.VERTICES_INPUT);
    }
View Full Code Here

Examples of de.ailis.jollada.model.UnsharedInput

        }
        catch (final URISyntaxException e)
        {
            throw new ParserException(text + " is not a valid URI: " + e, e);
        }
        final UnsharedInput input = new UnsharedInput(semantic, source);
        this.sampler.getInputs().add(input);
        enterElement(ParserMode.SAMPLER_INPUT);
    }
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.