All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.relevantcodes.extentreports.model.Test Maven / Gradle / Ivy

/*
* Copyright (c) 2015, Anshoo Arora (Relevant Codes).  All rights reserved.
* 
* Copyrights licensed under the New BSD License.
* 
* See the accompanying LICENSE file for terms.
*/

package com.relevantcodes.extentreports.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;

import com.relevantcodes.extentreports.LogCounts;
import com.relevantcodes.extentreports.LogStatus;
import com.relevantcodes.extentreports.utils.DateTimeUtil;

public class Test implements ITest, Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -2685089412285339081L;

	/**
     * Attribute to mark the test as a child node
* Top-most test will always have this attribute as false
* eg:
* Parent - false
* Child - true
* GrandChild - true
*/ public boolean isChildNode = false; /** * Attribute to mark if the test ended safely
* It is marked TRUE when extent.endTest(test) is called */ public boolean hasEnded = false; /** * Attribute to denote if the current test has child tests
* Default = false
* When test.appendChild(child) is called, the flag becomes true */ public boolean hasChildNodes = false; // test categories // parent test contains all categories from child tests private List categoryList; // assign author(s) of the test private List authorsList; // list of exceptions occurred for the test private List exceptionList; // logs private List logList; // screencapture list private List screenCaptureList; // screencast / video




© 2015 - 2024 Weber Informatics LLC | Privacy Policy