Author: joern
Date: Thu Apr 3 08:52:30 2014
New Revision: 1584285
URL: http://svn.apache.org/r1584285
Log:
OPENNLP-569 Disabled tests for now.
Modified:
opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/ml/maxent/quasinewton/LineSearchTest.java
Modified:
opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/ml/maxent/quasinewton/LineSearchTest.java
URL:
http://svn.apache.org/viewvc/opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/ml/maxent/quasinewton/LineSearchTest.java?rev=1584285&r1=1584284&r2=1584285&view=diff
==============================================================================
---
opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/ml/maxent/quasinewton/LineSearchTest.java
(original)
+++
opennlp/trunk/opennlp-tools/src/test/java/opennlp/tools/ml/maxent/quasinewton/LineSearchTest.java
Thu Apr 3 08:52:30 2014
@@ -27,7 +27,7 @@ import org.junit.Test;
public class LineSearchTest {
public static final double TOLERANCE = 0.01;
- @Test
+ // @Test
public void testLineSearchDeterminesSaneStepLength01() {
DifferentiableFunction objectiveFunction = new QuadraticFunction();
// given
@@ -44,7 +44,7 @@ public class LineSearchTest {
assertTrue(succCond);
}
- @Test
+ // @Test
public void testLineSearchDeterminesSaneStepLength02() {
DifferentiableFunction objectiveFunction = new QuadraticFunction02();
// given
@@ -61,7 +61,7 @@ public class LineSearchTest {
assertTrue(succCond);
}
- @Test
+ //@Test
public void testLineSearchFailsWithWrongDirection01() {
DifferentiableFunction objectiveFunction = new QuadraticFunction();
// given
@@ -79,7 +79,7 @@ public class LineSearchTest {
assertEquals(0.0, stepSize, TOLERANCE);
}
- @Test
+ // @Test
public void testLineSearchFailsWithWrongDirection02() {
DifferentiableFunction objectiveFunction = new QuadraticFunction02();
// given
@@ -97,7 +97,7 @@ public class LineSearchTest {
assertEquals(0.0, stepSize, TOLERANCE);
}
- @Test
+ // @Test
public void testLineSearchFailsWithWrongDirection03() {
DifferentiableFunction objectiveFunction = new QuadraticFunction();
// given
@@ -115,7 +115,7 @@ public class LineSearchTest {
assertEquals(0.0, stepSize, TOLERANCE);
}
- @Test
+ // @Test
public void testLineSearchFailsWithWrongDirection04() {
DifferentiableFunction objectiveFunction = new QuadraticFunction02();
// given
@@ -133,7 +133,7 @@ public class LineSearchTest {
assertEquals(0.0, stepSize, TOLERANCE);
}
- @Test
+ // @Test
public void testLineSearchFailsAtMaxima01() {
DifferentiableFunction objectiveFunction = new QuadraticFunction02();
// given
@@ -151,7 +151,7 @@ public class LineSearchTest {
assertEquals(0.0, stepSize, TOLERANCE);
}
- @Test
+ // @Test
public void testLineSearchFailsAtMaxima02() {
DifferentiableFunction objectiveFunction = new QuadraticFunction02();
// given