<commit_before>//@@author A0144939R
package seedu.task.testutil;

import seedu.task.model.tag.UniqueTagList;
import seedu.task.model.task.*;

/**
 * A mutable task object. For testing only.
 */
public class TestTask implements ReadOnlyTask {

    private Name name;
    private DateTime openTime;
    private DateTime closeTime;
    private UniqueTagList tags;
    private boolean isImportant;
    private boolean isCompleted;

    public TestTask() {
        tags = new UniqueTagList();
    }
    
    //@@author A0141052Y
    /**
     * Creates a duplicate (copy) of an existing TestTask
     * @param task the TestTask to copy from
     */
    public TestTask(TestTask task) {
        this.name = task.getName();
        this.openTime = task.getOpenTime();
        this.closeTime = task.getCloseTime();
        this.isCompleted = task.getComplete();
        this.isImportant = task.getImportance();
        this.tags = new UniqueTagList(task.getTags());
    }
    //@@author
    
    public void setName(Name name) {
        this.name = name;
    }
    //@@author A0153467Y
    public void setIsImportant(boolean isImportant){
    	this.isImportant=isImportant;
    }
    //@@author
    public void setOpenTime(DateTime openTime) {
        this.openTime = openTime;
    }
    
    public void setCloseTime(DateTime closeTime) {
        this.closeTime = closeTime;
    }
    //@@author A0153467Y
    public void setIsCompleted(boolean isCompleted){
        this.isCompleted = isCompleted;
    }

    @Override
    public Name getName() {
        return name;
    }
    //@@author A0153467Y
    @Override
    public boolean getComplete() {
        return isCompleted;
    }
    //@@author
    @Override
    public DateTime getOpenTime() {
        return openTime;
    }

    @Override
    public DateTime getCloseTime() {
        return closeTime;
    }

    @Override
    public UniqueTagList getTags() {
        return tags;
    }
<<<<<<< HEAD

    @Override
    public int getRecurrentWeek() {
        return recurrentWeek;
    }
    //@@author A0153467Y
=======
    
>>>>>>> origin/develop
    @Override
    public boolean getImportance() {
        return isImportant;
    }
    //@@author
    @Override
    public String toString() {
        return getAsText();<commit_msg>Forgot to resolve one file<commit_after>//@@author A0144939R
package seedu.task.testutil;

import seedu.task.model.tag.UniqueTagList;
import seedu.task.model.task.*;

/**
 * A mutable task object. For testing only.
 */
public class TestTask implements ReadOnlyTask {

    private Name name;
    private DateTime openTime;
    private DateTime closeTime;
    private UniqueTagList tags;
    private boolean isImportant;
    private boolean isCompleted;

    public TestTask() {
        tags = new UniqueTagList();
    }
    
    //@@author A0141052Y
    /**
     * Creates a duplicate (copy) of an existing TestTask
     * @param task the TestTask to copy from
     */
    public TestTask(TestTask task) {
        this.name = task.getName();
        this.openTime = task.getOpenTime();
        this.closeTime = task.getCloseTime();
        this.isCompleted = task.getComplete();
        this.isImportant = task.getImportance();
        this.tags = new UniqueTagList(task.getTags());
    }
    //@@author
    
    public void setName(Name name) {
        this.name = name;
    }
    //@@author A0153467Y
    public void setIsImportant(boolean isImportant){
    	this.isImportant=isImportant;
    }
    //@@author
    public void setOpenTime(DateTime openTime) {
        this.openTime = openTime;
    }
    
    public void setCloseTime(DateTime closeTime) {
        this.closeTime = closeTime;
    }
    //@@author A0153467Y
    public void setIsCompleted(boolean isCompleted){
        this.isCompleted = isCompleted;
    }

    @Override
    public Name getName() {
        return name;
    }
    //@@author A0153467Y
    @Override
    public boolean getComplete() {
        return isCompleted;
    }
    //@@author
    @Override
    public DateTime getOpenTime() {
        return openTime;
    }

    @Override
    public DateTime getCloseTime() {
        return closeTime;
    }

    @Override
    public UniqueTagList getTags() {
        return tags;
    }

    //@@author A0153467Y

    @Override
    public boolean getImportance() {
        return isImportant;
    }
    //@@author
    @Override
    public String toString() {
        return getAsText();
{'fraction_non_alphanumeric': 0.1009691232814965, 'fraction_numerical': 0.018931710615280595, 'mean_word_length': 2.3293323330832707, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1683849', 'n_tokens_mistral': 1357, 'n_tokens_neox': 1284, 'n_words': 329}