nashorn/test/script/README
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 16221 38ac51eba133
permissions -rw-r--r--
8034812: remove IDX_INIT macro hack in Node class Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly. Reviewed-by: kvn, jrose, iveresov, goetz

basic:

"basic" language and library tests. These need run only with File read 
permission to read files under "test/script" or subdirs and property read
permission to read properties named "nashorn.test.*"

error:

scripts that should result in compile-time error. The expected files check
for the error message format etc.

currently-failing: 

Tests that fail currently - but should pass eventually.
These are excluded for now.

sandbox:

Tests to check that sandbox scripts cannot access security sensitive resources.
Scripts under this directory run with no special permissions other than
what is given to all "sandbox" scripts.

trusted:

These tests run under AllPermission. Put only those scripts that really need
AllPermission - say for eg. creating class loader, full reflective access.