mirror of
https://github.com/google/nomulus.git
synced 2025-08-23 01:32:34 +02:00
Make more Gradle subproject tests work in IntelliJ (#1454)
This commit is contained in:
parent
e3e277a264
commit
6a419eaeb6
21 changed files with 364 additions and 135 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
package google.registry.monitoring.blackbox.message;
|
||||
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import google.registry.monitoring.blackbox.exception.EppClientException;
|
||||
import google.registry.monitoring.blackbox.exception.UndeterminedStateException;
|
||||
|
@ -147,4 +148,16 @@ public class EppRequestMessage extends EppMessage implements OutboundMessageType
|
|||
public String responseName() {
|
||||
return expectedResponse.name();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a String representation using the {@link #name()}, {@link #responseName()}, and {@link
|
||||
* #message} (if non-null).
|
||||
*
|
||||
* <p>This is primarily for parameterized test case usage, which requires a sensible <code>
|
||||
* toString</code> for the purposes of test method naming.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return Joiner.on('_').skipNulls().join(name(), responseName(), super.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue