Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: appengine/findit/crash/findit_for_clusterfuzz.py

Issue 2414523002: [Findit] Reorganizing findit_for_*.py (Closed)
Patch Set: Finally fixed the mock tests! Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/findit/crash/findit_for_client.py ('k') | appengine/findit/crash/findit_for_crash.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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()
OLDNEW
« no previous file with comments | « appengine/findit/crash/findit_for_client.py ('k') | appengine/findit/crash/findit_for_crash.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698