Package org.guvnor.common.services.shared.test

Examples of org.guvnor.common.services.shared.test.TestResultMessage


            }
        } );
    }

    private void reportTestRunResult( final Result result ) {
        fireMessageEvent( new TestResultMessage( result.wasSuccessful(),
                                                 result.getRunCount(),
                                                 result.getFailureCount(),
                                                 getFailures( result.getFailures() ) ) );
    }
View Full Code Here


                                                 result.getFailureCount(),
                                                 getFailures( result.getFailures() ) ) );
    }

    private void reportTestSuccess() {
        fireMessageEvent( new TestResultMessage( true,
                                                 1,
                                                 1,
                                                 new ArrayList<org.guvnor.common.services.shared.test.Failure>() ) );
    }
View Full Code Here

    private void reportTestFailure( final Failure failure ) {
        ArrayList<org.guvnor.common.services.shared.test.Failure> failures = new ArrayList<org.guvnor.common.services.shared.test.Failure>();
        failures.add( failureToFailure( failure ) );

        fireMessageEvent( new TestResultMessage( false,
                                                 1,
                                                 1,
                                                 failures ) );
    }
View Full Code Here

TOP

Related Classes of org.guvnor.common.services.shared.test.TestResultMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.