All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.test.TestBreakInfo Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.test;

import junit.framework.Test;

import java.util.Collections;
import java.util.List;

public class TestBreakInfo {

  private final String _name;
  private final List _metadata;
  private final Throwable _throwable;

  public TestBreakInfo( String name, Throwable throwable ) {
    this( name, Collections.emptyList(), throwable );
  }

  public TestBreakInfo( String name, List metadata, Throwable throwable ) {
    _name = name;
    _metadata = metadata == null ? Collections.emptyList() : metadata;
    _throwable = throwable;
  }

  public String getName() {
    return _name;
  }

  public List getMetadata() {
    return _metadata;
  }

  public Throwable getThrowable() {
    return _throwable;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy