Package it.stefanobertini.zebra.cpcl.utility

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


public class CountryTest {

    @Test
    public void testString() {
  Country command = new Country("USA");

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


  assertCommand(output, command);
    }

    @Test
    public void testEnum() {
  Country command = new Country(CountryCode.usa);

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

  assertCommand(output, command);
    }

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

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

  assertCommand(output, command);
    }

    @Test
    public void testFake() {
  Country command = new Country();
  command.setCountryCode(CountryCode.big5);
  command.setCountryCode("");
  command.getCountryCode();
  command.toString();
    }
View Full Code Here

TOP

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

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.