function painterTestExtraCustomParameter() {
  var testCase = {};
  testCase.tickOffset = '1337911098446';

  testCase.logEntries = [
    {
      'params': {
        'headers': ['Host: www.google.com', 'Connection: keep-alive'],
        'line': 'GET / HTTP/1.1\r\n',
        // This is unexpected!
        'hello': 'yo dawg, i heard you like strings'
      },
      'phase': EventPhase.PHASE_NONE,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534910',
      'type': EventType.HTTP_TRANSACTION_SEND_REQUEST_HEADERS
    },
  ];

  testCase.expectedText =
      't=1338864633356 [st=0]  HTTP_TRANSACTION_SEND_REQUEST_HEADERS\n' +
      '                        --> GET / HTTP/1.1\n' +
      '                            Host: www.google.com\n' +
      '                            Connection: keep-alive\n' +
      '                        --> hello = "yo dawg, i heard you like strings"';

  return testCase;
}
/**
 * Tests that when there are more custom parameters than we expect for an
 * event type, they are printed out in addition to the custom formatting.
 */
Tests that when there are more custom parameters than we expect for an
event type, they are printed out in addition to the custom formatting.
Tests that when there are more custom parameters than we expect for an event type they are printed out in addition to the custom formatting .
function painterTestExtraCustomParameter() {
  var testCase = {};
  testCase.tickOffset = '1337911098446';
  testCase.logEntries = [
    {
      'params': {
        'headers': ['Host: www.google.com', 'Connection: keep-alive'],
        'line': 'GET / HTTP/1.1\r\n',
        'hello': 'yo dawg, i heard you like strings'
      },
      'phase': EventPhase.PHASE_NONE,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534910',
      'type': EventType.HTTP_TRANSACTION_SEND_REQUEST_HEADERS
    },
  ];
  testCase.expectedText =
      't=1338864633356 [st=0]  HTTP_TRANSACTION_SEND_REQUEST_HEADERS\n' +
      '                        --> GET / HTTP/1.1\n' +
      '                            Host: www.google.com\n' +
      '                            Connection: keep-alive\n' +
      '                        --> hello = "yo dawg, i heard you like strings"';
  return testCase;
}
function painterTestExtraCustomParameter ( ) { var testCase = { } ; testCase . tickOffset = '1337911098446' ; testCase . logEntries = [ { 'params' : { 'headers' : [ 'Host: www.google.com' , 'Connection: keep-alive' ] , 'line' : 'GET / HTTP/1.1\r\n' , 'hello' : 'yo dawg, i heard you like strings' } , 'phase' : EventPhase . PHASE_NONE , 'source' : { 'id' : 146 , 'type' : EventSourceType . URL_REQUEST } , 'time' : '953534910' , 'type' : EventType . HTTP_TRANSACTION_SEND_REQUEST_HEADERS } , ] ; testCase . expectedText = 't=1338864633356 [st=0]  HTTP_TRANSACTION_SEND_REQUEST_HEADERS\n' + '                        --> GET / HTTP/1.1\n' + '                            Host: www.google.com\n' + '                            Connection: keep-alive\n' + '                        --> hello = "yo dawg, i heard you like strings"' ; return testCase ; }
Tests that when there are more custom parameters than we expect for an
 event type, they are printed out in addition to the custom formatting.
Tests that when there are more custom parameters than we expect for an event type they are printed out in addition to the custom formatting .
// This is unexpected!