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

org.jlot.web.it.AbstractServletIntegrationTest Maven / Gradle / Ivy

package org.jlot.web.it;

import org.jlot.core.it.IntegrationTestObjects;
import org.junit.runner.RunWith;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles({ "integration" })
// Inside IntegrationTestObjects there are some objects created for testing, eg
// a User. We need to acces those because we don't want to repeat our self.
// these Objects are instantiated by the ServletContainer but we can't acces
// them. This is why we import them here again
@ContextConfiguration(classes = { ServletContainer.class, IntegrationTestObjects.class })
public abstract class AbstractServletIntegrationTest
{}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy