Skip to content
Permalink
Browse files

[JENKINS-31999] fixed deprecated unit tests

  • Loading branch information...
cpoenisch committed May 19, 2016
1 parent 6ef4aa7 commit af0331844a3c6682a4e6331356ac092addcc1730
@@ -61,7 +61,7 @@
@Nonnull
private final String toolName;
@Nonnull
private String timeout = String.valueOf(getDescriptor().getDefaultTimeout());
private String timeout = String.valueOf(getDefaultTimeout());

/**
* Instantiates a {@link AbstractToolBuilder}.
@@ -115,6 +115,13 @@ public void setTimeout(@Nonnull final String timeout) {
this.timeout = timeout;
}

/**
* Gets the default timeout.
*
* @return the default timeout
*/
public abstract int getDefaultTimeout();

/**
* Gets the test identifier by the size of {@link ToolEnvInvisibleAction}s already added to the build.
*
@@ -149,6 +149,7 @@ public final Object readResolve() {
/**
* @return the default timeout
*/
@Override
public int getDefaultTimeout() {
return DEFAULT_TIMEOUT;
}
@@ -112,6 +112,7 @@ public StartTSBuilder(final String toolName, final String timeout, final String
/**
* @return the default timeout
*/
@Override
public int getDefaultTimeout() {
return DEFAULT_TIMEOUT;
}
@@ -90,6 +90,7 @@ public StopETBuilder(final String toolName, final String timeout) {
/**
* @return the default timeout
*/
@Override
public int getDefaultTimeout() {
return DEFAULT_TIMEOUT;
}
@@ -90,6 +90,7 @@ public StopTSBuilder(final String toolName, final String timeout) {
/**
* @return the default timeout
*/
@Override
public int getDefaultTimeout() {
return DEFAULT_TIMEOUT;
}

0 comments on commit af03318

Please sign in to comment.
You can’t perform that action at this time.