Class DefaultUriSource

java.lang.Object
org.junit.platform.engine.support.descriptor.DefaultUriSource
All Implemented Interfaces:
Serializable, UriSource, TestSource

class DefaultUriSource extends Object implements UriSource
Default implementation of UriSource.
Since:
1.3
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • uri

      private final URI uri
  • Constructor Details

    • DefaultUriSource

      DefaultUriSource(URI uri)
  • Method Details

    • getUri

      public URI getUri()
      Description copied from interface: UriSource
      Get the URI that represents this source.
      Specified by:
      getUri in interface UriSource
      Returns:
      the source URI; never null
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object