customPermissions
Class<? extends Grade.PermissionCollectionFactory> customPermissions
Overrides permissions. Not token into accound if PermissionCollectionFactory.get() returns null.
The class should be instantiable without args.
By default, tests have no particular permissions, i.e. they can't do anything fancy with the JVM.
Note: if you allow modifyThreadGroup/modifyThread and setIO, you may break some components of JavaGrading,
namely the proctection against stdout/stderr usage and the cpu timeout management. Reflection is also a problem,
and other permissions may allow tests to jailbreak. Use with caution.
- Default:
- com.github.guillaumederval.javagrading.Grade.NullPermissionCollectionFactory.class