Skip navigation links
A B C D E F G H I J K M N O P Q R S T V W X 

A

addError(JUnitReportWriter.TestDescription, Throwable) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
An error occurred.
addError(JUnitReportWriter.TestDescription, Throwable) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
addFailure(JUnitReportWriter.TestDescription, Throwable) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
A failure occurred.
addFailure(JUnitReportWriter.TestDescription, Throwable) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
append(boolean) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(char) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(short) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(int) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(long) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(float) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(double) - Method in class org.glassfish.pfl.test.ObjectWriter
 
append(String) - Method in class org.glassfish.pfl.test.ObjectWriter
 
appendObjectHeader(Object) - Method in class org.glassfish.pfl.test.ObjectWriter
 
ATTR_CLASSNAME - Static variable in interface org.glassfish.pfl.test.XMLConstants
classname attribute for testcase elements
ATTR_ERRORS - Static variable in interface org.glassfish.pfl.test.XMLConstants
errors attribute for testsuite elements
ATTR_FAILURES - Static variable in interface org.glassfish.pfl.test.XMLConstants
failures attribute for testsuite elements
ATTR_ID - Static variable in interface org.glassfish.pfl.test.XMLConstants
id attribute
ATTR_MESSAGE - Static variable in interface org.glassfish.pfl.test.XMLConstants
message attribute for failure elements
ATTR_NAME - Static variable in interface org.glassfish.pfl.test.XMLConstants
name attribute for property, testcase and testsuite elements
ATTR_PACKAGE - Static variable in interface org.glassfish.pfl.test.XMLConstants
package attribute for the aggregate document
ATTR_TESTS - Static variable in interface org.glassfish.pfl.test.XMLConstants
tests attribute for testsuite elements
ATTR_TIME - Static variable in interface org.glassfish.pfl.test.XMLConstants
time attribute for testcase and testsuite elements
ATTR_TYPE - Static variable in interface org.glassfish.pfl.test.XMLConstants
type attribute for failure and error elements
ATTR_VALUE - Static variable in interface org.glassfish.pfl.test.XMLConstants
value attribute for property elements

B

badReturnType() - Method in class org.glassfish.pfl.test.TestBase
 
badTest() - Method in class org.glassfish.pfl.test.TestBase
 

C

check(boolean, String) - Method in class org.glassfish.pfl.test.TestBase
 
closeElement(Element, Writer, int, String, boolean) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes a DOM tree to a stream.
compactObjectToString(Object) - Static method in class org.glassfish.pfl.test.ObjectUtility
 
concatenateArrays(Object, Object) - Static method in class org.glassfish.pfl.test.ObjectUtility
If arr1 and arr2 are both arrays of the same component type, return an array of that component type that consists of the elements of arr1 followed by the elements of arr2.

D

defaultObjectToString(Object) - Static method in class org.glassfish.pfl.test.ObjectUtility
A convenience method that gives the default behavior: use indenting to display the object's structure and do not use built-in toString methods.
displayException(Throwable) - Static method in class org.glassfish.pfl.test.ObjectUtility
 
DOMElementWriter - Class in org.glassfish.pfl.test
Writes a DOM tree to a given Writer.
DOMElementWriter() - Constructor for class org.glassfish.pfl.test.DOMElementWriter
Create an element writer.
DOMElementWriter(boolean) - Constructor for class org.glassfish.pfl.test.DOMElementWriter
Create an element writer XML namespaces will be ignored.
DOMElementWriter(boolean, DOMElementWriter.XmlNamespacePolicy) - Constructor for class org.glassfish.pfl.test.DOMElementWriter
Create an element writer XML namespaces will be ignored.
DOMElementWriter.XmlNamespacePolicy - Class in org.glassfish.pfl.test
Whether namespaces should be ignored for elements and attributes.
done() - Method in class org.glassfish.pfl.test.JUnitReportHelper
Testing is complete.

E

