Return-Path: X-Original-To: apmail-incubator-rat-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-rat-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AFA296C6 for ; Sun, 15 Apr 2012 10:17:33 +0000 (UTC) Received: (qmail 7257 invoked by uid 500); 15 Apr 2012 10:17:33 -0000 Delivered-To: apmail-incubator-rat-commits-archive@incubator.apache.org Received: (qmail 7233 invoked by uid 500); 15 Apr 2012 10:17:33 -0000 Mailing-List: contact rat-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rat-dev@incubator.apache.org Delivered-To: mailing list rat-commits@incubator.apache.org Received: (qmail 7224 invoked by uid 99); 15 Apr 2012 10:17:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2012 10:17:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Apr 2012 10:17:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 897D32388C5A for ; Sun, 15 Apr 2012 10:16:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r813058 [4/8] - in /websites/staging/rat/trunk/content: ./ rat/whisker/apache-whisker-cli/apidocs/org/apache/creadur/ rat/whisker/apache-whisker-cli/apidocs/org/apache/creadur/whisker/ rat/whisker/apache-whisker-cli/apidocs/org/apache/cread... Date: Sun, 15 Apr 2012 10:16:45 -0000 To: rat-commits@incubator.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120415101647.897D32388C5A@eris.apache.org> Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/TestCommandParsing.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/TestCommandParsing.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/TestCommandParsing.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,434 @@ + + + + + + + +TestCommandParsing (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.creadur.whisker.cli +
+Class TestCommandParsing

+
+java.lang.Object
+  extended by junit.framework.Assert
+      extended by junit.framework.TestCase
+          extended by org.apache.creadur.whisker.cli.TestCommandParsing
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestCommandParsing
extends junit.framework.TestCase
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestCommandParsing() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidsetUp() + +
+           
+ voidtestAuditRequiresSource() + +
+           
+ voidtestGenerateAndAuditAreMutuallyExclusive() + +
+           
+ voidtestSetAuditAct() + +
+           
+ voidtestSetGenerateAct() + +
+           
+ voidtestSetLicenseDescriptorLongByCLI() + +
+           
+ voidtestSetLicenseDescriptorShortByCLI() + +
+           
+ voidtestSetSourceByCli() + +
+           
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestCommandParsing

+
+public TestCommandParsing()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setUp

+
+protected void setUp()
+              throws Exception
+
+
+
Overrides:
setUp in class junit.framework.TestCase
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testGenerateAndAuditAreMutuallyExclusive

+
+public void testGenerateAndAuditAreMutuallyExclusive()
+                                              throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testSetGenerateAct

+
+public void testSetGenerateAct()
+                        throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testSetAuditAct

+
+public void testSetAuditAct()
+                     throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testSetSourceByCli

+
+public void testSetSourceByCli()
+                        throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testAuditRequiresSource

+
+public void testAuditRequiresSource()
+                             throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testSetLicenseDescriptorShortByCLI

+
+public void testSetLicenseDescriptorShortByCLI()
+                                        throws Exception
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+testSetLicenseDescriptorLongByCLI

+
+public void testSetLicenseDescriptorLongByCLI()
+                                       throws Exception
+
+
+ +
Throws: +
Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + + Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/class-use/TestCommandParsing.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/class-use/TestCommandParsing.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/class-use/TestCommandParsing.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,143 @@ + + + + + + + +Uses of Class org.apache.creadur.whisker.cli.TestCommandParsing (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
org.apache.creadur.whisker.cli.TestCommandParsing

+
+No usage of org.apache.creadur.whisker.cli.TestCommandParsing +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + + Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-frame.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-frame.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-frame.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,33 @@ + + + + + + + +org.apache.creadur.whisker.cli (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + +org.apache.creadur.whisker.cli + + + + +
+Classes  + +
+TestCommandParsing
+ + + + Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-summary.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-summary.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-summary.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,156 @@ + + + + + + + +org.apache.creadur.whisker.cli (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package org.apache.creadur.whisker.cli +

+ + + + + + + + + +
+Class Summary
TestCommandParsing 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + + Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-tree.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-tree.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-tree.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,154 @@ + + + + + + + +org.apache.creadur.whisker.cli Class Hierarchy (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package org.apache.creadur.whisker.cli +

+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • junit.framework.Assert
        +
      • junit.framework.TestCase (implements junit.framework.Test) + +
      +
    +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + + Added: websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-use.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-use.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apache-whisker-cli/testapidocs/org/apache/creadur/whisker/cli/package-use.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,143 @@ + + + + + + + +Uses of Package org.apache.creadur.whisker.cli (Apache Whisker::Command Line Interface 0.1-SNAPSHOT Test API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
org.apache.creadur.whisker.cli

+
+No usage of org.apache.creadur.whisker.cli +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + + Added: websites/staging/rat/trunk/content/rat/whisker/apidocs/org/apache/creadur/whisker/cli/CommandLineOption.html ============================================================================== --- websites/staging/rat/trunk/content/rat/whisker/apidocs/org/apache/creadur/whisker/cli/CommandLineOption.html (added) +++ websites/staging/rat/trunk/content/rat/whisker/apidocs/org/apache/creadur/whisker/cli/CommandLineOption.html Sun Apr 15 10:16:43 2012 @@ -0,0 +1,521 @@ + + + + + + + +CommandLineOption (Apache Whisker 0.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.creadur.whisker.cli +
+Enum CommandLineOption

+
+java.lang.Object
+  extended by java.lang.Enum<CommandLineOption>
+      extended by org.apache.creadur.whisker.cli.CommandLineOption
+
+
+
All Implemented Interfaces:
Serializable, Comparable<CommandLineOption>
+
+
+
+
public enum CommandLineOption
extends Enum<CommandLineOption>
+ + +

+Describes an option on the command line. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
ACT_TO_AUDIT + +
+          Audit command line argument.
ACT_TO_GENERATE + +
+          Generation command line argument.
LICENSE_DESCRIPTION + +
+          License descriptor command line argument.
SOURCE + +
+          Application source command line argument.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.commons.cli.Optioncreate() + +
+          Builds a representation.
+ StringgetDescription() + +
+          Gets the description for this option.
+ StringgetLongName() + +
+          Gets the long name of this command line argument.
+ StringgetOptionValue(org.apache.commons.cli.CommandLine commandLine) + +
+          Gets an option value from the command line.
+ chargetShortName() + +
+          Gets the short name of this command line argument.
+ booleanisSetOn(org.apache.commons.cli.CommandLine commandLine) + +
+          Is the short name option set?
+static org.apache.commons.cli.Optionsoptions() + +
+          Creates options for the command line.
+static CommandLineOptionvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static CommandLineOption[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+LICENSE_DESCRIPTION

+
+public static final CommandLineOption LICENSE_DESCRIPTION
+
+
License descriptor command line argument. +

+

+
+
+
+ +

+SOURCE

+
+public static final CommandLineOption SOURCE
+
+
Application source command line argument. +

+

+
+
+
+ +

+ACT_TO_GENERATE

+
+public static final CommandLineOption ACT_TO_GENERATE
+
+
Generation command line argument. +

+

+
+
+
+ +

+ACT_TO_AUDIT

+
+public static final CommandLineOption ACT_TO_AUDIT
+
+
Audit command line argument. +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static CommandLineOption[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (CommandLineOption c : CommandLineOption.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static CommandLineOption valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+options

+
+public static org.apache.commons.cli.Options options()
+
+
Creates options for the command line. +

+

+ +
Returns:
not null
+
+
+
+ +

+getLongName

+
+public String getLongName()
+
+
Gets the long name of this command line argument. +

+

+ +
Returns:
not null
+
+
+
+ +

+getShortName

+
+public char getShortName()
+
+
Gets the short name of this command line argument. +

+

+ +
Returns:
the character short for this option
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Gets the description for this option. +

+

+ +
Returns:
not null
+
+
+
+ +

+create

+
+public org.apache.commons.cli.Option create()
+
+
Builds a representation. +

+

+ +
Returns:
not null
+
+
+
+ +

+getOptionValue

+
+public String getOptionValue(org.apache.commons.cli.CommandLine commandLine)
+
+
Gets an option value from the command line. +

+

+
Parameters:
commandLine - not null +
Returns:
not null
+
+
+
+ +

+isSetOn

+
+public boolean isSetOn(org.apache.commons.cli.CommandLine commandLine)
+
+
Is the short name option set? +

+

+
Parameters:
commandLine - not null +
Returns:
true when the option is present, false otherwise
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2011-2012 Apache Software Foundation. All Rights Reserved. + +