Package rocks.xmpp.extensions.mood.model

Examples of rocks.xmpp.extensions.mood.model.Mood


        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><moody></moody></mood>");
    }

    @Test
    public void marshalNervous() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.NERVOUS));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><nervous></nervous></mood>");
    }
View Full Code Here


        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><nervous></nervous></mood>");
    }

    @Test
    public void marshalNeutral() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.HAPPY));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><happy></happy></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><happy></happy></mood>");
    }

    @Test
    public void marshalOffended() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.OFFENDED));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><offended></offended></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><offended></offended></mood>");
    }

    @Test
    public void marshalPlayful() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.PLAYFUL));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><playful></playful></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><playful></playful></mood>");
    }

    @Test
    public void marshalProud() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.PROUD));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><proud></proud></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><proud></proud></mood>");
    }

    @Test
    public void marshalRelaxed() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.RELAXED));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><relaxed></relaxed></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><relaxed></relaxed></mood>");
    }

    @Test
    public void marshalRelieved() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.RELIEVED));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><relieved></relieved></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><relieved></relieved></mood>");
    }

    @Test
    public void marshalRemorseful() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.REMORSEFUL));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><remorseful></remorseful></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><remorseful></remorseful></mood>");
    }

    @Test
    public void marshalRestless() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.RESTLESS));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><restless></restless></mood>");
    }
View Full Code Here

        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><restless></restless></mood>");
    }

    @Test
    public void marshalSad() throws XMLStreamException, JAXBException {
        String xml = marshal(new Mood(Mood.Value.SAD));
        Assert.assertEquals(xml, "<mood xmlns=\"http://jabber.org/protocol/mood\"><sad></sad></mood>");
    }
View Full Code Here

TOP

Related Classes of rocks.xmpp.extensions.mood.model.Mood

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.