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

com.github.ldeitos.validation.ExtendedValidationBaseTest Maven / Gradle / Ivy

There is a newer version: 3.0
Show newest version
package com.github.ldeitos.validation;

import org.jglue.cdiunit.AdditionalClasses;
import org.jglue.cdiunit.CdiRunner;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;

import com.github.ldeitos.util.ManualContext;
import com.github.ldeitos.validation.impl.ValidatorImpl;
import com.github.ldeitos.validation.impl.interpolator.MultipleBundlesSource;

@RunWith(CdiRunner.class)
@AdditionalClasses({ ValidatorImpl.class, MultipleBundlesSource.class, ManualContext.class })
public class ExtendedValidationBaseTest {

	@BeforeClass
	public static void setup() {
		System.setProperty("org.jboss.weld.nonPortableMode", "true");
	}

	@AfterClass
	public static void shutdown() {
		System.clearProperty("org.jboss.weld.nonPortableMode");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy