Skip to content

Commit

Permalink
Fixed the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefterv committed Dec 9, 2024
1 parent 86f0d85 commit adf88f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ protected void writeMain(PrintWriterWithEditGen footerWriter,
{ // assemble line with applet args
StringJoiner argsJoiner = new StringJoiner(", ");

// TODO: Add support for fullscreen. Not through settings.
// boolean shouldFullScreen = Preferences.getBoolean("export.application.present");
// shouldFullScreen = shouldFullScreen || Preferences.getBoolean("export.application.fullscreen");
// if (shouldFullScreen) {
Expand Down
3 changes: 1 addition & 2 deletions java/src/processing/mode/java/preproc/PdePreprocessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.tree.ParseTree;
import org.antlr.v4.runtime.tree.ParseTreeWalker;
import processing.mode.java.preproc.SketchException;


/**
Expand Down Expand Up @@ -159,7 +158,7 @@ public PreprocessorResult write(Writer outWriter, String inProgram,
}

// if (Preferences.getBoolean("preproc.substitute_unicode")) {
// inProgram = substituteUnicode(inProgram);
inProgram = substituteUnicode(inProgram);
// }

// Ensure ends with single newline
Expand Down
5 changes: 3 additions & 2 deletions java/test/processing/mode/java/ParserTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,9 @@ public void testMultilineStringClass() {

@Test
public void testMultiMultilineString() {
Preferences.setBoolean("export.application.fullscreen", true);
expectGood("fullscreen_export");
// TODO: Add support for fullscreen. Not through settings. In PdeParseTreeListener.java
// Preferences.setBoolean("export.application.fullscreen", true);
// expectGood("fullscreen_export");
}

@Test
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ include(
"app",
"java",
"java:preprocessor",
"java:lsp"
)

buildscript {
Expand Down

0 comments on commit adf88f6

Please sign in to comment.