Package it.stefanobertini.zebra.cpcl.config

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


public class SetVarTest {

    @Test
    public void test() {
  SetVar command = new SetVar(ConfigurationKey.commBaud, "9600");

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 setvar \"comm.baud\" \"9600\"");

  assertCommand(output, command);
View Full Code Here


  assertCommand(output, command);
    }

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

  new SetVar(ConfigurationKey.deviceReset, "");
    }

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

  new SetVar(null, "");
    }

    @Test
    public void testToSting() {
  new SetVar(ConfigurationKey.commBaud, "9600").toString();
    }
View Full Code Here

TOP

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

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.