/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (collectively, the
* "License"). You may not use this file except in compliance with the
* License. You can obtain a copy of the License at
* http://www.netbeans.org/cddl-gplv2.html
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
* specific language governing permissions and limitations under the
* License. When distributing the software, include this License Header
* Notice in each file and include the License file at
* nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun in the GPL Version 2 section of the License file that
* accompanied this code. If applicable, add the following below the
* License Header, with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* Contributor(s):
*
* The Original Software is NetBeans. The Initial Developer of the Original
* Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
* Microsystems, Inc. All Rights Reserved.
*
* If you wish your version of this file to be governed by only the CDDL
* or only the GPL Version 2, indicate your decision by adding
* "[Contributor] elects to include this software in this distribution
* under the [CDDL or GPL Version 2] license." If you do not indicate a
* single choice of license, a recipient has the option to distribute
* your version of this file under either the CDDL, the GPL Version 2 or
* to extend the choice of license to its licensees as provided above.
* However, if you add GPL Version 2 code and therefore, elected the GPL
* Version 2 license, then the option applies only if the new code is
* made subject to such option by the copyright holder.
*/
/*
* UnitTestCase.java
*
* Created on November 1, 2001, 6:14 PM
*/
package org.netbeans.xtest.pe.xmlbeans;
/**
*
* @author mb115822
*/
public class UnitTestCase extends XMLBean {
public static final String TEST_PASS="pass";
public static final String TEST_FAIL="fail";
public static final String TEST_ERROR="error";
public static final String TEST_UNKNOWN="unknown";
public static final String TEST_UNEXPECTED_PASS="unexpected pass";
public static final String TEST_EXPECTED_FAIL="expected fail";
/** Creates new UnitTestCase */
public UnitTestCase() {
}
/** Getter for property name.
* @return Value of property name.
*/
public String getName() {
return xmlat_name;
}
/** Setter for property name.
* @param name New value of property name.
*/
public void setName(String name) {
xmlat_name = name;
}
/** Getter for property time.
* @return Value of property time.
*/
public long getTime() {
return xmlat_time;
}
/** Setter for property time.
* @param time New value of property time.
*/
public void setTime(long time) {
xmlat_time = time;
}
/** Getter for property className.
* @return Value of property className.
*/
public String getClassName() {
return xmlat_class;
}
/** Setter for property className.
* @param className New value of property className.
*/
public void setClassName(String className) {
xmlat_class = className;
}
/** Getter for property result.
* @return Value of property result.
*/
public String getResult() {
return xmlat_result;
}
/** Setter for property result.
* @param result New value of property result.
*/
public void setResult(String result) {
xmlat_result = result;
}
/** Getter for property workdir.
* @return Value of property workdir.
*/
public String getWorkdir() {
return xmlat_workdir;
}
/** Setter for property workdir.
* @param workdir New value of property workdir.
*/
public void setWorkdir(String workdir) {
xmlat_workdir = workdir;
}
/** Getter for property message.
* @return Value of property message.
*/
public String getMessage() {
return xmlat_message;
}
/** Setter for property message.
* @param message New value of property message.
*/
public void setMessage(String message) {
xmlat_message = message;
}
/** Getter for property unitTestSuite_id.
* @return Value of property unitTestSuite_id.
*/
public long getUnitTestSuite_id() {
return this.unitTestSuite_id;
}
/** Setter for property unitTestSuite_id.
* @param unitTestSuite_id New value of property unitTestSuite_id.
*/
public void setUnitTestSuite_id(long unitTestSuite_id) {
this.unitTestSuite_id = unitTestSuite_id;
}
/** Getter for property stackTrace.
* @return Value of property stackTrace.
*/
public String getStackTrace() {
return xml_cdata;
}
/** Setter for property stackTrace.
* @param stackTrace New value of property stackTrace.
*/
public void setStackTrace(String stackTrace) {
xml_cdata = stackTrace;
}
/** Getter for property failReason.
* @return Value of property failReason.
*/
public String getFailReason() {
return xmlat_failReason;
}
/** Setter for property failReason.
* @param message New value of property failReason.
*/
public void setFailReason(String failReason) {
xmlat_failReason = failReason;
}
// attributes
public String xmlat_class;
public String xmlat_name;
public String xmlat_result;
public String xmlat_workdir;
public String xmlat_message;
public String xmlat_failReason;
public long xmlat_time;
/** Holds value of property unitTestSuite_id. */
private long unitTestSuite_id;
}
|