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