Package it.stefanobertini.zebra.cpcl.utility

Examples of it.stefanobertini.zebra.cpcl.utility.Beep


public class BeepTest {

    @Test
    public void testDefault() {
  Beep command = new Beep();

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! UTILITIES");
  output.printLn("BEEP 0");
  output.printLn("PRINT");
View Full Code Here


  assertCommand(output, command);
    }

    @Test
    public void test() {
  Beep command = new Beep(10);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! UTILITIES");
  output.printLn("BEEP 10");
  output.printLn("PRINT");
View Full Code Here

  assertCommand(output, command);
    }

    @Test(expected = ValidationException.class)
    public void testValidation() {
  Beep command = new Beep(-1);

  command.getCommandByteArray();
    }
View Full Code Here

  command.getCommandByteArray();
    }

    @Test
    public void testFake() {
  Beep command = new Beep();
  command.setLength(0);
  command.getLength();
  command.toString();
    }
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.cpcl.utility.Beep

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.