1 jls.loader.provide('jls.jsunit.TestFailure'); 2 3 jls.jsunit.TestFailure = jls.lang.Class.create( 4 { 5 initialize : function(failedTest, thrownException) { 6 this._failedTest = failedTest; 7 this._thrownException = thrownException; 8 }, 9 failedTest : function() { 10 return this._failedTest; 11 }, 12 thrownException : function() { 13 return this._thrownException; 14 } 15 }); 16 17