Skip to content

Failing terminal tests in I-Build #2412

@HeikoKlare

Description

@HeikoKlare

Several (175) terminal tests are failing in I-Build test execution because they are expected to be run with assertions enabled, but the Ant-based execution does not seem to do that by default:

No Assertions! Run this code with assertions enabled! (vmargs: -ea)

java.lang.Error: No Assertions! Run this code with assertions enabled! (vmargs: -ea)
at org.eclipse.terminal.internal.model.AbstractITerminalTextDataTest.setUp(AbstractITerminalTextDataTest.java:34)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

It affects every test class derived from AbstractITerminalTextDataTest.

See, e.g., https://download.eclipse.org/eclipse/downloads/drops4/I20260106-1800/testresults/html/org.eclipse.terminal.test_ep439I-unit-win32-x86_64-java21_win32.win32.x86_64_21.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    testjunit test related things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions