Skip to content

A1: Expand assertions in NumberUtilsTest #489

@LSantha

Description

@LSantha

Goal

Expand assertions in NumberUtilsTest to cover all 26 test methods.

Source Under Test

  • File: core/src/core/org/jnode/util/NumberUtils.java
  • Class: org.jnode.util.NumberUtils
  • Purpose: Number parsing and formatting utilities

Current State

  • Test file: core/src/test/org/jnode/test/util/NumberUtilsTest.java
  • Type: JUnit4
  • Quality: low-assertion-density (26 methods, 14 assertions)
  • Requires JNode: No (host JDK runnable)

Approach

  1. Add assertions for all 26 test methods covering parseInt, parseLong, parseDouble, formatNumber, isNumber
  2. 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