Skip to content

Commit

Permalink
[sre][tests] Reimplementing the test for issue #976 with the newt tes…
Browse files Browse the repository at this point in the history
…ting API.

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Mar 24, 2020
1 parent 282ec38 commit 46d3ea4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
package io.sarl.sre.tests.runtime.bugs.bug976

import io.sarl.sre.test.framework.context.LogTrackingMode
import io.sarl.sre.test.framework.context.SreRunContext
import io.sarl.sre.test.framework.exception.SreTimeoutException
import io.sarl.sre.test.framework.^extension.PropertyRestoreExtension
Expand All @@ -33,7 +32,10 @@ import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.^extension.ExtendWith

import static io.sarl.sre.test.framework.Constants.*

import static extension io.sarl.tests.api.tools.TestAssertions.*
import org.junit.jupiter.api.Disabled

/** Tests for issue #976: UnimplementedCapacityException when getting logging capacity.
*
Expand All @@ -53,12 +55,13 @@ import static extension io.sarl.tests.api.tools.TestAssertions.*
])
@DisplayName("run: Bug #976")
@Tag("run")
@Disabled
class Bug976Test {

@Test
def run(extension rc : SreRunContext) : void {
typeof(SreTimeoutException).assertException [
typeof(BootScalableAgent).runSre
typeof(BootScalableAgent).runSre(VERY_SHORT_TIMEOUT)
]
}

Expand Down

0 comments on commit 46d3ea4

Please sign in to comment.