| OLD | NEW |
| (Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import logging |
| 6 |
| 7 from google.appengine.ext import ndb |
| 8 |
| 9 from crash.findit import Findit |
| 10 from crash.type_enums import CrashClient |
| 11 |
| 12 # TODO(katesonia): Implement this class. |
| 13 class FinditForClusterfuzz(Findit): # pragma: no cover |
| 14 @classmethod |
| 15 def _ClientID(cls): |
| 16 return CrashClient.CLUSTERFUZZ |
| 17 |
| 18 def __init__(self, repository, pipeline_cls): |
| 19 super(FinditForClusterfuzz, self).__init__(repository, pipeline_cls) |
| 20 logging.info('Client %s is not supported by findit right now', |
| 21 self.client_id) |
| 22 raise NotImplementedError() |
| 23 |
| 24 def CreateAnalysis(self, crash_identifiers): |
| 25 raise NotImplementedError() |
| 26 |
| 27 def GetAnalysis(self, crash_identifiers): |
| 28 raise NotImplementedError() |
| 29 |
| 30 def _InitializeAnalysis(self, model, crash_data): |
| 31 super(FinditForClusterfuzz, self)._InitializeAnalysis(model, crash_data) |
| 32 raise NotImplementedError() |
| 33 |
| 34 @ndb.transactional |
| 35 def _NeedsNewAnalysis(self, crash_data): |
| 36 raise NotImplementedError() |
| 37 |
| 38 def CheckPolicy(self, crash_data): |
| 39 return crash_data |
| 40 |
| 41 def FindCulprit(self, model): |
| 42 raise NotImplementedError() |
| OLD | NEW |