Index

A C D E F G H P R S T Z 
All Classes|All Packages|Constant Field Values|Serialized Form

A

APPLICATION_OCTET_STREAM - Static variable in class com.zfabrik.z2unit.Z2UnitTestRunner
 

C

className() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
Name of the test class.
com.zfabrik.z2unit - package com.zfabrik.z2unit
 
com.zfabrik.z2unit.annotations - package com.zfabrik.z2unit.annotations
 
com.zfabrik.z2unit.impl - package com.zfabrik.z2unit.impl
 
componentName() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
Name of the java component that contains the test class.
configFile() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
A z2unit configuration file.

D

dependencies() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
Runtime dependencies specified as component names.
deSerializeDescription(Reader) - Static method in class com.zfabrik.z2unit.impl.Protocol
Read a JUnit description from a reader - used on server
deSerializeEvent(Reader) - Static method in class com.zfabrik.z2unit.impl.Protocol
Read a JUnit event from a reader - used in runner

E

equals(Object) - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 
equals(Object) - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
equals(Object) - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
EVENT_TEST_ASSUMPTION_FAILURE - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_FAILURE - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_FINISHED - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_IGNORED - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_RUN_FINISHED - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_RUN_STARTED - Static variable in class com.zfabrik.z2unit.impl.Protocol
 
EVENT_TEST_STARTED - Static variable in class com.zfabrik.z2unit.impl.Protocol
 

F

filter(Filter) - Method in class com.zfabrik.z2unit.Z2UnitTestRunner
 
fromBase64Chunk(Reader) - Static method in class com.zfabrik.z2unit.impl.Protocol
 

G

getDescription() - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 
getDescription() - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
getDescription() - Method in class com.zfabrik.z2unit.Z2UnitTestRunner
 
getException() - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
getExceptionMessage() - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
getFailure() - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 
getFailureCount() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
getFailures() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
getIgnoreCount() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
getMessage() - Method in exception com.zfabrik.z2unit.RemoteErrorException
 
getRemoteStackTrace() - Method in exception com.zfabrik.z2unit.RemoteErrorException
 
getResult() - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 
getRunCount() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
getRunTime() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 
getType() - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 

H

hashCode() - Method in class com.zfabrik.z2unit.impl.Protocol.SEvent
 
hashCode() - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
hashCode() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 

P

Protocol - Class in com.zfabrik.z2unit.impl
Protocol abstraction for z2 unit.
Protocol() - Constructor for class com.zfabrik.z2unit.impl.Protocol
 
Protocol.SEvent - Class in com.zfabrik.z2unit.impl
 
Protocol.SFailure - Class in com.zfabrik.z2unit.impl
 
Protocol.SResult - Class in com.zfabrik.z2unit.impl
 

R

RemoteErrorException - Exception in com.zfabrik.z2unit
If a remote error could not be provided locally (typically due to serialization or de-serialization problems, we use this local exception to provide some throwable to JUnit.
RemoteErrorException(String) - Constructor for exception com.zfabrik.z2unit.RemoteErrorException
 
run(RunNotifier) - Method in class com.zfabrik.z2unit.Z2UnitTestRunner
 
runWith() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
A Unit Test Runner to be used when executing the unit test in the target environment.

S

serialize(String, Description, Writer) - Static method in class com.zfabrik.z2unit.impl.Protocol
Write a JUnit event to a writer.
serialize(String, Failure, Writer) - Static method in class com.zfabrik.z2unit.impl.Protocol
Write a JUnit event to a writer.
serialize(String, Result, Writer) - Static method in class com.zfabrik.z2unit.impl.Protocol
Write a JUnit event to a writer.
serialize(Description, Writer) - Static method in class com.zfabrik.z2unit.impl.Protocol
Write a JUnit description to a writer.
serialize(Result, Writer) - Static method in class com.zfabrik.z2unit.impl.Protocol
Write a JUnit result to a writer.
SEvent(String, Protocol.SFailure) - Constructor for class com.zfabrik.z2unit.impl.Protocol.SEvent
 
SEvent(String, Protocol.SResult) - Constructor for class com.zfabrik.z2unit.impl.Protocol.SEvent
 
SEvent(String, Description) - Constructor for class com.zfabrik.z2unit.impl.Protocol.SEvent
 
SFailure(Failure) - Constructor for class com.zfabrik.z2unit.impl.Protocol.SFailure
 
sort(Sorter) - Method in class com.zfabrik.z2unit.Z2UnitTestRunner
 
SResult(Result) - Constructor for class com.zfabrik.z2unit.impl.Protocol.SResult
 

T

testCount() - Method in class com.zfabrik.z2unit.Z2UnitTestRunner
 
toBase64Chunk(byte[]) - Static method in class com.zfabrik.z2unit.impl.Protocol
 
toFailure() - Method in class com.zfabrik.z2unit.impl.Protocol.SFailure
 
toResult() - Method in class com.zfabrik.z2unit.impl.Protocol.SResult
 

Z

z2unitPassword() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
Password name to send for authentication.
Z2UnitTest - Annotation Interface in com.zfabrik.z2unit.annotations
Configuration for a unit test class that is run with the z2unit test runner.
Z2UnitTestRunner - Class in com.zfabrik.z2unit
JUnit4 Unit test runner that, when invoked client-side, sends a request server-side to run unit tests of the given class on the server side.
Z2UnitTestRunner(Class<?>) - Constructor for class com.zfabrik.z2unit.Z2UnitTestRunner
 
z2unitUrl() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
URL to send the test request to.
z2unitUser() - Element in annotation interface com.zfabrik.z2unit.annotations.Z2UnitTest
Username to send for authentication.
A C D E F G H P R S T Z 
All Classes|All Packages|Constant Field Values|Serialized Form