Stef Tervelde
9507241723
Update bug1532 test and resource file
...
Adjusted expected exception position in ParserTests for bug1532 and removed QuickTime session initialization from bug1532.pde to reflect updated test requirements.
2025-09-12 07:46:40 +02:00
josh giesbrecht
22dde0fb96
refactoring SketchException to app:utils
2025-07-31 16:02:48 -07:00
Stef Tervelde
a5985c318f
Re-enable fullscreen test
2025-01-09 21:45:51 +01:00
Stef Tervelde
adf88f6c51
Fixed the tests
2024-12-09 15:50:21 +01:00
Stef Tervelde
86f0d85e56
Added tests
2024-12-09 15:10:38 +01:00
WillRabalais04
757a250aa3
Updated one-dimensional array test case
2023-06-05 18:54:51 +02:00
A Samuel Pottinger
0987f67fc9
Clarify unneeded section.
2023-05-10 14:01:46 +00:00
A Samuel Pottinger
674cfe0766
Add test for failsafe.
2023-05-09 18:41:36 +00:00
A Samuel Pottinger
cd313c6138
Add test to describe null on #713 .
2023-05-09 18:26:15 +00:00
A Samuel Pottinger
2fdd3e5f36
Refactor to regex and tests.
...
Closes Debugger lists immediate array dimension last #606 .
2023-05-09 18:12:27 +00:00
Ben Fry
859984b277
Merge pull request #622 from processing/preproc-annotations-fix
2023-01-09 21:39:03 -05:00
A Samuel Pottinger
bf973e6c02
Update tests for #635 .
2023-01-10 02:25:04 +00:00
A Samuel Pottinger
c211eb133e
Fix #619
2022-12-10 17:31:38 +00:00
A Samuel Pottinger
b59ad67181
Add failing test to address #619
2022-12-10 17:21:03 +00:00
A Samuel Pottinger
c6f9b6f626
Fix leading space.
2022-11-27 19:56:35 +00:00
A Samuel Pottinger
690d7c5961
Add test for #607
2022-11-27 19:42:26 +00:00
A Samuel Pottinger
8d6d942c12
Fix tests.
2022-11-27 19:21:52 +00:00
A Samuel Pottinger
54426cb8a7
Fix size call with equation.
2022-11-27 19:04:56 +00:00
A Samuel Pottinger
1ca265aa43
Fix code sniff for java mode.
2022-11-12 17:54:18 +00:00
A Samuel Pottinger
9ea128cc21
Add failing test for static mode class defintion.
2022-11-12 17:30:06 +00:00
A Samuel Pottinger
9b19e4add9
Clean up tests prior to addressing #579 .
2022-11-12 17:17:41 +00:00
A Pottinger
ece11f9345
Fix #488 .
...
Clean up the footer writer section of the preprocessor for easier reading but also fix adding and looking for --full-screen which appears to have been left off at some point.
2022-06-21 08:34:44 -07:00
A Pottinger
0a848442d5
Add test for multiline strings in classes just to be safe.
...
Though the test isn't broken, just adding a multiline string within a class test case just out of an abundance of caution.
2022-02-10 08:56:15 -08:00
A Pottinger
4ffd2e5898
Add variable modifier to multi-multiline string test.
2022-02-10 08:52:08 -08:00
A Pottinger
3c59e3694c
Fix for new test.
2022-02-10 08:46:53 -08:00
A Pottinger
18e1d567b6
Fix greedy multi-line string rule.
...
Single character fix which adds test for and closes #398 by making the rule non-greedy.
2022-02-10 08:43:24 -08:00
A Pottinger
7bc308e10e
Add a test for no arg full screen.
2022-02-03 08:59:56 -08:00
A Pottinger
477508a971
Resolves preproc issue related to #352 .
2022-02-03 08:57:37 -08:00
A Pottinger
220061ff3d
Add new preproc test resources related to #352 .
2022-02-03 08:56:11 -08:00
A Pottinger
63b8aa5753
Add failing test for #352 .
...
It appears that the preproc is only bringing in the first arg in rewrite and this commit adds a test to check that other arguments also come over.
2022-02-03 08:47:01 -08:00
A Pottinger
b66c5f2487
Closes #371 : Mutli-line string support.
...
Offers support for multi-line strings with a flag to simulate the feature prior to switching to Java 17 build flags. Note that comments are left in (TODOs) where the switch would be required to support it "natively".
2022-01-29 16:14:04 -08:00
A Pottinger
30cee886da
Closes #317 : Preproc behavior when size defined in user class.
...
Though this was already fixed, just adding a test to confirm that it stays fixed. Need to respect calls to user-definined size methods including those defined in user-made classes.
2022-01-29 15:19:01 -08:00
A Pottinger
c7d6cba2a8
Added unit test file for resolution of mixing modes error.
2022-01-29 15:15:41 -08:00
A Pottinger
0f9b290398
Closes #290 : Support detection of mixed modes in preproc.
...
Make a more friendly error message when the user is mixing modes, allowing for localization of error.
2022-01-29 15:08:14 -08:00
A Pottinger
8e9c864031
Detect if calling special methods on the PApplet or not.
2021-10-10 11:52:40 -07:00
A Pottinger
5d56e43a7d
Get the tests runnable again.
2021-10-10 11:30:24 -07:00
A Pottinger
02c8fec0d5
Expand color import test.
2021-08-11 08:48:28 -07:00
A Pottinger
809d460f44
Resolves #240 through grammar.
...
It's not the cleanest solution but I don't see too many alternatives. Modify grammar to explicitly allow the color literal to appear in fully qualified name.
2021-08-11 08:45:19 -07:00
A Pottinger
ba43e4d41d
Added test for color appearing in import statement.
2021-08-11 08:28:02 -07:00
A Pottinger
d30d34c00b
Added test for smooth on static for good measure.
2020-11-21 12:08:10 -08:00
A Pottinger
721046b593
Finish fix of preproc handeling of smooth.
...
Fixes #149 as reported by @benfry.
2020-11-21 11:59:25 -08:00
A Pottinger
c41e4d24ad
Fixed preproc of noSmooth as part of #149 .
2020-11-21 10:41:14 -08:00
A Pottinger
3e7aab9556
Added tests for smooth and noSmooth for preproc.
...
In response to https://github.com/processing/processing4/issues/149 ,
adding tests to catch issues with smooth and noSmooth in the
preprocessor. Issue found by @benfry.
2020-11-21 10:15:37 -08:00
Sam Pottinger
ab6c9931f9
Move PdePreprocessIssueException to test.
2020-09-25 11:53:17 -07:00
Ben Fry
e89d5d6a5c
Merge pull request #103 from processing/text_resize_fix
2020-08-15 09:02:58 -04:00
A Pottinger
bc434fce0b
Insert int after color instead of before to allow visiblity modifier.
2020-06-29 15:17:44 -07:00
A Pottinger
2e3f573ef8
Allow for emulated Preferences in testing.
2020-06-29 14:42:39 -07:00
A Pottinger
e543edce99
Refactor out preproc.issue.
...
Removed the preproc.issue package by relocating supporting classes for PreprocessIssueMessageSimplifier and PdeIssueEmitter as inner classes. This assists with https://github.com/processing/processing4/issues/10 .
2020-04-26 09:51:31 -07:00
A Pottinger
45ee436670
Resolved broken tests.
2020-04-20 09:11:36 -07:00
Sam Pottinger
6fe274f89b
Resolve PDF renderer parse issue in preproc.
...
Resolve moving the PDF renderer information provided in size into settings as part of preproc. Resolves #66 .
2020-01-21 17:15:57 -08:00