Class | Description |
---|---|
DataHandler_Test |
Invoke all constructors to create DataHandler objects.
|
getAllCommands_Test |
Create a DataHandler object then use it to invoke getAllCommands() api,
if returns non-null array object containing all commands for the type
of data represented in the DataHandler, then this testcase passes.
|
getBean_Test |
Create a DataHandler object then use it to invoke getBean() api,
if it returns a non-null Object then this testcase passes,
otherwise it fails.
|
getCommand_Test |
Create a DataHandler object then use it to invoke getCommand() api,
if this call returns a CommandInfo for specified command name, then
this testcase passes, otherwise it fails.
|
getContent_Test |
Create a DataHandler object then use it to call getContent() api,
if this method returns non-null Object then this testcase passes.
|
getContentType_Test |
Create DataHandler objects with mimetype string, then use it to call
getContentType() api if it returns the expected mimetype value then
this testcase passes otherwise it fails.
|
getDataSource_Test |
Create a DataHandler object pass it various types of strings then
use these objects to call getDataSource() api if this operation
successfully returns DataSource objects then this testcase passes.
|
getInputStream_Test |
Create DataHandler objects with various type input file strings then use
these objects to call getInputStream() api to fetch InputStream objects,
if this is successfull then this testcase passes otherwise it fails.
|
getName_Test |
Create DataHandler object and then call getName() api, if this operation
returns the expected non-null string then this testcase passes.
|
getOutputStream_Test |
Create DataHandler objects with various type input file strings then use
these objects to call getOutputStream() api to fetch OutputStream objects,
if this is successfull then this testcase passes otherwise it fails.
|
getPreferredCommands_Test |
Using instances of DataHandler we invoke getPreferredCommands() api, if this
method returns a non-null array object of type CommandInfo, of size greater
then zero then this testcase passes otherwise it fails.
|
getTransferData_Test |
Create DataHandler instances, use them to invoke getTransferData() api, if
this method returns an object that represents the data to be transferred,
then this testcase passes, otherwise it fails.
|
getTransferDataFlavors_Test |
Use an instance of type DataHandler to invoke getTransferDataFlavors() api,
if this method returns DataFlavors in which this data is available then
this testcase passes otherwise it fails.
|
isDataFlavorSupported_Test |
Using an instance of DataHandler object, invoke isDataFlavorSupported()
api, with a specified data flavors if it returns a boolean value then
this testcase passes.
|
setCommandMap_Test |
Create instances of DataHandler, then use invoke setCommandMap() api, with
various CommandMap object parameters.
|
setDataContentHandlerFactory_Test |
Use an instance of DataHandler of invoke setDataContentHandlerFactory() api
with DataContentHandlerFactory object if this operation is successfull then
this testcase passes, otherwise if an exception is thrown then it fails.
|
setMapCommand_Test |
Create instances of DataHandler, then use invoke setMapCommand() api, with
various CommandMap object parameters.
|
writeTo_Test |
writeTo() api writes out to OutputStream for a given DataHandler object
created with DataSource.
|