package com.google.graphgeckos.dashboard.buildbot;

import com.google.graphgeckos.dashboard.AbstractJsonTestInfo;

public class BuildBotTestInfo extends AbstractJsonTestInfo  {

  public BuildBotTestInfo(String testName) {
    super(testName);
  }

  @Override
  protected String getPath() {
    return null;
  }

  @Override
  protected void assignExpectedValues(String[] expected) {

  }
}

@@ -106,16 +106,123 @@
 estInfo;
+%0Aimport com.google.graphgeckos.dashboard.datatypes.Log;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;
 %0A%0Apublic
@@ -278,16 +278,47 @@
 nfo  %7B%0A%0A
+  /**%0A   * %7B@inheritDoc%7D%0A   */%0A
   public
@@ -386,142 +386,1146 @@
 %0A%0A  
-@Override%0A  protected String getPath() %7B%0A    return null;%0A  %7D%0A%0A  @Override%0A  protected void assignExpectedValues(String%5B%5D expected) %7B%0A
+/** Expected output fields.%0A   * %7B@link com.google.graphgeckos.dashboard.datatypes.BuildBotData%7D%0A   */%0A  private String name;%0A  private String status;%0A  private String commitHash;%0A  private String timestamp;%0A  private List%3CLog%3E logs = new ArrayList%3C%3E();%0A%0A  @Override%0A  protected String getPath() %7B%0A    return %22src/test/resources/jsons/buildbots/%22;%0A  %7D%0A%0A  /**%0A   * %7B@inheritDoc%7D%0A   * Values come in the following order: BuildBot name, status, commitHash, timestamp,%0A   * logs (expected%5Bi%5D contains type of the log, expected%5Bi + 1%5D contains%0A   * link to the log.%0A   */%0A  @Override%0A  protected void assignExpectedValues(String%5B%5D expected) %7B%0A    name = expected%5B0%5D;%0A    status = expected%5B1%5D;%0A    commitHash = expected%5B2%5D;%0A    timestamp = expected%5B3%5D;%0A%0A    for (int i = 4; i %3C expected.length; i += 2) %7B%0A      logs.add(new Log(expected%5Bi%5D, expected%5Bi + 1%5D));%0A    %7D%0A  %7D%0A%0A  public String getName() %7B%0A    return name;%0A  %7D%0A%0A  public String getStatus() %7B%0A    return status;%0A  %7D%0A%0A  public String getCommitHash() %7B%0A    return commitHash;%0A  %7D%0A%0A  public String getTimestamp() %7B%0A    return timestamp;%0A  %7D%0A%0A  public List%3CLog%3E getLogs() %7B%0A    return logs;
 %0A  %7D

implement BuildBotTestInfo class