Package it.stefanobertini.zebra.cpcl.linemode

Examples of it.stefanobertini.zebra.cpcl.linemode.Justification


public class JustificationTest {

    @Test
    public void testLeft() {
  Justification command = new Justification(JustificationType.left);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 LEFT");

  assertCommand(output, command);
View Full Code Here


  assertCommand(output, command);
    }

    @Test
    public void testCenter() {
  Justification command = new Justification(JustificationType.center);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 CENTER");

  assertCommand(output, command);
View Full Code Here

  assertCommand(output, command);
    }

    @Test
    public void testRight() {
  Justification command = new Justification(JustificationType.right);

  CommandOutputBuilder output = new CommandOutputBuilder();
  output.printLn("! U1 RIGHT");

  assertCommand(output, command);
View Full Code Here

TOP

Related Classes of it.stefanobertini.zebra.cpcl.linemode.Justification

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.