GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add unit tests for PGraphics setSize() in core module · Issue #1488 · processing/processing4

Add unit tests for PGraphics setSize() in core module #1488

New issue
Copy link
New issue
Copy link
Closed
#1462
Closed
Add unit tests for PGraphics setSize() in core module#1488
#1462
Copy link
Assignees
catilacaakritithecoder
Labels
enhancementNew feature or requestNew feature or request

Description

@aakritithecoder
aakritithecoder
opened on Mar 23, 2026
Issue body actions

Most relevant area for this enhancement?

Unit testing

Feature to enhance

PGraphics unit testing in core module

Enhancement details

Enhancement description

Add a PGraphicsTests.java file under core/test/processing/core/
that verifies PGraphics correctly initializes width and height
when setSize() is called.

Benefits

Prevents silent regressions in canvas setup logic. Ensures that
PGraphics behaves as expected during initialization, making the
codebase more reliable for contributors and maintainers.

Challenges

Ensuring the test integrates with the existing test infrastructure
and runs correctly both locally and in CI/CD.

Additional context

This test was written as part of extending the Processing4 test
suite. Related PR: #1462

Would you like to help implement this enhancement?

No, I’m just suggesting the enhancement

Activity

  1. aakritithecoder
    added
    enhancementNew feature or requestNew feature or request
    on Mar 23, 2026
  2. aakritithecoder
    closed this as completedon Mar 25, 2026
  3. catilac
    assigned
    catilac
    and
    aakritithecoder
    on Apr 28, 2026
  4. catilac
    reopened this on Apr 28, 2026
  5. catilac commented on Apr 28, 2026

    @catilac
    catilac
    on Apr 28, 2026
    Collaborator
    More actions

    Reopening because merging the PR should close this.

  6. catilac
    closed this as completedin #1462on Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @aakritithecoder
    aakritithecoder
  • @catilac
    catilac

Labels

enhancementNew feature or requestNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.