Skip to content

Commit

Permalink
reenable octave tests
Browse files Browse the repository at this point in the history
turns out it was a bug on my local machine
  • Loading branch information
daemontus committed Nov 25, 2016
1 parent fe023c6 commit 5a3405a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
*/
public class TestLorenz84Oscilation extends ParasimTest {

@Test(enabled = false)
@Test
public void testSimple() throws IOException, InterruptedException, ExecutionException, TimeoutException {
Experiment experiment = loadExperiment();
Point initialPoint = new ArrayPoint(0f, 0f, 0f, 0f, 1.75f, 0.5625f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
*/
public class TestValidityRegionsComputation extends ParasimTest {

@Test(enabled = false)
@Test
public void testComputation() throws ExecutionException, InterruptedException, TimeoutException {
ValidityRegionsComputation computation = new ValidityRegionsComputation(createOdeSystem(), createPrecisionConfiguration(), createSimulationSpace(), createInitialSpace(), createFutureFormula(-1f), 0);
ComputationContainer container = getManager().resolve(ComputationContainer.class, Default.class);
Expand Down
2 changes: 1 addition & 1 deletion benchmark/benchmarks-simple.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
parasim-shared-1:lotkav-common
parasim-shared-4:lotkav-common
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void testDependencyInOneExtension() {
Assert.assertEquals(getManager().resolve(String.class, Default.class), DependencyExtension2.TO_RETURN);
}

// FIXME: 25/11/2016
@Test(enabled = false)
public void testDependencyInMoreExtensions() {
Assert.assertNotNull(getManager().resolve(String.class, DependentQualifier.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ public class TestSimulationWithLsode extends AbstractAdaptiveStepSimulationTest

private static final SimulationEngineFactory ENGINE_FACTORY = new LsodeEngineFactory(LsodeEngineFactory.IntegrationMethod.NONSTIFF);

@Test(enabled = false)
@Test
public void testTimeStep() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testTimeStep(10, 10);
}

@Test(enabled = false)
@Test
public void testMinimalNumberOfPoints() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testMinimalNumberOfPoints(10, 10);
}

@Test(enabled = false)
@Test
public void testValidNumberOfTrajectories() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testValidNumberOfTrajectories(10, 10);
}

@Test(enabled = false)
@Test
public void testParameters() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ public class TestSimulationWithOders extends AbstractAdaptiveStepSimulationTest

private static final SimulationEngineFactory ENGINE_FACTORY = OdePkgEngineFactory.ODERS;

@Test(enabled = false)
@Test
public void testTimeStep() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testTimeStep(10, 10);
}

@Test(enabled = false)
@Test
public void testMinimalNumberOfPoints() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testMinimalNumberOfPoints(10, 10);
}

@Test(enabled = false)
@Test
public void testValidNumberOfTrajectories() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
}
super.testValidNumberOfTrajectories(10, 10);
}

@Test(enabled = false)
@Test
public void testParameters() {
if (!ENGINE_FACTORY.isAvailable()) {
throw new SkipException("The Octave is not available.");
Expand Down

0 comments on commit 5a3405a

Please sign in to comment.