MCPcopy
hub / github.com/arduino/Arduino / handleRun

Method handleRun

app/src/processing/app/Editor.java:1592–1594  ·  view source on GitHub ↗

Implements Sketch → Run. @param verbose Set true to run with verbose output. @param verboseHandler @param nonVerboseHandler

(final boolean verbose, Runnable verboseHandler, Runnable nonVerboseHandler)

Source from the content-addressed store, hash-verified

1590 * @param nonVerboseHandler
1591 */
1592 public void handleRun(final boolean verbose, Runnable verboseHandler, Runnable nonVerboseHandler) {
1593 handleRun(verbose, new ShouldSaveIfModified(), verboseHandler, nonVerboseHandler);
1594 }
1595
1596 private void handleRun(final boolean verbose, Predicate<SketchController> shouldSavePredicate, Runnable verboseHandler, Runnable nonVerboseHandler) {
1597 if (shouldSavePredicate.test(sketchController)) {

Callers 2

buildSketchMenuMethod · 0.95

Calls 8

handleSaveMethod · 0.95
getBooleanMethod · 0.95
activateRunMethod · 0.80
trMethod · 0.80
progressMethod · 0.65
startMethod · 0.65
testMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected