Fix test names (#1853)

* 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 83bf1f9fd2.

* 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
This commit is contained in:
Doha2012
2017-05-15 18:35:14 +02:00
committed by Eugen
parent 5a58aacb8f
commit 48cd6f876f
369 changed files with 405 additions and 405 deletions

View File

@@ -8,7 +8,7 @@ import java.lang.reflect.Method;
import static junit.framework.TestCase.assertEquals;
public class BeanGeneratorTest {
public class BeanGeneratorIntegrationTest {
@Test
public void givenBeanCreator_whenAddProperty_thenClassShouldHaveFieldValue() throws Exception {

View File

@@ -6,7 +6,7 @@ import org.junit.Test;
import static junit.framework.TestCase.assertEquals;
public class MixinTest {
public class MixinUnitTest {
@Test
public void givenTwoClasses_whenMixedIntoOne_thenMixinShouldHaveMethodsFromBothClasses() throws Exception {

View File

@@ -5,7 +5,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertArrayEquals;
public class ArrayUtilsTest {
public class ArrayUtilsUnitTest {
@Test
public void givenArray_whenAddingElementAtSpecifiedPosition_thenCorrect() {
int[] oldArray = { 2, 3, 4, 5 };

View File

@@ -6,7 +6,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
public class StringUtilsTest {
public class StringUtilsUnitTest {
@Test
public void givenString_whenCheckingContainsAny_thenCorrect() {
String string = "baeldung.com";

View File

@@ -4,7 +4,7 @@ import org.apache.commons.math3.complex.Complex;
import org.junit.Assert;
import org.junit.Test;
public class ComplexTests {
public class ComplexUnitTest {
@Test
public void whenComplexPow_thenCorrect() {

View File

@@ -4,7 +4,7 @@ import org.apache.commons.math3.fraction.Fraction;
import org.junit.Assert;
import org.junit.Test;
public class FractionTests {
public class FractionUnitTest {
@Test
public void whenFractionAdd_thenCorrect() {

View File

@@ -5,7 +5,7 @@ import org.apache.commons.math3.geometry.euclidean.twod.Vector2D;
import org.junit.Assert;
import org.junit.Test;
public class GeometryTests {
public class GeometryUnitTest {
@Test
public void whenLineIntersection_thenCorrect() {

View File

@@ -6,7 +6,7 @@ import org.apache.commons.math3.analysis.integration.UnivariateIntegrator;
import org.junit.Assert;
import org.junit.Test;
public class IntegrationTests {
public class IntegrationTest {
@Test
public void whenUnivariateIntegratorIntegrate_thenCorrect() {

View File

@@ -4,7 +4,7 @@ import org.apache.commons.math3.linear.*;
import org.junit.Assert;
import org.junit.Test;
public class LinearAlgebraTests {
public class LinearAlgebraUnitTest {
@Test
public void whenDecompositionSolverSolve_thenCorrect() {

View File

@@ -3,7 +3,7 @@ package com.baeldung.commons.math;
import org.apache.commons.math3.distribution.NormalDistribution;
import org.junit.Test;
public class ProbabilitiesTests {
public class ProbabilitiesUnitTest {
@Test
public void whenNormalDistributionSample_thenSuccess() {

View File

@@ -5,7 +5,7 @@ import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class StatisticsTests {
public class StatisticsUnitTest {
private double[] values;
private DescriptiveStatistics descriptiveStatistics;

View File

@@ -11,7 +11,7 @@ import org.junit.Test;
import static junit.framework.Assert.*;
import static junit.framework.TestCase.assertEquals;
public class JasyptTest {
public class JasyptUnitTest {
@Test
public void givenTextPrivateData_whenDecrypt_thenCompareToEncrypted() {

View File

@@ -22,7 +22,7 @@ import java.util.stream.Stream;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class JavasisstTest {
public class JavasisstUnitTest {
@Test
public void givenJavasisstAPI_whenConstructClass_thenGenerateAClassFile() throws CannotCompileException, IOException, ClassNotFoundException, IllegalAccessException, InstantiationException {
//given

View File

@@ -13,7 +13,7 @@ import org.javatuples.Triplet;
import org.javatuples.Unit;
import org.junit.Test;
public class JavaTuplesTest {
public class JavaTuplesUnitTest {
@SuppressWarnings("unused")
@Test

View File

@@ -17,7 +17,7 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class JaversTest {
public class JaversUnitTest {
@Test
public void givenPersonObject_whenApplyModificationOnIt_thenShouldDetectChange() {

View File

@@ -13,7 +13,7 @@ import org.skyscreamer.jsonassert.RegularExpressionValueMatcher;
import org.skyscreamer.jsonassert.comparator.ArraySizeComparator;
import org.skyscreamer.jsonassert.comparator.CustomComparator;
public class JsonAssertTest {
public class JsonAssertUnitTest {
@Test
public void givenLenientode_whenAssertEqualsSameJsonString_thenPass() throws JSONException {