Remove old json logging from flows

This was meant for log replay and has long been ignored/useless.
As part of this, remove execution time from EppResponse since this
was the only thing consuming it.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137293734
This commit is contained in:
cgoldfeder 2016-10-26 10:54:43 -07:00 committed by Ben McIlwain
parent 5f8a95d853
commit 198558901d
7 changed files with 20 additions and 103 deletions

View file

@ -44,7 +44,6 @@ import java.util.List;
import java.util.Map;
import java.util.logging.LogRecord;
import java.util.logging.Logger;
import org.joda.time.DateTime;
import org.json.simple.JSONValue;
import org.junit.Before;
import org.junit.Rule;
@ -69,7 +68,6 @@ public class FlowRunnerTest extends ShardableTestCase {
final EppOutput eppOutput = mock(EppOutput.class);
EppResponse eppResponse = mock(EppResponse.class);
when(eppResponse.getExecutionTime()).thenReturn(new DateTime(1337));
when(eppOutput.getResponse()).thenReturn(eppResponse);
flowRunner.clientId = "TheRegistrar";
@ -83,8 +81,7 @@ public class FlowRunnerTest extends ShardableTestCase {
@Override
protected EppOutput run() {
return eppOutput;
}
});
}});
flowRunner.inputXmlBytes = "<xml/>".getBytes(UTF_8);
flowRunner.isDryRun = false;
flowRunner.isSuperuser = false;