test

package
v1.7.0-dev-20191017 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRunAndConnect

func BuildRunAndConnect(ctx context.Context, source JavaSource, onConnect func(ctx context.Context, conn *jdwp.Connection) int) int

BuildRunAndConnect builds all the source files with javac, executes them with java, attaches to it via JDWP, then calls onConnect with the connection.

Types

type JavaSource

type JavaSource map[string]string

JavaSource is a map of file name 'foo.java' to the source code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL