Package it.stefanobertini.zebra.cpcl.config

Examples of it.stefanobertini.zebra.cpcl.config.Do


public class DoTest {

    @Test
    public void test() {
  Do command = new Do(ConfigurationKey.deviceRestoreDefaults, "wlan");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 do \"device.restore_defaults\" \"wlan\"");

  assertCommand(output, command);
View Full Code Here


  assertCommand(output, command);
    }

    @Test
    public void testNoArgumento() {
  Do command = new Do(ConfigurationKey.deviceRestoreDefaults);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 do \"device.restore_defaults\" \"\"");

  assertCommand(output, command);
View Full Code Here

  assertCommand(output, command);
    }

    @Test(expected = RuntimeException.class)
    public void testBadKey() {
  new Do(ConfigurationKey.applicationDate, "");
    }
View Full Code Here

  new Do(ConfigurationKey.applicationDate, "");
    }

    @Test(expected = RuntimeException.class)
    public void testNullKey() {
  new Do(null, "");
    }
View Full Code Here

  new Do(null, "");
    }

    @Test
    public void testToSting() {
  new Do(ConfigurationKey.deviceRestoreDefaults).toString();
    }
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.cpcl.config.Do

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.