Skip to content

Commit

Permalink
Add issue reference to skipped unit tests (suggested by "sonarcloud").
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Sadowski committed Jul 16, 2021
1 parent dcf83c0 commit fb283c8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Expand Up @@ -145,7 +145,7 @@ public void testRosen() {
1e-4);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testEllipse() {
doTest(new OptimTestUtils.Elli(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -155,7 +155,7 @@ public void testEllipse() {
1e-9);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testElliRotated() {
doTest(new OptimTestUtils.ElliRotated(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -175,7 +175,7 @@ public void testCigar() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testTwoAxes() {
doTest(new OptimTestUtils.TwoAxes(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -185,7 +185,7 @@ public void testTwoAxes() {
1e-12);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testCigTab() {
doTest(new OptimTestUtils.CigTab(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -205,7 +205,7 @@ public void testSphere() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testTablet() {
doTest(new OptimTestUtils.Tablet(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -215,7 +215,7 @@ public void testTablet() {
1e-9);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testDiffPow() {
doTest(new OptimTestUtils.DiffPow(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -235,7 +235,7 @@ public void testSsDiffPow() {
1e-3);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testAckley() {
doTest(new OptimTestUtils.Ackley(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -245,7 +245,7 @@ public void testAckley() {
1e-11);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testRastrigin() {
doTest(new OptimTestUtils.Rastrigin(),
OptimTestUtils.point(DIM, 1.0, 2e-1),
Expand Down
Expand Up @@ -230,7 +230,7 @@ public void testRosen() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testEllipse() {
doTest(new OptimTestUtils.Elli(),
OptimTestUtils.point(DIM, 1.0, 2e-1),
Expand All @@ -240,7 +240,7 @@ public void testEllipse() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testElliRotated() {
doTest(new OptimTestUtils.ElliRotated(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -260,7 +260,7 @@ public void testCigar() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testTwoAxes() {
doTest(new OptimTestUtils.TwoAxes(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -270,7 +270,7 @@ public void testTwoAxes() {
1e-14);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testCigTab() {
doTest(new OptimTestUtils.CigTab(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -290,7 +290,7 @@ public void testSphere() {
1e-6);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testTablet() {
doTest(new OptimTestUtils.Tablet(),
OptimTestUtils.point(DIM, 1.0, 1e-1),
Expand All @@ -300,7 +300,7 @@ public void testTablet() {
1e-14);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testDiffPow() {
doTest(new OptimTestUtils.DiffPow(),
OptimTestUtils.point(DIM, 1.0, 2e-1),
Expand All @@ -320,7 +320,7 @@ public void testSsDiffPow() {
1e-3);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testAckley() {
doTest(new OptimTestUtils.Ackley(),
OptimTestUtils.point(DIM, 1.0, 2e-1),
Expand All @@ -330,7 +330,7 @@ public void testAckley() {
1e-11);
}

@Ignore@Test
@Ignore("See MATH-1552")@Test
public void testRastrigin() {
doTest(new OptimTestUtils.Rastrigin(),
OptimTestUtils.point(DIM, 1.0, 2e-1),
Expand Down

0 comments on commit fb283c8

Please sign in to comment.