Interface DSL<Data>

    • Method Detail

      • usingUser

        Data usingUser​(UserModel user)
                throws java.lang.Exception
        Defines the current test user that will be used
        Throws:
        java.lang.Exception
      • usingAdmin

        Data usingAdmin()
                 throws java.lang.Exception
        Defines the current user to be Admin
        Returns:
        Throws:
        java.lang.Exception
      • getCurrentUser

        UserModel getCurrentUser()
        gets the current test user
        Returns:
      • usingRoot

        Data usingRoot()
                throws java.lang.Exception
        Returns:
        the rootPath
        Throws:
        java.lang.Exception
      • usingResource

        Data usingResource​(ContentModel model)
                    throws java.lang.Exception
        Defines the current file/folder that is under test
        Parameters:
        model -
        Returns:
        Throws:
        java.lang.Exception
      • usingSite

        Data usingSite​(java.lang.String siteId)
                throws java.lang.Exception
        Defines the current test site to be used
        Parameters:
        siteId -
        Returns:
        Throws:
        java.lang.Exception
      • usingSite

        Data usingSite​(SiteModel siteModel)
                throws java.lang.Exception
        Defines the current test site to be used based on SiteModel
        Parameters:
        siteModel -
        Returns:
        Throws:
        java.lang.Exception
      • usingUserHome

        Data usingUserHome​(java.lang.String username)
                    throws java.lang.Exception
        Defines the current User Home to be used Example: /User Homes/
        Parameters:
        username -
        Returns:
        Throws:
        java.lang.Exception
      • usingUserHome

        Data usingUserHome()
                    throws java.lang.Exception
        Returns:
        the userhome path based on getCurrentUser()
        Throws:
        java.lang.Exception