Skip to content

A10: Convert DoubleTest to JUnit4 host-runnable #498

@LSantha

Description

@LSantha

Goal

Create JUnit4 host-runnable test for double arithmetic.

Source Under Test

  • File: JVM double arithmetic
  • Class: java.lang.Double, java.lang.Math
  • Purpose: Verify double behavior

Current State

  • Test file: core/src/test/org/jnode/test/DoubleTest.java
  • Type: Other/Manual
  • Quality: no-tests (0 methods, 0 assertions)
  • Requires JNode: No (host JDK runnable)

Approach

  1. Create JUnit4 test for double: NaN, infinity, comparison, arithmetic, Math functions, Double.doubleToLongBits, longBitsToDouble
  2. Add to CoreTestSuite
  3. Verify test compiles and passes

Acceptance Criteria

  • Test class compiles
  • sh build.sh tests exits 0
  • JUnit XML report contains the test
  • QEMU boot test passes
  • PR opened against master

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/failedThe agent exhausted its retries without producing a result.area/corecore/ — VM, kernel, scheduler, classmgr, drivers.area/testUnit tests, boot tests, QEMU test infrastructure.kind/featureNew feature or enhancement request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions