01: package com.reeltwo.jumble.fast;
02:
03: /**
04: * An abstract JumbleResult that defaults most methods.
05: *
06: * @author <a href="mailto:len@reeltwo.com">Len Trigg</a>
07: * @version $Revision: 496 $
08: */
09: public class AbstractJumbleResult implements JumbleResult {
10:
11: private final String mClassName;
12:
13: /**
14: * Construct a JumbleResult for a class.
15: *
16: * @param className name of class
17: */
18: public AbstractJumbleResult(final String className) {
19: mClassName = className;
20: }
21:
22: /** {@inheritDoc} */
23: public String getClassName() {
24: return mClassName;
25: }
26:
27: /** {@inheritDoc} */
28: public String[] getTestClasses() {
29: return null;
30: }
31:
32: /** {@inheritDoc} */
33: public boolean initialTestsPassed() {
34: return true;
35: }
36:
37: /** {@inheritDoc} */
38: public MutationResult[] getCovered() {
39: return null;
40: }
41:
42: /** {@inheritDoc} */
43: public MutationResult[] getMissed() {
44: return null;
45: }
46:
47: /** {@inheritDoc} */
48: public MutationResult[] getTimeouts() {
49: return null;
50: }
51:
52: /** {@inheritDoc} */
53: public long getTimeoutLength() {
54: return 0;
55: }
56:
57: /** {@inheritDoc} */
58: public MutationResult[] getAllMutations() {
59: return null;
60: }
61:
62: /** {@inheritDoc} */
63: public int getNumberOfMutations() {
64: return 0;
65: }
66:
67: /** {@inheritDoc} */
68: public boolean isInterface() {
69: return false;
70: }
71:
72: /** {@inheritDoc} */
73: public boolean isMissingTestClass() {
74: return false;
75: }
76:
77: }
|