encode(String) - Method in class org.glassfish.pfl.test.DOMElementWriter
Escape <, > & ', " as their entities and drop characters that are illegal in XML documents.
encodedata(String) - Method in class org.glassfish.pfl.test.DOMElementWriter
Drop characters that are illegal in XML documents.
endElement() - Method in class org.glassfish.pfl.test.ObjectWriter
 
endObject(String) - Method in class org.glassfish.pfl.test.ObjectWriter
 
endObject() - Method in class org.glassfish.pfl.test.ObjectWriter
 
endTest(JUnitReportWriter.TestDescription) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
A test ended.
endTest(JUnitReportWriter.TestDescription, long) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
A test ended.
endTest(JUnitReportWriter.TestDescription, long) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
endTest(JUnitReportWriter.TestDescription) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
endTestHelper(JUnitReportWriter.TestDescription) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
endTestSuite() - Method in interface org.glassfish.pfl.test.JUnitReportWriter
The whole testsuite ended.
endTestSuite() - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
equals(Object, Object) - Static method in class org.glassfish.pfl.test.ObjectUtility
 
error() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestCounts
 
ERROR - Static variable in interface org.glassfish.pfl.test.XMLConstants
the error element
exception() - Method in class org.glassfish.pfl.test.TestBase
 

F

fail(String) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test failed with an error message.
fail(Throwable) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test failed with the given exception as cause.
fail(String, long) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test failed with an error message.
fail(Throwable, long) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test failed with the given exception as cause.
fail() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestCounts
 
fail(String) - Method in class org.glassfish.pfl.test.TestBase
 
FAILURE - Static variable in interface org.glassfish.pfl.test.XMLConstants
the failure element

G

getArguments(Class<T>) - Method in class org.glassfish.pfl.test.TestBase
 
getClassName() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestDescription
 
getDuration() - Method in class org.glassfish.pfl.test.TimedTest
 
getName() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestDescription
 

H

hasParameters(String) - Method in class org.glassfish.pfl.test.TestBase
 
HOSTNAME - Static variable in interface org.glassfish.pfl.test.XMLConstants
name of host running the tests

I

IGNORE - Static variable in class org.glassfish.pfl.test.DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for elements and attributes, the default.
InnerTest() - Constructor for class org.glassfish.pfl.test.TimedTest.InnerTest
 
isLegalCharacter(char) - Method in class org.glassfish.pfl.test.DOMElementWriter
Is the given character allowed inside an XML document?
isReference(String) - Method in class org.glassfish.pfl.test.DOMElementWriter
Is the given argument a character or entity reference?

J

JUnitReportHelper - Class in org.glassfish.pfl.test
Helper class for generating reports for tests that do not adapt well to Testng/JUnit.
JUnitReportHelper(String) - Constructor for class org.glassfish.pfl.test.JUnitReportHelper
Prepare to generate a JUnitReport in the file named ${junit.report.dir}/${name}.xml.
JUnitReportHelper.Counts - Class in org.glassfish.pfl.test
 
JUnitReportWriter - Interface in org.glassfish.pfl.test
This Interface describes classes that format the results of a JUnit testrun.
JUnitReportWriter.TestCounts - Class in org.glassfish.pfl.test
 
JUnitReportWriter.TestDescription - Class in org.glassfish.pfl.test
 

K

knownEntities - Variable in class org.glassfish.pfl.test.DOMElementWriter
Don't try to be too smart but at least recognize the predefined entities.

M

main(String[]) - Static method in class org.glassfish.pfl.test.ObjectUtility
 
main(String[]) - Static method in class org.glassfish.pfl.test.TestBase
 
make(boolean, boolean, int, int) - Static method in class org.glassfish.pfl.test.ObjectUtility
Construct an Utility instance with the desired objectToString behavior.
make(boolean, boolean) - Static method in class org.glassfish.pfl.test.ObjectUtility
Construct an Utility instance with the desired objectToString behavior.
make() - Static method in class org.glassfish.pfl.test.ObjectUtility
Get the standard Utility object that supports objectToString with indented display and no use of toString() methods.
make(boolean, int, int) - Static method in class org.glassfish.pfl.test.ObjectWriter
 
