Class AOSAssertion

java.lang.Object
org.alfresco.utility.dsl.DSLAssertion<AOSWrapper>
org.alfresco.aos.dsl.AOSAssertion

public class AOSAssertion extends org.alfresco.utility.dsl.DSLAssertion<AOSWrapper>
DSL with all assertion available for AOSWrapper
  • Constructor Details

    • AOSAssertion

      public AOSAssertion(AOSWrapper aosWrapper)
  • Method Details

    • aosWrapper

      public AOSWrapper aosWrapper()
    • fileExistsInAOS

      public AOSWrapper fileExistsInAOS() throws org.alfresco.utility.exception.TestConfigurationException
      Throws:
      org.alfresco.utility.exception.TestConfigurationException
    • fileDoesNotExistInAOS

      public AOSWrapper fileDoesNotExistInAOS() throws org.alfresco.utility.exception.TestConfigurationException
      Throws:
      org.alfresco.utility.exception.TestConfigurationException
    • contentIs

      public AOSWrapper contentIs(String expectedContent) throws IOException, org.alfresco.utility.exception.TestConfigurationException
      Throws:
      IOException
      org.alfresco.utility.exception.TestConfigurationException
    • documentIsLocked

      public AOSWrapper documentIsLocked()
    • newPageExistsAndContentIsValid

      public AOSWrapper newPageExistsAndContentIsValid() throws IOException, org.alfresco.utility.exception.TestConfigurationException
      Throws:
      IOException
      org.alfresco.utility.exception.TestConfigurationException
    • hasStatus

      public AOSWrapper hasStatus(int status)
      Verify the status for a specific action
      Parameters:
      status -
      Returns: