wwndesc  1.0-76
WWNDescription.DemoTestDesc Class Reference

test case: this matches a single item known to exist in the Demo Database More...

Inheritance diagram for WWNDescription.DemoTestDesc:
Collaboration diagram for WWNDescription.DemoTestDesc:

Public Member Functions

 DemoTestDesc (String wwn)
 create an instance with brief set to false. More...
 
String toString ()
 generates a test description or alias for this test class More...
 
- Public Member Functions inherited from WWNDesc
 WWNDesc (String wwn)
 create an instance with brief set to false. More...
 
 WWNDesc (boolean brief, String wwn)
 create an instance with the given WWN. More...
 
 WWNDesc (boolean brief, String wwn, DevRole role)
 create an instance with the given WWN. More...
 
String descPort ()
 describe the WWPN's unique port label/index More...
 
String toString ()
 describe the WWN: produce a short (shorter if this.brief = true) description suitable for use as an alias for this WWN More...
 

Additional Inherited Members

- Protected Attributes inherited from WWNDesc
boolean brief
 whether a more brief output should be offered in toString() (ie the difference between "VMax-HK192601234-12gB" and "VMax-1234-12gB") . More...
 
DevRole role = DevRole.TARGET
 role of the device: Target, Switch, Initiator
 
BigInteger wwn
 the WWN that the instance tried to describe
 

Detailed Description

test case: this matches a single item known to exist in the Demo Database

Definition at line 34 of file WWNDescription.java.

Constructor & Destructor Documentation

DemoTestDesc ( String  wwn)
inline

create an instance with brief set to false.

This is a convenience function to support the older constructor model

Exceptions
java.lang.NullPointerExceptionif the given wwn is null
Parameters
wwnthe WWN to evaluate and describe

Definition at line 37 of file WWNDescription.java.

Member Function Documentation

String toString ( )
inline

generates a test description or alias for this test class

Returns
"TestDevice" always

Definition at line 46 of file WWNDescription.java.


The documentation for this class was generated from the following file: