1 18 19 package org.apache.jmeter.assertions; 20 21 import java.io.Serializable ; 22 23 27 public class AssertionResult implements Serializable 28 { 29 30 private boolean failure; 31 32 33 private boolean error; 34 35 36 private String failureMessage; 37 38 42 public AssertionResult() 43 { 44 } 45 46 53 public boolean isFailure() 54 { 55 return failure; 56 } 57 58 65 public boolean isError() 66 { 67 return error; 68 } 69 70 76 public String getFailureMessage() 77 { 78 return failureMessage; 79 } 80 81 86 public void setError(boolean e) 87 { 88 error = e; 89 } 90 91 96 public void setFailure(boolean f) 97 { 98 failure = f; 99 } 100 101 106 public void setFailureMessage(String message) 107 { 108 failureMessage = message; 109 } 110 } 111 | Popular Tags |