package org.etsi.mts.tdl.execution.java.adapters;

import org.etsi.mts.tdl.execution.java.tri.Data;
import org.etsi.mts.tdl.execution.java.tri.Reporter;
import org.etsi.mts.tdl.execution.java.tri.Validator;
import org.etsi.mts.tdl.execution.java.tri.Verdict;

public class DefaultAdapter implements Validator, Reporter {

	public boolean equals(Object o0, Object o1) {
		// TODO Auto-generated method stub
		return false;
	}

	public <T> T clone(T object) {
		// TODO Auto-generated method stub
		return object;
	}

	@Override
	public void comment(String body) {
		// TODO Auto-generated method stub
		System.out.println(body);
	}

	@Override
	public void testObjectiveReached(String uri, String description) {
		// TODO Auto-generated method stub
		System.out.println("Reached: " + uri + " | " + description);
	}

	@Override
	public void behaviourStarted(String kind, String id, Object... properties) {
		// TODO Auto-generated method stub
		System.out.println("Started: " + kind + " | id = " + id);
	}

	@Override
	public void behaviourCompleted(String id) {
		// TODO Auto-generated method stub
		System.out.println("Completed: id = " + id);
	}

	@Override
	public void runtimeError(Throwable t) {
		// TODO Auto-generated method stub
		System.err.println(t);
	}

	@Override
	public boolean matches(Data expected, Data actual) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void setVerdict(Verdict verdict) {
		// TODO Auto-generated method stub
		System.out.println("Set verdict to " + verdict.getName());
	}

}
