File tree Expand file tree Collapse file tree
sqldev/src/main/java/org/utplsql/sqldev/model/runner Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 */
1616package org .utplsql .sqldev .model .runner ;
1717
18+ import org .springframework .core .style .ToStringCreator ;
19+ import org .utplsql .sqldev .model .UtplsqlToStringStyler ;
20+
1821public class PostRunEvent extends PostEvent {
22+
23+ @ Override
24+ public String toString () {
25+ return new ToStringCreator (this , UtplsqlToStringStyler .INSTANCE )
26+ // ancestor
27+ .append ("startTime" , getStartTime ())
28+ .append ("endTime" , getEndTime ())
29+ .append ("executionTime" , getExecutionTime ())
30+ .append ("counter" , getCounter ())
31+ .append ("errorStack" , getErrorStack ())
32+ .append ("serverOutput" , getServerOutput ())
33+ .append ("warnings" , getWarnings ())
34+ .toString ();
35+ }
1936}
Original file line number Diff line number Diff line change @@ -24,6 +24,15 @@ public class PostSuiteEvent extends PostEvent {
2424 @ Override
2525 public String toString () {
2626 return new ToStringCreator (this , UtplsqlToStringStyler .INSTANCE )
27+ // ancestor
28+ .append ("startTime" , getStartTime ())
29+ .append ("endTime" , getEndTime ())
30+ .append ("executionTime" , getExecutionTime ())
31+ .append ("counter" , getCounter ())
32+ .append ("errorStack" , getErrorStack ())
33+ .append ("serverOutput" , getServerOutput ())
34+ .append ("warnings" , getWarnings ())
35+ // local
2736 .append ("id" , id )
2837 .toString ();
2938 }
Original file line number Diff line number Diff line change @@ -30,6 +30,15 @@ public class PostTestEvent extends PostEvent {
3030 @ Override
3131 public String toString () {
3232 return new ToStringCreator (this , UtplsqlToStringStyler .INSTANCE )
33+ // ancestor
34+ .append ("startTime" , getStartTime ())
35+ .append ("endTime" , getEndTime ())
36+ .append ("executionTime" , getExecutionTime ())
37+ .append ("counter" , getCounter ())
38+ .append ("errorStack" , getErrorStack ())
39+ .append ("serverOutput" , getServerOutput ())
40+ .append ("warnings" , getWarnings ())
41+ // local
3342 .append ("id" , id )
3443 .append ("testNumber" , testNumber )
3544 .append ("totalNumberOfTests" , totalNumberOfTests )
Original file line number Diff line number Diff line change @@ -33,6 +33,16 @@ public Suite() {
3333 @ Override
3434 public String toString () {
3535 return new ToStringCreator (this , UtplsqlToStringStyler .INSTANCE )
36+ // ancestor
37+ .append ("id" , getId ())
38+ .append ("startTime" , getStartTime ())
39+ .append ("endTime" , getEndTime ())
40+ .append ("executionTime" , getExecutionTime ())
41+ .append ("counter" , getCounter ())
42+ .append ("errorStack" , getErrorStack ())
43+ .append ("serverOutput" , getServerOutput ())
44+ .append ("warnings" , getWarnings ())
45+ // local
3646 .append ("name" , name )
3747 .append ("description" , description )
3848 .append ("items" , items )
You can’t perform that action at this time.
0 commit comments