Class TestCliLocale

java.lang.Object
org.djutils.cli.TestCliLocale

public class TestCliLocale extends Object
TestCliLocale tests whether values with units are correctly parsed depending on the locale.

Copyright (c) 2023-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.

Author:
Alexander Verbraeck
  • Constructor Details

    • TestCliLocale

      public TestCliLocale()
  • Method Details

    • testCli

      @Test public void testCli() throws CliException
      Test the parsing with different locales.
      Throws:
      CliException - on error
    • testCliError

      @Test public void testCliError() throws Exception
      Test the parsing with an error for a unit-variable.
      Throws:
      Exception - on error