Package play.test

Annotation Type CleanTest


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface CleanTest
    Test annotation to control the access to MVC objects
    Since:
    1.3.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean createDefault
      Indicate if current MVC objects will be created or not
      boolean removeCurrent
      Indicate if current MVC objects will be removed or not
    • Element Detail

      • removeCurrent

        boolean removeCurrent
        Indicate if current MVC objects will be removed or not
        Returns:
        true if current MVC objects will be removed, false otherwise
        Default:
        false
      • createDefault

        boolean createDefault
        Indicate if current MVC objects will be created or not
        Returns:
        true if current MVC objects will be removed, false otherwise
        Default:
        false