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

  testCase.logEntries = [
    {
      'phase': EventPhase.PHASE_BEGIN,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534778',
      'type': EventType.REQUEST_ALIVE
    },
    {
      'params': {
        'load_flags': 0,
        'method': 'GET',
        'priority': 4,
        'url': 'http://www.google.com/'
      },
      'phase': EventPhase.PHASE_BEGIN,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534910',
      'type': EventType.URL_REQUEST_START_JOB
    },
    {
      'phase': EventPhase.PHASE_END,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534970',
      'type': EventType.URL_REQUEST_START_JOB
    },
  ];

  testCase.expectedText = 't=1338864633224 [st=  0] +REQUEST_ALIVE  [dt=?]\n' +
      't=1338864633356 [st=132]    URL_REQUEST_START_JOB  [dt=60]\n' +
      '                            --> load_flags = 0 (NORMAL)\n' +
      '                            --> method = "GET"\n' +
      '                            --> priority = 4\n' +
      '                            --> url = "http://www.google.com/"';

  return testCase;
}
/**
 * Test case for a URLRequest that was not completed that did not come from a
 * loaded log file.
 */
Test case for a URLRequest that was not completed that did not come from a
loaded log file.
Test case for a URLRequest that was not completed that did not come from a loaded log file .
function painterTestURLRequestIncomplete() {
  var testCase = {};
  testCase.tickOffset = '1337911098446';
  testCase.logEntries = [
    {
      'phase': EventPhase.PHASE_BEGIN,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534778',
      'type': EventType.REQUEST_ALIVE
    },
    {
      'params': {
        'load_flags': 0,
        'method': 'GET',
        'priority': 4,
        'url': 'http://www.google.com/'
      },
      'phase': EventPhase.PHASE_BEGIN,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534910',
      'type': EventType.URL_REQUEST_START_JOB
    },
    {
      'phase': EventPhase.PHASE_END,
      'source': {'id': 146, 'type': EventSourceType.URL_REQUEST},
      'time': '953534970',
      'type': EventType.URL_REQUEST_START_JOB
    },
  ];
  testCase.expectedText = 't=1338864633224 [st=  0] +REQUEST_ALIVE  [dt=?]\n' +
      't=1338864633356 [st=132]    URL_REQUEST_START_JOB  [dt=60]\n' +
      '                            --> load_flags = 0 (NORMAL)\n' +
      '                            --> method = "GET"\n' +
      '                            --> priority = 4\n' +
      '                            --> url = "http://www.google.com/"';
  return testCase;
}
function painterTestURLRequestIncomplete ( ) { var testCase = { } ; testCase . tickOffset = '1337911098446' ; testCase . logEntries = [ { 'phase' : EventPhase . PHASE_BEGIN , 'source' : { 'id' : 146 , 'type' : EventSourceType . URL_REQUEST } , 'time' : '953534778' , 'type' : EventType . REQUEST_ALIVE } , { 'params' : { 'load_flags' : 0 , 'method' : 'GET' , 'priority' : 4 , 'url' : 'http://www.google.com/' } , 'phase' : EventPhase . PHASE_BEGIN , 'source' : { 'id' : 146 , 'type' : EventSourceType . URL_REQUEST } , 'time' : '953534910' , 'type' : EventType . URL_REQUEST_START_JOB } , { 'phase' : EventPhase . PHASE_END , 'source' : { 'id' : 146 , 'type' : EventSourceType . URL_REQUEST } , 'time' : '953534970' , 'type' : EventType . URL_REQUEST_START_JOB } , ] ; testCase . expectedText = 't=1338864633224 [st=  0] +REQUEST_ALIVE  [dt=?]\n' + 't=1338864633356 [st=132]    URL_REQUEST_START_JOB  [dt=60]\n' + '                            --> load_flags = 0 (NORMAL)\n' + '                            --> method = "GET"\n' + '                            --> priority = 4\n' + '                            --> url = "http://www.google.com/"' ; return testCase ; }
Test case for a URLRequest that was not completed that did not come from a
 loaded log file.
Test case for a URLRequest that was not completed that did not come from a loaded log file .