Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2010 JBoss Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package org.drools.guvnor.client.rpc;
This is returned when running a suite of tests.
public class BulkTestRunResult implements IsSerializable {
	public BulkTestRunResult()  {}
	public BulkTestRunResult(BuilderResult errsScenarioResultSummary[] resint percentCoveredString[] rulesNotCovered) {
		this. = errs;
		this. = res;
		this. = percentCovered;
		this. = rulesNotCovered;
Will be either errors, or results.
	public int percentCovered;
	public String toString() {
		if ( != null && .. > 0) return "Unable to run tests";  //NON-NLS
		if ( == null || . == 0) return "No test scenarios found.";   //NON-NLS
		String res = "";
		if ( != null) {
			for (int i = 0; i < .i++) {
				res  = res + "\n" + [i].toString();
		return res.trim();
New to GrepCode? Check out our FAQ X