Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-549

UrlAssetTestCase has a test that is not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • api
    • None

      The test class UrlAssetTestCase has the method mutateURL(final URL mutableURL) which uses reflection to test if the URL can be mutated in a given JRE. It uses the nonexisting method set in URL.class.getDeclaredMethod("set", parameterTypes) to test this which results in the test being always successful even though there was never even an attempt to mutate a URL due to the nonexisting set method.

      We should rewrite this to make this test functional.

              kathermanova Katarína Hermanová
              kathermanova Katarína Hermanová
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: