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

com.seleniumtests.connectors.bugtracker.FakeBugTracker Maven / Gradle / Ivy

There is a newer version: 5.1.13
Show newest version
package com.seleniumtests.connectors.bugtracker;

import java.util.List;

import com.seleniumtests.driver.screenshots.ScreenShot;
import com.seleniumtests.reporter.logger.TestStep;

public class FakeBugTracker extends BugTracker {

	@Override
	public IssueBean issueAlreadyExists(IssueBean issue) {
		return null;
	}

	@Override
	public void updateIssue(String issueId, String messageUpdate, List screenShots) {
		logger.info("issue updated");
	}

	@Override
	public void createIssue(IssueBean issueBean) {
		issueBean.setId("1234");
		logger.info("issue created");
	}

	@Override
	public void closeIssue(String issueId, String closingMessage) {
		logger.info("issue closed");
		
	}

	@Override
	public void updateIssue(String issueId, String messageUpdate, List screenShots,
			TestStep lastFailedStep) {
		logger.info("issue updated with Step " + lastFailedStep.getName());
		
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy