frysk.junit
Class Result.Problem

java.lang.Object
  extended by frysk.junit.Result
      extended by frysk.junit.Result.Problem
All Implemented Interfaces:
Comparable
Enclosing class:
Result

static class Result.Problem
extends Result
implements Comparable

A problem result.


Nested Class Summary
 
Nested classes/interfaces inherited from class frysk.junit.Result
Result.Problem
 
Field Summary
private  String[] reasons
           
 
Fields inherited from class frysk.junit.Result
PASS
 
Constructor Summary
private Result.Problem(String[] whats, String bug)
           
private Result.Problem(String what, Result.Problem unresolved, Throwable t)
           
private Result.Problem(String what, String reason)
           
private Result.Problem(String what, Throwable t)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
(package private)  String getReason()
           
 int hashCode()
           
(package private)  void println()
           
 
Methods inherited from class frysk.junit.Result
fail, fail, getWhat, pass, toString, unresolved, unsupported
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

reasons

private final String[] reasons
Constructor Detail

Result.Problem

private Result.Problem(String what,
                       String reason)

Result.Problem

private Result.Problem(String[] whats,
                       String bug)

Result.Problem

private Result.Problem(String what,
                       Result.Problem unresolved,
                       Throwable t)

Result.Problem

private Result.Problem(String what,
                       Throwable t)
Method Detail

println

void println()
Overrides:
println in class Result

getReason

String getReason()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable