1 | |
package org.jbehave.jenkins; |
2 | |
|
3 | |
import com.thalesgroup.dtkit.metrics.hudson.api.descriptor.TestTypeDescriptor; |
4 | |
import com.thalesgroup.hudson.plugins.xunit.types.XUnitType; |
5 | |
|
6 | 0 | @SuppressWarnings("serial") |
7 | |
public class JBehaveType extends XUnitType { |
8 | |
|
9 | |
public JBehaveType(String pattern, boolean failedIfNotNew, boolean deleteJUnitFiles) { |
10 | 0 | super(pattern, failedIfNotNew, deleteJUnitFiles); |
11 | 0 | } |
12 | |
|
13 | |
@Override |
14 | |
public TestTypeDescriptor<?> getDescriptor() { |
15 | 0 | return null; |
16 | |
} |
17 | |
|
18 | |
public Object readResolve() { |
19 | 0 | return new JBehavePluginType(this.getPattern(), this.isFaildedIfNotNew(), this.isDeleteJUnitFiles()); |
20 | |
} |
21 | |
|
22 | |
} |