Remove obsolete Nashorn-based scripting tests

Since the Nashorn JavaScript engine was removed in Java 15, these tests
will never be run on a Java 17+ JDK which is required as of Spring
Framework 6.0.

See gh-27919
This commit is contained in:
Sam Brannen
2022-03-15 16:33:52 +01:00
parent e9655e8a7b
commit 4db2f8ea1b
11 changed files with 0 additions and 953 deletions

View File

@@ -1,7 +0,0 @@
function render(template, model) {
return template.replace("{{title}}", model.title).replace("{{body}}", model.body);
}
function renderWithUrl(template, model, renderingContext) {
return template.replace("{{title}}", "Check url parameter").replace("{{body}}", renderingContext.url);
}

View File

@@ -1 +0,0 @@
<html><head><title>{{title}}</title></head><body><p>{{body}}</p></body></html>