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 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
This commit is contained in:
+1
-1
@@ -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 };
|
||||
+1
-1
@@ -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";
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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() {
|
||||
+1
-1
@@ -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;
|
||||
Reference in New Issue
Block a user