1 29 package net.sourceforge.groboutils.pmti.v1.itf.impl; 30 31 import net.sourceforge.groboutils.pmti.v1.itf.ITestRecord; 32 33 34 35 42 public class DefaultTestRecord extends ImmutableTestRecord 43 { 44 45 private String name; 46 private String suite; 47 private int tCount; 48 private long tRuntime; 49 private String [] failures; 50 private String [] errors; 51 private String log; 52 53 54 public DefaultTestRecord() 55 { 56 super(); 57 } 58 59 60 public DefaultTestRecord( ITestRecord tr ) 61 { 62 super( tr ); 63 } 64 65 66 public void setTestName( String name ) 67 { 68 super.setTestName( name ); 69 } 70 71 72 public void setTestSuite( String suite ) 73 { 74 super.setTestSuite( suite ); 75 } 76 77 78 public void setTestCount( int count ) 79 { 80 super.setTestCount( count ); 81 } 82 83 84 public void setRuntime( long time ) 85 { 86 super.setRuntime( time ); 87 } 88 89 90 public void setFailures( String [] f ) 91 { 92 super.setFailures( f ); 93 } 94 95 96 public void setErrors( String [] e ) 97 { 98 super.setErrors( e ); 99 } 100 101 102 public void setLog( String log ) 103 { 104 super.setLog( log ); 105 } 106 107 108 public ImmutableTestRecord createImmutable() 109 { 110 return new ImmutableTestRecord( this ); 111 } 112 } 113 114 | Popular Tags |