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

org.etlunit.feature.debug.RunAllFeatureModule Maven / Gradle / Ivy

package org.etlunit.feature.debug;

import org.etlunit.ClassDirector;
import org.etlunit.NullClassDirector;
import org.etlunit.feature.AbstractFeature;
import org.etlunit.feature.FeatureModule;
import org.etlunit.parser.ETLTestClass;
import org.etlunit.parser.ETLTestMethod;
import org.etlunit.parser.ETLTestOperation;

@FeatureModule
public class RunAllFeatureModule extends AbstractFeature
{

	private final ClassDirector nullClassDirector = new NullClassDirector()
	{
		@Override
		public response_code accept(ETLTestClass cl)
		{
			return response_code.accept;
		}

		@Override
		public response_code accept(ETLTestOperation op)
		{
			return response_code.accept;
		}

		@Override
		public response_code accept(ETLTestMethod mt)
		{
			return response_code.accept;
		}
	};

	@Override
	public ClassDirector getDirector()
	{
		return nullClassDirector;
	}

	public String getFeatureName()
	{
		return "run-all-director";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy