Ejemplo n.º 1
0
        public void testConstructorWithoutAttr()
        {
            Context           context      = TestHelpers.getContext();
            UpdateConfigsV0_6 testProtocol = UpdateConfigs.v0_6();

            JsonObject msg2 = testProtocol.statusMsg(context);

            testStatusMsg(msg2);
        }
Ejemplo n.º 2
0
        public void testConstructorWithAttr()
        {
            Context           context      = TestHelpers.getContext();
            UpdateConfigsV0_6 testProtocol = UpdateConfigs.v0_6(name, logoUrl);

            JsonObject msg = testProtocol.updateMsg(context);

            testUpdateMsgMessages(msg);

            JsonObject msg2 = testProtocol.statusMsg(context);

            testStatusMsg(msg2);
        }