01: package com.reeltwo.jumble.fast;
02:
03: import java.util.List;
04:
05: /**
06: * <code>InitialOKJumbleResult</code> is a JumbleResult for a test pass
07: * (that is, the mutation caused a test failure).
08: *
09: * @author <a href="mailto:len@reeltwo.com">Len Trigg</a>
10: * @version $Revision: 496 $
11: */
12: public class InitialOKJumbleResult extends AbstractJumbleResult {
13:
14: private List mTestClassNames;
15:
16: private long mTimeoutLength;
17:
18: public InitialOKJumbleResult(String className, List testClassNames,
19: long timeout) {
20: super (className);
21: mTestClassNames = testClassNames;
22: mTimeoutLength = timeout;
23: }
24:
25: /** {@inheritDoc} */
26: public long getTimeoutLength() {
27: return mTimeoutLength;
28: }
29:
30: /** {@inheritDoc} */
31: public String[] getTestClasses() {
32: return (String[]) mTestClassNames
33: .toArray(new String[mTestClassNames.size()]);
34: }
35:
36: }
|