2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Ci
|
2019-02-13 22:33:31 +05:30
|
|
|
class CompareTestReportsService < CompareReportsBaseService
|
|
|
|
def comparer_class
|
|
|
|
Gitlab::Ci::Reports::TestReportsComparer
|
2018-11-18 11:00:15 +05:30
|
|
|
end
|
|
|
|
|
2019-02-13 22:33:31 +05:30
|
|
|
def serializer_class
|
|
|
|
TestReportsComparerSerializer
|
2018-11-18 11:00:15 +05:30
|
|
|
end
|
|
|
|
|
2019-02-13 22:33:31 +05:30
|
|
|
def get_report(pipeline)
|
|
|
|
pipeline&.test_reports
|
2018-11-18 11:00:15 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|