Class HttpResourcesTest

    • Constructor Detail

      • HttpResourcesTest

        public HttpResourcesTest()
    • Method Detail

      • testGetResource

        @Test
        public void testGetResource()
      • testCreateRelative

        @Test
        @DisplayName("createRelative()")
        public void testCreateRelative​(HttpResourceFetcher fetcher)
                                throws Exception
        This test only checks the integration of the used methods Detailed tests for URI-handling are implemented in HttpResourcesUriHandlingTest.
        Throws:
        Exception
      • testConvertInvalid

        public void testConvertInvalid()
                                throws Exception
        Throws:
        Exception
      • testResolveValid

        public void testResolveValid()
                              throws IOException
        Checks the resolving of normal examples, with enabled enforcment of a relative path.
        Throws:
        IOException
      • testResolveInvalid

        public void testResolveInvalid()
                                throws IOException
        Checks the resolving of normal examples, with enabled enforcment of a relative path.
        Throws:
        IOException
      • testHostWithoutTrailingSlash

        public void testHostWithoutTrailingSlash()
                                          throws IOException
        Throws:
        IOException