makeTestSuite(Class) - Static method in class org.glassfish.pfl.test.TestCaseTools
Method to create a collection of nested TestSuites out of nested classes.
makeTestSuite(Class, TestCaseTools.TestSuiteType) - Static method in class org.glassfish.pfl.test.TestCaseTools
 

N

note(String) - Method in class org.glassfish.pfl.test.TestBase
 
numFail() - Method in class org.glassfish.pfl.test.JUnitReportHelper.Counts
 
numPass() - Method in class org.glassfish.pfl.test.JUnitReportHelper.Counts
 

O

objectToString(Object) - Method in class org.glassfish.pfl.test.ObjectUtility
objectToString handles display of arbitrary objects.
ObjectUtility - Class in org.glassfish.pfl.test
General object related utilities.
ObjectWriter - Class in org.glassfish.pfl.test
 
ObjectWriter() - Constructor for class org.glassfish.pfl.test.ObjectWriter
 
ONLY_QUALIFY_ELEMENTS - Static variable in class org.glassfish.pfl.test.DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for attributes.
openElement(Element, Writer, int, String) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes the opening tag - including all attributes - corresponding to a DOM element.
openElement(Element, Writer, int, String, boolean) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes the opening tag - including all attributes - corresponding to a DOM element.
org.glassfish.pfl.test - package org.glassfish.pfl.test
 

P

pass() - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test passed.
pass(long) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Report that the current test passed.
pass() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestCounts
 
Post - Annotation Type in org.glassfish.pfl.test
Used to mark methods that are executed after every test case
Pre - Annotation Type in org.glassfish.pfl.test
Used to mark methods executed before each test case.
PROPERTIES - Static variable in interface org.glassfish.pfl.test.XMLConstants
the properties element
PROPERTY - Static variable in interface org.glassfish.pfl.test.XMLConstants
the property element

Q

QUALIFY_ALL - Static variable in class org.glassfish.pfl.test.DOMElementWriter.XmlNamespacePolicy
Qualifies namespaces for elements and attributes.

R

reportTiming(int, PrintStream, List<TimedTest>) - Static method in class org.glassfish.pfl.test.TestCaseTools
 
result - Variable in class org.glassfish.pfl.test.ObjectWriter
 
run() - Method in class org.glassfish.pfl.test.TestBase
 
run(TestResult) - Method in class org.glassfish.pfl.test.TestCaseTools.SingleInstanceTestSuite
 
run(TestResult) - Method in class org.glassfish.pfl.test.TimedTest
 
runTest(Test, TestResult) - Method in class org.glassfish.pfl.test.TestCaseTools.SingleInstanceTestSuite
 

S

setOutput(OutputStream) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
Sets the stream the formatter is supposed to write its results to.
setOutput(OutputStream) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
setSystemError(String) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
This is what the test has written to System.err
setSystemError(String) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
setSystemOutput(String) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
This is what the test has written to System.out
setSystemOutput(String) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
SingleInstanceTestSuite(Class) - Constructor for class org.glassfish.pfl.test.TestCaseTools.SingleInstanceTestSuite
 
start(String) - Method in class org.glassfish.pfl.test.JUnitReportHelper
Start executing a test case with the given name.
startElement() - Method in class org.glassfish.pfl.test.ObjectWriter
 
startObject(Object) - Method in class org.glassfish.pfl.test.ObjectWriter
 
startTest(JUnitReportWriter.TestDescription) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
A test started.
startTest(JUnitReportWriter.TestDescription) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
startTestSuite(String, Properties) - Method in interface org.glassfish.pfl.test.JUnitReportWriter
The whole testsuite started.
startTestSuite(String, Properties) - Method in class org.glassfish.pfl.test.XMLJUnitReportWriter
 
