mirror of
https://github.com/google/nomulus
synced 2026-08-15 19:56:08 +00:00
Make more Gradle subproject tests work in IntelliJ (#1454)
This commit is contained in:
+13
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user