Skip to content

Commit

Permalink
fix test names (eugenp#1865)
Browse files Browse the repository at this point in the history
* 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 83bf1f9.

* 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
  • Loading branch information
Doha2012 authored and Eugen committed May 16, 2017
1 parent 9e644af commit 91be1ea
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.stream.LongStream;
import java.util.stream.Stream;

public class GuavaStreamsTests {
public class GuavaStreamsUnitTest {

List<Integer> numbers;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
**/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = GatewayApp.class)
public class ProfileInfoResourceIntTest {
public class ProfileInfoResourceIntegrationTest {

@Mock
private Environment environment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
**/
@RunWith(SpringRunner.class)
@SpringBootTest(classes = BaeldungApp.class)
public class ProfileInfoResourceIntTest {
public class ProfileInfoResourceIntegrationTest {

@Mock
private Environment environment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import static org.junit.Assert.assertEquals;

public class ProxyTest {
public class ProxyIntegrationTest {
@Test
public void givenPersonService_whenSayHello_thenReturnResult() {
//given
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.junit.Assert;
import org.junit.Test;

public class RootFindingTests {
public class RootFindingUnitTest {

@Test
public void whenUnivariateSolverSolver_thenCorrect() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import static org.junit.Assert.assertEquals;

public class HikariCPTest {
public class HikariCPUnitTest {

@Test
@Ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

@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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@RunWith(SerenityRunner.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@ContextConfiguration(classes = KonamiCodeService.class)
public class KonamCheatWithDirtyActionTest {
public class KonamCheatWithDirtyActionIntegrationTest {

private KonamiCodeConstructorDependencySteps cheatSteps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@RunWith(SerenityRunner.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@ContextConfiguration(classes = KonamiCodeService.class)
public class KonamCheatWithDirtyActionWithImplicitInjectionTest {
public class KonamCheatWithDirtyActionWithImplicitInjectionIntegrationTest {

@Steps private KonamiCodeServiceInjectionSteps cheatSteps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author aiet
*/
@RunWith(SerenityRunner.class)
public class KonamCheatWithServiceTest {
public class KonamCheatWithServiceIntegrationTest {

@Steps private KonamiCodeServiceInjectionSteps cheatSteps;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/
@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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
*/
@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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @author aiet
*/
@RunWith(SerenityRunner.class)
public class KonamiCodeMockMvcTest {
public class KonamiCodeMockMvcIntegrationTest {

@Before
public void init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import com.codahale.metrics.*;

public class ReporterTest {
public class ReporterIntegrationTest {
@Test
public void whenConsoleReporter_thenOutputReport() {
MetricRegistry metricRegistry = new MetricRegistry();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import static org.junit.Assert.assertEquals;

public class ProtobufTest {
public class ProtobufUnitTest {
private final String filePath = "address_book";

@After
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assertThat;

public class RxJavaTesting {
public class RxJavaUnitTest {
@Test
public void givenObservable_whenZip_shouldAssertBlockingInASameThread() {
// given
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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";
Expand Down

0 comments on commit 91be1ea

Please sign in to comment.