fix test names (#1865)
* upgrade to spring boot 1.5.2 * add full update to REST API * modify ratings controller * upgrade herold * fix integration test * fix integration test * minor fix * fix integration test * fix integration test * minor cleanup * minor cleanup * remove log4j properties * use standard logbook.xml * remove log4j dependencies * remove commons-logging * merge * fix conflict * exclude commons-logging dependency * cleanup * minor fix * minor fix * fix dependency issues * Revert "fix dependency issues" This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec. * fix dependency issues * minor fix * minor fix * minor fix * cleanup generated files * fix commons-logging issue * add parent to pom * cleanup parent dependencies * cleanup pom * cleanup pom * add missing parent * fix logging issue * fix test names * fix merge * minor fix * fix test names * fix test names
This commit is contained in:
parent
9e644af344
commit
91be1eaf49
@ -9,7 +9,7 @@ import java.util.stream.IntStream;
|
||||
import java.util.stream.LongStream;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
public class GuavaStreamsTests {
|
||||
public class GuavaStreamsUnitTest {
|
||||
|
||||
List<Integer> numbers;
|
||||
|
@ -27,7 +27,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
**/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = GatewayApp.class)
|
||||
public class ProfileInfoResourceIntTest {
|
||||
public class ProfileInfoResourceIntegrationTest {
|
||||
|
||||
@Mock
|
||||
private Environment environment;
|
@ -27,7 +27,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
||||
**/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = BaeldungApp.class)
|
||||
public class ProfileInfoResourceIntTest {
|
||||
public class ProfileInfoResourceIntegrationTest {
|
||||
|
||||
@Mock
|
||||
private Environment environment;
|
@ -7,7 +7,7 @@ import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class ProxyTest {
|
||||
public class ProxyIntegrationTest {
|
||||
@Test
|
||||
public void givenPersonService_whenSayHello_thenReturnResult() {
|
||||
//given
|
@ -6,7 +6,7 @@ import org.apache.commons.math3.analysis.solvers.UnivariateSolver;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class RootFindingTests {
|
||||
public class RootFindingUnitTest {
|
||||
|
||||
@Test
|
||||
public void whenUnivariateSolverSolver_thenCorrect() {
|
@ -8,7 +8,7 @@ import java.sql.SQLException;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class HikariCPTest {
|
||||
public class HikariCPUnitTest {
|
||||
|
||||
@Test
|
||||
@Ignore
|
@ -20,9 +20,9 @@ import static org.springframework.test.annotation.DirtiesContext.ClassMode.AFTER
|
||||
|
||||
@RunWith(Suite.class)
|
||||
@Suite.SuiteClasses({
|
||||
KonamCheatClassDirtiesContextTest.DirtiesContextTest.class, KonamCheatClassDirtiesContextTest.AnotherDirtiesContextTest.class
|
||||
KonamCheatClassDirtiesContextIntegrationTest.DirtiesContextTest.class, KonamCheatClassDirtiesContextIntegrationTest.AnotherDirtiesContextTest.class
|
||||
})
|
||||
public class KonamCheatClassDirtiesContextTest {
|
||||
public class KonamCheatClassDirtiesContextIntegrationTest {
|
||||
|
||||
@RunWith(SerenityRunner.class)
|
||||
@ContextConfiguration(classes = KonamiCodeService.class)
|
@ -20,7 +20,7 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
@RunWith(SerenityRunner.class)
|
||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
@ContextConfiguration(classes = KonamiCodeService.class)
|
||||
public class KonamCheatWithDirtyActionTest {
|
||||
public class KonamCheatWithDirtyActionIntegrationTest {
|
||||
|
||||
private KonamiCodeConstructorDependencySteps cheatSteps;
|
||||
|
@ -19,7 +19,7 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
@RunWith(SerenityRunner.class)
|
||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
@ContextConfiguration(classes = KonamiCodeService.class)
|
||||
public class KonamCheatWithDirtyActionWithImplicitInjectionTest {
|
||||
public class KonamCheatWithDirtyActionWithImplicitInjectionIntegrationTest {
|
||||
|
||||
@Steps private KonamiCodeServiceInjectionSteps cheatSteps;
|
||||
|
@ -11,7 +11,7 @@ import org.junit.runner.RunWith;
|
||||
* @author aiet
|
||||
*/
|
||||
@RunWith(SerenityRunner.class)
|
||||
public class KonamCheatWithServiceTest {
|
||||
public class KonamCheatWithServiceIntegrationTest {
|
||||
|
||||
@Steps private KonamiCodeServiceInjectionSteps cheatSteps;
|
||||
|
@ -17,9 +17,9 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
*/
|
||||
@RunWith(SerenityRunner.class)
|
||||
@ContextConfiguration(locations = "classpath:konami-cheat-beans.xml")
|
||||
public class KonamiCheatWithIntegrationMethodRulesTest {
|
||||
public class KonamiCheatWithIntegrationMethodRulesIntegrationTest {
|
||||
|
||||
private static Logger LOG = LoggerFactory.getLogger(KonamiCheatWithIntegrationMethodRulesTest.class);
|
||||
private static Logger LOG = LoggerFactory.getLogger(KonamiCheatWithIntegrationMethodRulesIntegrationTest.class);
|
||||
|
||||
@BeforeClass
|
||||
public static void initClass() {
|
@ -16,9 +16,9 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
*/
|
||||
@RunWith(SpringIntegrationSerenityRunner.class)
|
||||
@ContextConfiguration(locations = "classpath:konami-cheat-beans.xml")
|
||||
public class KonamiCheatWithIntegrationRunnerTest {
|
||||
public class KonamiCheatWithIntegrationRunnerIntegrationTest {
|
||||
|
||||
private static Logger LOG = LoggerFactory.getLogger(KonamiCheatWithIntegrationRunnerTest.class);
|
||||
private static Logger LOG = LoggerFactory.getLogger(KonamiCheatWithIntegrationRunnerIntegrationTest.class);
|
||||
|
||||
@BeforeClass
|
||||
public static void initClass() {
|
@ -12,7 +12,7 @@ import org.junit.runner.RunWith;
|
||||
* @author aiet
|
||||
*/
|
||||
@RunWith(SerenityRunner.class)
|
||||
public class KonamiCodeMockMvcTest {
|
||||
public class KonamiCodeMockMvcIntegrationTest {
|
||||
|
||||
@Before
|
||||
public void init() {
|
@ -6,7 +6,7 @@ import org.junit.Test;
|
||||
|
||||
import com.codahale.metrics.*;
|
||||
|
||||
public class ReporterTest {
|
||||
public class ReporterIntegrationTest {
|
||||
@Test
|
||||
public void whenConsoleReporter_thenOutputReport() {
|
||||
MetricRegistry metricRegistry = new MetricRegistry();
|
@ -13,7 +13,7 @@ import java.util.Random;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class ProtobufTest {
|
||||
public class ProtobufUnitTest {
|
||||
private final String filePath = "address_book";
|
||||
|
||||
@After
|
@ -20,7 +20,7 @@ import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
|
||||
import static com.github.tomakehurst.wiremock.client.WireMock.verify;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class ProgrammaticallyManaged {
|
||||
public class ProgrammaticallyManagedLiveTest {
|
||||
|
||||
private static final String BAELDUNG_PATH = "/baeldung";
|
||||
|
@ -13,7 +13,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
public class RxJavaTesting {
|
||||
public class RxJavaUnitTest {
|
||||
@Test
|
||||
public void givenObservable_whenZip_shouldAssertBlockingInASameThread() {
|
||||
// given
|
@ -6,7 +6,7 @@ import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.support.AbstractApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
|
||||
public class ScopesTest {
|
||||
public class ScopesIntegrationTest {
|
||||
|
||||
private static final String NAME = "John Smith";
|
||||
private static final String NAME_OTHER = "Anna Jones";
|
Loading…
x
Reference in New Issue
Block a user