Class TestLocalReference

  • All Implemented Interfaces:
    Serializable, Cloneable, Comparable<org.xwiki.model.reference.EntityReference>

    public class TestLocalReference
    extends org.xwiki.model.reference.LocalDocumentReference
    Make it easy for tests to get a unique page reference for testing (when needed).
    Since:
    14.5
    Version:
    $Id: 0b992ff6b77a0a2a1a9a63d5736140f9e8af17e0 $
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.xwiki.model.reference.AbstractLocalizedEntityReference

        LOCALE
      • Fields inherited from class org.xwiki.model.reference.EntityReference

        TOSTRING_SERIALIZER
    • Constructor Summary

      Constructors 
      Constructor Description
      TestLocalReference​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)  
    • Method Summary

      • Methods inherited from class org.xwiki.model.reference.LocalDocumentReference

        replaceParent, toString
      • Methods inherited from class org.xwiki.model.reference.AbstractLocalizedEntityReference

        getLocale, setLocale, setParameter
      • Methods inherited from class org.xwiki.model.reference.EntityReference

        appendParent, compareTo, equals, equals, equals, equalsNonRecursive, extractFirstReference, extractReference, getName, getParameter, getParameters, getParent, getReversedReferenceChain, getRoot, getType, hashCode, hasParent, removeParent, replaceParent, setName, setParameters, setParent, setType, size
    • Constructor Detail

      • TestLocalReference

        public TestLocalReference​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
        Parameters:
        extensionContext - the test context