Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9931 Improve unit/integration tests
  3. HDDS-9932

Compose annotation for tests parameterized with ContainerTestVersionInfo

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • None
    • 2.0.0
    • test

    Description

      ContainerTestVersionInfo is used in several classes to parameterize test methods.

      Example:

      @ParameterizedTest
      @MethodSource("data")
      public void testIncorrectTotalsNoData(ContainerTestVersionInfo versionInfo)
      

      The goal of this task is to reduce code duplication by defining a composite annotation.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: