Sha256: a01d8307d01804f0135707ce92b4d878581166f3ace597f656fa506a41dcd7d0

Contents?: true

Size: 838 Bytes

Versions: 10

Compression:

Stored size: 838 Bytes

Contents

# frozen_string_literal: true

require_relative "test_v1"
require_relative "../../ext/test"

module Datadog
  module CI
    module TestVisibility
      module Serializers
        class TestV2 < TestV1
          CONTENT_FIELDS = (["test_session_id", "test_module_id", "test_suite_id"] + TestV1::CONTENT_FIELDS).freeze

          CONTENT_MAP_SIZE = calculate_content_map_size(CONTENT_FIELDS)

          REQUIRED_FIELDS = (["test_session_id", "test_module_id", "test_suite_id"] + TestV1::REQUIRED_FIELDS).freeze

          def content_fields
            CONTENT_FIELDS
          end

          def content_map_size
            CONTENT_MAP_SIZE
          end

          def version
            2
          end

          private

          def required_fields
            REQUIRED_FIELDS
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
datadog-ci-1.0.0.beta2 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-1.0.0.beta1 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.8.3 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.8.2 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.8.1 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.8.0 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.7.0 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.6.0 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.5.1 lib/datadog/ci/test_visibility/serializers/test_v2.rb
datadog-ci-0.5.0 lib/datadog/ci/test_visibility/serializers/test_v2.rb