Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::util::CmdLineArgsTest Class Reference

List of all members.

Public Member Functions

void testRegisteredOptions ()
void testUnregisteredOptions ()
void testBadArgsForUnregisteredOptions ()
void testRegisteredOptionsWithAlternativeNames ()

Detailed Description

Unit test for CmdLineArgs. Does not require a running ACS environment.
Author:
hsommer


Member Function Documentation

void alma::acs::util::CmdLineArgsTest::testBadArgsForUnregisteredOptions  )  [inline]
 

void alma::acs::util::CmdLineArgsTest::testRegisteredOptions  )  [inline]
 

If the options are known, it's better to register them before parsing. Then options names don't need a leading '-', and even values that look like options can be recognized (for example "-temperature -273").

void alma::acs::util::CmdLineArgsTest::testRegisteredOptionsWithAlternativeNames  )  [inline]
 

void alma::acs::util::CmdLineArgsTest::testUnregisteredOptions  )  [inline]
 

Usually it also works with options that were not known beforehand.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:36 2009 for ACS Java API by doxygen 1.3.8