Title: Add unit tests for PGraphics setSize() in core module · Issue #1488 · processing/processing4 · GitHub
Open Graph Title: Add unit tests for PGraphics setSize() in core module · Issue #1488 · processing/processing4
X Title: Add unit tests for PGraphics setSize() in core module · Issue #1488 · processing/processing4
Description: 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 PGra...
Open Graph Description: 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/...
X Description: 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/...
Opengraph URL: https://github.com/processing/processing4/issues/1488
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add unit tests for PGraphics setSize() in core module","articleBody":"### Most relevant area for this enhancement?\n\nUnit testing\n\n### Feature to enhance\n\nPGraphics unit testing in core module\n\n### Enhancement details\n\n#### Enhancement description\nAdd a PGraphicsTests.java file under core/test/processing/core/ \nthat verifies PGraphics correctly initializes width and height \nwhen setSize() is called.\n\n#### Benefits\nPrevents silent regressions in canvas setup logic. Ensures that \nPGraphics behaves as expected during initialization, making the \ncodebase more reliable for contributors and maintainers.\n\n#### Challenges\nEnsuring the test integrates with the existing test infrastructure \nand runs correctly both locally and in CI/CD.\n\n#### Additional context\nThis test was written as part of extending the Processing4 test \nsuite. Related PR: #1462 \n\n\n### Would you like to help implement this enhancement?\n\nNo, I’m just suggesting the enhancement","author":{"url":"https://github.com/aakritithecoder","@type":"Person","name":"aakritithecoder"},"datePublished":"2026-03-23T19:48:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1488/processing4/issues/1488"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f3563180-7a8f-f574-3539-606953b443cb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED52:FD1F4:409790:5D1C06:6A61CB58 |
| html-safe-nonce | 9b60c9998c62bafc69ad95c57dffd8f2f6c341d64121a2833cfa5a7a46108df6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDUyOkZEMUY0OjQwOTc5MDo1RDFDMDY6NkE2MUNCNTgiLCJ2aXNpdG9yX2lkIjoiODI0MzQ0ODM1OTI2NjkyOTQ5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2f78e7deeadfe31c2113ff1ccdb818861c47f1dec44fe169d0cef1bfd4628e8 |
| hovercard-subject-tag | issue:4123311072 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1488/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0a6c46bbfe33e4809d00962b2aba83cb8bf224b692ffb91ba443252e08895630/processing/processing4/issues/1488 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a6c46bbfe33e4809d00962b2aba83cb8bf224b692ffb91ba443252e08895630/processing/processing4/issues/1488 |
| og:image:alt | 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/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aakritithecoder |
| hostname | github.com |
| expected-hostname | github.com |
| None | b2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1866027ded575df8a15c731dd8b9986c9483ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width