suite() - Static method in class org.glassfish.pfl.test.TimedTest
 
SYSTEM_ERR - Static variable in interface org.glassfish.pfl.test.XMLConstants
the system-err element
SYSTEM_OUT - Static variable in interface org.glassfish.pfl.test.XMLConstants
the system-out element

T

TestBase - Class in org.glassfish.pfl.test
A VERY quick-and-dirty test framework.
TestBase(String[]) - Constructor for class org.glassfish.pfl.test.TestBase
 
TestBase(String[], Class<?>) - Constructor for class org.glassfish.pfl.test.TestBase
 
TestBase(String[], Class<?>, Object) - Constructor for class org.glassfish.pfl.test.TestBase
 
TestCase - Annotation Type in org.glassfish.pfl.test
 
TESTCASE - Static variable in interface org.glassfish.pfl.test.XMLConstants
the testcase element
TestCaseTools - Class in org.glassfish.pfl.test
 
TestCaseTools() - Constructor for class org.glassfish.pfl.test.TestCaseTools
 
TestCaseTools.SingleInstanceTestSuite - Class in org.glassfish.pfl.test
This is a special version of TestSuite that fixes, once and for all, the irritating design of JUnit to invoke the constructor multiple times on a test class.
TestCaseTools.TestSuiteType - Enum in org.glassfish.pfl.test
 
TestCounts(int, int, int) - Constructor for class org.glassfish.pfl.test.JUnitReportWriter.TestCounts
 
TestDescription(String, String) - Constructor for class org.glassfish.pfl.test.JUnitReportWriter.TestDescription
 
testGood() - Method in class org.glassfish.pfl.test.TestBase
 
testNOP() - Method in class org.glassfish.pfl.test.TimedTest.InnerTest
 
testSimple() - Method in class org.glassfish.pfl.test.TestBase
 
TESTSUITE - Static variable in interface org.glassfish.pfl.test.XMLConstants
the testsuite element
TESTSUITES - Static variable in interface org.glassfish.pfl.test.XMLConstants
the testsuites element for the aggregate document
TimedTest - Class in org.glassfish.pfl.test
 
TimedTest(Test, int) - Constructor for class org.glassfish.pfl.test.TimedTest
 
TimedTest.InnerTest - Class in org.glassfish.pfl.test
 
TIMESTAMP - Static variable in interface org.glassfish.pfl.test.XMLConstants
timestamp of test cases
toString() - Method in class org.glassfish.pfl.test.JUnitReportWriter.TestDescription
 
toString() - Method in class org.glassfish.pfl.test.ObjectWriter
 

V

valueOf(String) - Static method in enum org.glassfish.pfl.test.TestCaseTools.TestSuiteType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.pfl.test.TestCaseTools.TestSuiteType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Element, OutputStream) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes a DOM tree to a stream in UTF8 encoding.
write(Element, Writer, int, String) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes a DOM tree to a stream.
writeXMLDeclaration(Writer) - Method in class org.glassfish.pfl.test.DOMElementWriter
Writes the XML declaration if xmlDeclaration is true.

X

XMLConstants - Interface in org.glassfish.pfl.test
Interface groups XML constants.
XMLJUnitReportWriter - Class in org.glassfish.pfl.test
Prints XML output of the test to a specified Writer.
XMLJUnitReportWriter() - Constructor for class org.glassfish.pfl.test.XMLJUnitReportWriter
No arg constructor.
XMLJUnitReportWriter(boolean) - Constructor for class org.glassfish.pfl.test.XMLJUnitReportWriter
 
XmlNamespacePolicy(boolean, boolean) - Constructor for class org.glassfish.pfl.test.DOMElementWriter.XmlNamespacePolicy
 
A B C D E F G H I J K M N O P Q R S T V W X 
Skip navigation links

Copyright © 2011–2018 Eclipse Foundation. All rights reserved.