ActivationDataFlavor_Test |
Here we test the three ActivationDataFlavor(..) constructors.
|
equals_Test |
We test the 'equals(ActivationDataFlavor)' by passing it ActivationDataFlavor object,
if this api returns a boolean {true|false} value then it passes.
|
getHumanPresentableName_Test |
We first create an object of type ActivationDataFlavor, then
call getHumanPresentableName() api on that object, if it returns
the same string value as that passed to ActivationDataFlavor
constructor then this testcase passes otherwise it fails.
|
getMimeType_Test |
Create a ActivationDataFlavor object with mimeType.
|
getRepresentationClass_Test |
We first create an object of type ActivationDataFlavor(Class,String),
call getRepresentationClass() api on that object, if it returns
the same string value as that passed to ActivationDataFlavor
constructor then this testcase passes otherwise it fails.
|
isMimeTypeEqual_Test |
We test the isMimeTypeEqual(string) by passing it string objects,
if this api returns a boolean {true|false} value then it passes.
|
normalizeMimeType_Test |
We create a TestActivationDataFlavor object then invoke
testNormalizeMimeType() method which in turn calls
normalizeMimeType() api, if it returns the expected
string value then this testcase passes, otherwsie it fails.
|
normalizeMimeTypeParameter_Test |
We create a TestActivationDataFlavor object then invoke
testNormalizeMimeTypeParameter() method which in turn calls
normalizeMimeTypeParameter() api, if it returns the expected
string value then this testcase passes, otherwsie it fails.
|
setHumanPresentableName_Test |
We first create an object of type ActivationDataFlavor, then call
setHumanPresentableName(string) api on that object, we then call
getHumanPresentableName() api, if it returns same string value
that was passed to setHumanPresentableName() then this testcase
passes otherwise it fails.
|