# ImportTest

### Summary

This value is defined when the "language" is java. The value is a comma separated list of one or more java package names.

### Positive Tests

positiveImport:Use a jsp directive with language="java" and a valid import attribute. Use the imported package in the page.

title | ImportTest
source | ImportTest.java
executeClass | core_syntax.directives.page.imports.ImportTest
executeArgs | -TestCaseID positiveImport -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI

### Negative Tests

negativeImport: Use a jsp directive with language attribute set to something other than java. Create an import statement with any package

title | ImportTest
source | ImportTest.java
executeClass | core_syntax.directives.page.imports.ImportTest
executeArgs | -TestCaseID negativeImport -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI