Title: [108864] trunk/Tools
Revision
108864
Author
[email protected]
Date
2012-02-24 16:19:11 -0800 (Fri, 24 Feb 2012)

Log Message

webkitpy: committers_unittest fuzzy matching is really slow
https://bugs.webkit.org/show_bug.cgi?id=79179

Reviewed by Ryosuke Niwa.

Break the fuzzy matching tests into individual routines for
each contributor so that the intent is a little clearer, so
that it's easier to test individual names (and identify
duplicate tests), and so that we can eventually run
them in parallel.

Also, mark most of them as 'integration' tests so that they
can be skipped if we want to go fast (we leave a few as
regular tests for functional coverage).

* Scripts/webkitpy/common/config/committers_unittest.py:
(CommittersTest):
(CommittersTest.test_contributors_by_fuzzy_match):
(CommittersTest.integration_test_contributors__none):
(CommittersTest.integration_test_contributors__none_2):
(CommittersTest.integration_test_contributors__none_3):
(CommittersTest.integration_test_contributors_ada_chan):
(CommittersTest.integration_test_contributors_adele_peterson):
(CommittersTest.integration_test_contributors_alexey_proskuryakov):
(CommittersTest.integration_test_contributors_alice_liu):
(CommittersTest.integration_test_contributors_alp_toker):
(CommittersTest.integration_test_contributors_anders_carlsson):
(CommittersTest.integration_test_contributors_antti_koivisto):
(CommittersTest.integration_test_contributors_beth_dakin):
(CommittersTest.integration_test_contributors_brady_eidson):
(CommittersTest.integration_test_contributors_cameron_zwarich):
(CommittersTest.integration_test_contributors_chris_blumenberg):
(CommittersTest.integration_test_contributors_dan_bernstein):
(CommittersTest.integration_test_contributors_dan_bernstein_2):
(CommittersTest.integration_test_contributors_darin_adler):
(CommittersTest.integration_test_contributors_david_harrison):
(CommittersTest.integration_test_contributors_david_harrison_2):
(CommittersTest.integration_test_contributors_david_hyatt):
(CommittersTest.integration_test_contributors_david_kilzer):
(CommittersTest.integration_test_contributors_don_melton):
(CommittersTest.integration_test_contributors_eric_seidel):
(CommittersTest.integration_test_contributors_geoffrey_garen):
(CommittersTest.integration_test_contributors_greg_bolsinga):
(CommittersTest.integration_test_contributors_holger_freyther):
(CommittersTest.integration_test_contributors_jon_sullivan):
(CommittersTest.integration_test_contributors_jon_honeycutt):
(CommittersTest.integration_test_contributors_joseph_pecoraro):
(CommittersTest.integration_test_contributors_ken_kocienda):
(CommittersTest.integration_test_contributors_kenneth_russell):
(CommittersTest.integration_test_contributors_kevin_decker):
(CommittersTest.integration_test_contributors_kevin_mccullough):
(CommittersTest.integration_test_contributors_lars_knoll):
(CommittersTest.integration_test_contributors_lars_weintraub):
(CommittersTest.integration_test_contributors_maciej_stachowiak):
(CommittersTest.integration_test_contributors_mark_rowe):
(CommittersTest.integration_test_contributors_nikolas_zimmermann):
(CommittersTest.integration_test_contributors_oliver_hunt):
(CommittersTest.integration_test_contributors_rniwa):
(CommittersTest.disabled_integration_test_contributors_simon_fraser):
(CommittersTest.integration_test_contributors_steve_falkenburg):
(CommittersTest.integration_test_contributors_sam_weinig):
(CommittersTest.integration_test_contributors_tim_omernick):
(CommittersTest.integration_test_contributors_timothy_hatcher):
(CommittersTest.integration_test_contributors_tor_arne_vestbo):
(CommittersTest.integration_test_contributors_vicki_murley):
(CommittersTest.integration_test_contributors_zack_rusin):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (108863 => 108864)


--- trunk/Tools/ChangeLog	2012-02-25 00:17:01 UTC (rev 108863)
+++ trunk/Tools/ChangeLog	2012-02-25 00:19:11 UTC (rev 108864)
@@ -1,5 +1,74 @@
 2012-02-24  Dirk Pranke  <[email protected]>
 
+        webkitpy: committers_unittest fuzzy matching is really slow
+        https://bugs.webkit.org/show_bug.cgi?id=79179
+
+        Reviewed by Ryosuke Niwa.
+
+        Break the fuzzy matching tests into individual routines for
+        each contributor so that the intent is a little clearer, so
+        that it's easier to test individual names (and identify
+        duplicate tests), and so that we can eventually run
+        them in parallel.
+
+        Also, mark most of them as 'integration' tests so that they
+        can be skipped if we want to go fast (we leave a few as
+        regular tests for functional coverage).
+
+        * Scripts/webkitpy/common/config/committers_unittest.py:
+        (CommittersTest):
+        (CommittersTest.test_contributors_by_fuzzy_match):
+        (CommittersTest.integration_test_contributors__none):
+        (CommittersTest.integration_test_contributors__none_2):
+        (CommittersTest.integration_test_contributors__none_3):
+        (CommittersTest.integration_test_contributors_ada_chan):
+        (CommittersTest.integration_test_contributors_adele_peterson):
+        (CommittersTest.integration_test_contributors_alexey_proskuryakov):
+        (CommittersTest.integration_test_contributors_alice_liu):
+        (CommittersTest.integration_test_contributors_alp_toker):
+        (CommittersTest.integration_test_contributors_anders_carlsson):
+        (CommittersTest.integration_test_contributors_antti_koivisto):
+        (CommittersTest.integration_test_contributors_beth_dakin):
+        (CommittersTest.integration_test_contributors_brady_eidson):
+        (CommittersTest.integration_test_contributors_cameron_zwarich):
+        (CommittersTest.integration_test_contributors_chris_blumenberg):
+        (CommittersTest.integration_test_contributors_dan_bernstein):
+        (CommittersTest.integration_test_contributors_dan_bernstein_2):
+        (CommittersTest.integration_test_contributors_darin_adler):
+        (CommittersTest.integration_test_contributors_david_harrison):
+        (CommittersTest.integration_test_contributors_david_harrison_2):
+        (CommittersTest.integration_test_contributors_david_hyatt):
+        (CommittersTest.integration_test_contributors_david_kilzer):
+        (CommittersTest.integration_test_contributors_don_melton):
+        (CommittersTest.integration_test_contributors_eric_seidel):
+        (CommittersTest.integration_test_contributors_geoffrey_garen):
+        (CommittersTest.integration_test_contributors_greg_bolsinga):
+        (CommittersTest.integration_test_contributors_holger_freyther):
+        (CommittersTest.integration_test_contributors_jon_sullivan):
+        (CommittersTest.integration_test_contributors_jon_honeycutt):
+        (CommittersTest.integration_test_contributors_joseph_pecoraro):
+        (CommittersTest.integration_test_contributors_ken_kocienda):
+        (CommittersTest.integration_test_contributors_kenneth_russell):
+        (CommittersTest.integration_test_contributors_kevin_decker):
+        (CommittersTest.integration_test_contributors_kevin_mccullough):
+        (CommittersTest.integration_test_contributors_lars_knoll):
+        (CommittersTest.integration_test_contributors_lars_weintraub):
+        (CommittersTest.integration_test_contributors_maciej_stachowiak):
+        (CommittersTest.integration_test_contributors_mark_rowe):
+        (CommittersTest.integration_test_contributors_nikolas_zimmermann):
+        (CommittersTest.integration_test_contributors_oliver_hunt):
+        (CommittersTest.integration_test_contributors_rniwa):
+        (CommittersTest.disabled_integration_test_contributors_simon_fraser):
+        (CommittersTest.integration_test_contributors_steve_falkenburg):
+        (CommittersTest.integration_test_contributors_sam_weinig):
+        (CommittersTest.integration_test_contributors_tim_omernick):
+        (CommittersTest.integration_test_contributors_timothy_hatcher):
+        (CommittersTest.integration_test_contributors_tor_arne_vestbo):
+        (CommittersTest.integration_test_contributors_vicki_murley):
+        (CommittersTest.integration_test_contributors_zack_rusin):
+
+2012-02-24  Dirk Pranke  <[email protected]>
+
         webkitpy: should autoinstall coverage
         https://bugs.webkit.org/show_bug.cgi?id=79535
 

Modified: trunk/Tools/Scripts/webkitpy/common/config/committers_unittest.py (108863 => 108864)


--- trunk/Tools/Scripts/webkitpy/common/config/committers_unittest.py	2012-02-25 00:17:01 UTC (rev 108863)
+++ trunk/Tools/Scripts/webkitpy/common/config/committers_unittest.py	2012-02-25 00:19:11 UTC (rev 108864)
@@ -7,8 +7,7 @@
 #    * Redistributions of source code must retain the above copyright
 # notice, this list of conditions and the following disclaimer.
 #    * Redistributions in binary form must reproduce the above
-# copyright notice, this list of conditions and the following disclaimer
-# in the documentation and/or other materials provided with the
+# copyright notice, this list of conditions and the following disclaimer # in the documentation and/or other materials provided with the
 # distribution.
 #    * Neither the name of Google Inc. nor the names of its
 # contributors may be used to endorse or promote products derived from
@@ -110,141 +109,205 @@
             expected_names = [name_of_expected_contributor] if name_of_expected_contributor else []
         self.assertEqual(([contributor.full_name for contributor in contributors], distance), (expected_names, expected_distance))
 
+    # Basic testing of the edit distance matching ...
     def test_contributors_by_fuzzy_match(self):
         self._assert_fuzz_match('Geoff Garen', 'Geoffrey Garen', 3)
         self._assert_fuzz_match('Kenneth Christiansen', 'Kenneth Rohde Christiansen', 6)
-        self._assert_fuzz_match('Ken Russell', 'Kenneth Russell', 4)
-        self._assert_fuzz_match('Dave Hyatt', 'David Hyatt', 2)
-        self._assert_fuzz_match('Dave Kilzer', 'David Kilzer', 2)
-        self._assert_fuzz_match('Antti "printf" Koivisto', 'Antti Koivisto', 9)
-        self._assert_fuzz_match('Sammy Weinig', 'Sam Weinig', 2)
-        self._assert_fuzz_match('Andres Kling', 'Andreas Kling', 1)
-        self._assert_fuzz_match('Darin Adler\'', 'Darin Adler', 1)
-        self._assert_fuzz_match('Joe Pecoraro', 'Joseph Pecoraro', 3)
-        self._assert_fuzz_match('Dr Dan Bernstein', 'Dan Bernstein', 3)
-        self._assert_fuzz_match('Mitzpettel', 'Dan Bernstein', 0)
-        self._assert_fuzz_match('[email protected]', 'Ryosuke Niwa', 0)
-        self._assert_fuzz_match('Ap', 'Alexey Proskuryakov', 0)
         self._assert_fuzz_match('Sam', 'Sam Weinig', 0)
-        self._assert_fuzz_match('darin', 'Darin Adler', 0)
-        self._assert_fuzz_match('harrison', 'David Harrison', 0)
         self._assert_fuzz_match('me', None, 2)
+
+    # The remaining tests test that certain names are resolved in a specific way.
+    # We break this up into multiple tests so that each is faster and they can
+    # be run in parallel. Unfortunately each test scans the entire committers list,
+    # so these are inherently slow (see https://bugs.webkit.org/show_bug.cgi?id=79179).
+    #
+    # Commented out lines are test cases imported from the bug 26533 yet to pass.
+
+    def integration_test_contributors__none(self):
         self._assert_fuzz_match('myself', None, 6)
         self._assert_fuzz_match('others', None, 6)
         self._assert_fuzz_match('BUILD FIX', None, 9)
+
+    def integration_test_contributors__none_2(self):
         self._assert_fuzz_match('but Dan Bernstein also reviewed', None, 31)
         self._assert_fuzz_match('asked thoughtful questions', None, 26)
         self._assert_fuzz_match('build fix of mac', None, 16)
+
+    def integration_test_contributors__none_3(self):
         self._assert_fuzz_match('a spell checker', None, 15)
         self._assert_fuzz_match('nobody, build fix', None, 17)
         self._assert_fuzz_match('NOBODY (chromium build fix)', None, 27)
 
-    def test_contributors_by_fuzzy_match_with_legacy_names(self):
-        # Commented out lines are test cases imported from the bug 26533 yet to pass.
+    def integration_test_contributors_ada_chan(self):
+        self._assert_fuzz_match('Ada', 'Ada Chan', 0)
 
-        self._assert_fuzz_match('Ada', 'Ada Chan', 0)
+    def integration_test_contributors_adele_peterson(self):
         self._assert_fuzz_match('adele', 'Adele Peterson', 0)
-#        self._assert_fuzz_match('Adam', 'Adam Roben', 0)
+
+    def integration_test_contributors_adele_peterson(self):
+        # self._assert_fuzz_match('Adam', 'Adam Roben', 0)
         self._assert_fuzz_match('aroben', 'Adam Roben', 0)
-#        self._assert_fuzz_match('Alexey', 'Alexey Proskuryakov', 0)
+
+    def integration_test_contributors_alexey_proskuryakov(self):
+        # self._assert_fuzz_match('Alexey', 'Alexey Proskuryakov', 0)
         self._assert_fuzz_match('ap', 'Alexey Proskuryakov', 0)
         self._assert_fuzz_match('Alexey P', 'Alexey Proskuryakov', 0)
-#        self._assert_fuzz_match('Alice', 'Alice Liu', 0)
+
+    def integration_test_contributors_alice_liu(self):
+        # self._assert_fuzz_match('Alice', 'Alice Liu', 0)
         self._assert_fuzz_match('aliu', 'Alice Liu', 0)
         self._assert_fuzz_match('Liu', 'Alice Liu', 0)
+
+    def integration_test_contributors_alp_toker(self):
         self._assert_fuzz_match('Alp', 'Alp Toker', 0)
+
+    def integration_test_contributors_anders_carlsson(self):
         self._assert_fuzz_match('Anders', 'Anders Carlsson', 0)
         self._assert_fuzz_match('andersca', 'Anders Carlsson', 0)
         self._assert_fuzz_match('anders', 'Anders Carlsson', 0)
         self._assert_fuzz_match('Andersca', 'Anders Carlsson', 0)
+
+    def integration_test_contributors_antti_koivisto(self):
+        self._assert_fuzz_match('Antti "printf" Koivisto', 'Antti Koivisto', 9)
         self._assert_fuzz_match('Antti', 'Antti Koivisto', 0)
 
+    def integration_test_contributors_beth_dakin(self):
         self._assert_fuzz_match('Beth', 'Beth Dakin', 0)
         self._assert_fuzz_match('beth', 'Beth Dakin', 0)
         self._assert_fuzz_match('bdakin', 'Beth Dakin', 0)
+
+    def integration_test_contributors_brady_eidson(self):
         self._assert_fuzz_match('Brady', 'Brady Eidson', 0)
         self._assert_fuzz_match('bradee-oh', 'Brady Eidson', 0)
+        self._assert_fuzz_match('Brady', 'Brady Eidson', 0)
 
-#        self._assert_fuzz_match('Cameron', 'Cameron Zwarich', 0)
-#        self._assert_fuzz_match('cpst', 'Cameron Zwarich', 1)
-#        self._assert_fuzz_match('Chris', 'Chris Blumenberg', 0)
+    def integration_test_contributors_cameron_zwarich(self):
+        pass  # self._assert_fuzz_match('Cameron', 'Cameron Zwarich', 0)
+        # self._assert_fuzz_match('cpst', 'Cameron Zwarich', 1)
+
+    def integration_test_contributors_chris_blumenberg(self):
+        # self._assert_fuzz_match('Chris', 'Chris Blumenberg', 0)
         self._assert_fuzz_match('cblu', 'Chris Blumenberg', 0)
 
+    def integration_test_contributors_dan_bernstein(self):
         self._assert_fuzz_match('Dan', ['Dan Winship', 'Dan Bernstein'], 0)
         self._assert_fuzz_match('Dan B', 'Dan Bernstein', 0)
-#        self._assert_fuzz_match('mitz', 'Dan Bernstein', 0)
+        # self._assert_fuzz_match('mitz', 'Dan Bernstein', 0)
         self._assert_fuzz_match('Mitz Pettel', 'Dan Bernstein', 1)
         self._assert_fuzz_match('Mitzpettel', 'Dan Bernstein', 0)
         self._assert_fuzz_match('Mitz Pettel RTL', 'Dan Bernstein', 5)
+
+    def integration_test_contributors_dan_bernstein_2(self):
         self._assert_fuzz_match('Teh Mitzpettel', 'Dan Bernstein', 4)
-#        self._assert_fuzz_match('The Mitz', 'Dan Bernstein', 0)
+        # self._assert_fuzz_match('The Mitz', 'Dan Bernstein', 0)
+        self._assert_fuzz_match('Dr Dan Bernstein', 'Dan Bernstein', 3)
 
+    def integration_test_contributors_darin_adler(self):
+        self._assert_fuzz_match('Darin Adler\'', 'Darin Adler', 1)
         self._assert_fuzz_match('Darin', 'Darin Adler', 0)  # Thankfully "Fisher" is longer than "Adler"
+        self._assert_fuzz_match('darin', 'Darin Adler', 0)
 
+    def integration_test_contributors_david_harrison(self):
         self._assert_fuzz_match('Dave Harrison', 'David Harrison', 2)
         self._assert_fuzz_match('harrison', 'David Harrison', 0)
         self._assert_fuzz_match('Dr. Harrison', 'David Harrison', 4)
+
+    def integration_test_contributors_david_harrison_2(self):
         self._assert_fuzz_match('Dave Harrson', 'David Harrison', 3)
         self._assert_fuzz_match('Dave Harrsion', 'David Harrison', 4)  # Damerau-Levenshtein distance is 3
 
+    def integration_test_contributors_david_hyatt(self):
+        self._assert_fuzz_match('Dave Hyatt', 'David Hyatt', 2)
         self._assert_fuzz_match('Daddy Hyatt', 'David Hyatt', 3)
-#        self._assert_fuzz_match('Dave', 'David Hyatt', 0)  # 'Dave' could mean harrison.
+        # self._assert_fuzz_match('Dave', 'David Hyatt', 0)  # 'Dave' could mean harrison.
         self._assert_fuzz_match('hyatt', 'David Hyatt', 0)
-#        self._assert_fuzz_match('Haytt', 'David Hyatt', 0)  # Works if we had implemented Damerau-Levenshtein distance!
+        # self._assert_fuzz_match('Haytt', 'David Hyatt', 0)  # Works if we had implemented Damerau-Levenshtein distance!
+
+    def integration_test_contributors_david_kilzer(self):
         self._assert_fuzz_match('Dave Kilzer', 'David Kilzer', 2)
         self._assert_fuzz_match('David D. Kilzer', 'David Kilzer', 3)
         self._assert_fuzz_match('ddkilzer', 'David Kilzer', 0)
+
+    def integration_test_contributors_don_melton(self):
         self._assert_fuzz_match('Don', 'Don Melton', 0)
         self._assert_fuzz_match('Gramps', 'Don Melton', 0)
 
-#        self._assert_fuzz_match('eric', 'Eric Seidel', 0)
+    def integration_test_contributors_eric_seidel(self):
+        # self._assert_fuzz_match('eric', 'Eric Seidel', 0)
         self._assert_fuzz_match('Eric S', 'Eric Seidel', 0)
-#        self._assert_fuzz_match('MacDome', 'Eric Seidel', 0)
+        # self._assert_fuzz_match('MacDome', 'Eric Seidel', 0)
         self._assert_fuzz_match('eseidel', 'Eric Seidel', 0)
 
-#        self._assert_fuzz_match('Geof', 'Geoffrey Garen', 4)
-#        self._assert_fuzz_match('Geoff', 'Geoffrey Garen', 3)
+    def integration_test_contributors_geoffrey_garen(self):
+        # self._assert_fuzz_match('Geof', 'Geoffrey Garen', 4)
+        # self._assert_fuzz_match('Geoff', 'Geoffrey Garen', 3)
         self._assert_fuzz_match('Geoff Garen', 'Geoffrey Garen', 3)
         self._assert_fuzz_match('ggaren', 'Geoffrey Garen', 0)
-#        self._assert_fuzz_match('geoff', 'Geoffrey Garen', 0)
+        # self._assert_fuzz_match('geoff', 'Geoffrey Garen', 0)
         self._assert_fuzz_match('Geoffrey', 'Geoffrey Garen', 0)
         self._assert_fuzz_match('GGaren', 'Geoffrey Garen', 0)
-#        self._assert_fuzz_match('Greg', 'Greg Bolsinga', 0)
 
+    def integration_test_contributors_greg_bolsinga(self):
+        pass  # self._assert_fuzz_match('Greg', 'Greg Bolsinga', 0)
+
+    def integration_test_contributors_holger_freyther(self):
         self._assert_fuzz_match('Holger', 'Holger Freyther', 0)
         self._assert_fuzz_match('Holger Hans Peter Freyther', 'Holger Freyther', 11)
 
-#        self._assert_fuzz_match('john', 'John Sullivan', 0)
+    def integration_test_contributors_jon_sullivan(self):
+        # self._assert_fuzz_match('john', 'John Sullivan', 0)
         self._assert_fuzz_match('sullivan', 'John Sullivan', 0)
+
+    def integration_test_contributors_jon_honeycutt(self):
         self._assert_fuzz_match('John Honeycutt', 'Jon Honeycutt', 1)
-#        self._assert_fuzz_match('Jon', 'Jon Honeycutt', 0)
-#        self._assert_fuzz_match('justin', 'Justin Garcia', 0)
+        # self._assert_fuzz_match('Jon', 'Jon Honeycutt', 0)
+
+    def integration_test_contributors_jon_honeycutt(self):
+        # self._assert_fuzz_match('justin', 'Justin Garcia', 0)
         self._assert_fuzz_match('justing', 'Justin Garcia', 0)
 
+    def integration_test_contributors_joseph_pecoraro(self):
+        self._assert_fuzz_match('Joe Pecoraro', 'Joseph Pecoraro', 3)
+
+    def integration_test_contributors_ken_kocienda(self):
         self._assert_fuzz_match('ken', 'Ken Kocienda', 0)
         self._assert_fuzz_match('kocienda', 'Ken Kocienda', 0)
+
+    def integration_test_contributors_kenneth_russell(self):
+        self._assert_fuzz_match('Ken Russell', 'Kenneth Russell', 4)
+
+    def integration_test_contributors_kevin_decker(self):
         self._assert_fuzz_match('kdecker', 'Kevin Decker', 0)
+
+    def integration_test_contributors_kevin_mccullough(self):
         self._assert_fuzz_match('Kevin M', 'Kevin McCullough', 0)
         self._assert_fuzz_match('Kevin McCulough', 'Kevin McCullough', 1)
         self._assert_fuzz_match('mccullough', 'Kevin McCullough', 0)
 
+    def integration_test_contributors_lars_knoll(self):
         self._assert_fuzz_match('lars', 'Lars Knoll', 0)
+
+    def integration_test_contributors_lars_weintraub(self):
         self._assert_fuzz_match('levi', 'Levi Weintraub', 0)
 
+    def integration_test_contributors_maciej_stachowiak(self):
         self._assert_fuzz_match('Maciej', 'Maciej Stachowiak', 0)
-#        self._assert_fuzz_match('mjs', 'Maciej Stachowiak', 0)
+        # self._assert_fuzz_match('mjs', 'Maciej Stachowiak', 0)
         self._assert_fuzz_match('Maciej S', 'Maciej Stachowiak', 0)
 
-#        self._assert_fuzz_match('Mark', 'Mark Rowe', 0)
+    def integration_test_contributors_mark_rowe(self):
+        # self._assert_fuzz_match('Mark', 'Mark Rowe', 0)
         self._assert_fuzz_match('bdash', 'Mark Rowe', 0)
         self._assert_fuzz_match('mrowe', 'Mark Rowe', 0)
-#        self._assert_fuzz_match('Brian Dash', 'Mark Rowe', 0)
+        # self._assert_fuzz_match('Brian Dash', 'Mark Rowe', 0)
 
-#        self._assert_fuzz_match('Niko', 'Nikolas Zimmermann', 1)
+    def integration_test_contributors_nikolas_zimmermann(self):
+        # self._assert_fuzz_match('Niko', 'Nikolas Zimmermann', 1)
         self._assert_fuzz_match('Niko Zimmermann', 'Nikolas Zimmermann', 3)
         self._assert_fuzz_match('Nikolas', 'Nikolas Zimmermann', 0)
 
-#        self._assert_fuzz_match('Oliver', 'Oliver Hunt', 0)
+    def integration_test_contributors_oliver_hunt(self):
+        #  self._assert_fuzz_match('Oliver', 'Oliver Hunt', 0)
         self._assert_fuzz_match('Ollie', 'Oliver Hunt', 1)
         self._assert_fuzz_match('Olliej', 'Oliver Hunt', 0)
         self._assert_fuzz_match('Olliej Hunt', 'Oliver Hunt', 3)
@@ -252,36 +315,54 @@
         self._assert_fuzz_match('ollie', 'Oliver Hunt', 1)
         self._assert_fuzz_match('ollliej', 'Oliver Hunt', 1)
 
+    def integration_test_contributors_oliver_hunt(self):
         self._assert_fuzz_match('Richard', 'Richard Williamson', 0)
         self._assert_fuzz_match('rjw', 'Richard Williamson', 0)
+
+    def integration_test_contributors_oliver_hunt(self):
         self._assert_fuzz_match('Rob', 'Rob Buis', 0)
         self._assert_fuzz_match('rwlbuis', 'Rob Buis', 0)
 
+    def integration_test_contributors_rniwa(self):
+        self._assert_fuzz_match('[email protected]', 'Ryosuke Niwa', 0)
+
+    def disabled_integration_test_contributors_simon_fraser(self):
+        pass  # self._assert_fuzz_match('Simon', 'Simon Fraser', 0)
+
+    def integration_test_contributors_steve_falkenburg(self):
+        self._assert_fuzz_match('Sfalken', 'Steve Falkenburg', 0)
+        # self._assert_fuzz_match('Steve', 'Steve Falkenburg', 0)
+
+    def integration_test_contributors_sam_weinig(self):
         self._assert_fuzz_match('Sam', 'Sam Weinig', 0)
-#        self._assert_fuzz_match('Weinig Sam', 'weinig', 0)
+        # self._assert_fuzz_match('Weinig Sam', 'weinig', 0)
         self._assert_fuzz_match('Weinig', 'Sam Weinig', 0)
         self._assert_fuzz_match('Sam W', 'Sam Weinig', 0)
         self._assert_fuzz_match('Sammy Weinig', 'Sam Weinig', 2)
-#        self._assert_fuzz_match('Simon', 'Simon Fraser', 0)
-        self._assert_fuzz_match('Sfalken', 'Steve Falkenburg', 0)
-#        self._assert_fuzz_match('Steve', 'Steve Falkenburg', 0)
 
-#        self._assert_fuzz_match('timo', 'Tim Omernick', 0)
+    def integration_test_contributors_tim_omernick(self):
+        # self._assert_fuzz_match('timo', 'Tim Omernick', 0)
         self._assert_fuzz_match('TimO', 'Tim Omernick', 0)
-#        self._assert_fuzz_match('Timo O', 'Tim Omernick', 0)
-#        self._assert_fuzz_match('Tim O.', 'Tim Omernick', 0)
+        # self._assert_fuzz_match('Timo O', 'Tim Omernick', 0)
+        # self._assert_fuzz_match('Tim O.', 'Tim Omernick', 0)
         self._assert_fuzz_match('Tim O', 'Tim Omernick', 0)
 
-#        self._assert_fuzz_match('Tim', 'Timothy Hatcher', 0)
-#        self._assert_fuzz_match('Tim H', 'Timothy Hatcher', 0)
+    def integration_test_contributors_timothy_hatcher(self):
+        # self._assert_fuzz_match('Tim', 'Timothy Hatcher', 0)
+        # self._assert_fuzz_match('Tim H', 'Timothy Hatcher', 0)
         self._assert_fuzz_match('Tim Hatcher', 'Timothy Hatcher', 4)
         self._assert_fuzz_match('Tim Hatcheri', 'Timothy Hatcher', 5)
         self._assert_fuzz_match('timothy', 'Timothy Hatcher', 0)
         self._assert_fuzz_match('thatcher', 'Timothy Hatcher', 1)
         self._assert_fuzz_match('xenon', 'Timothy Hatcher', 0)
         self._assert_fuzz_match('Hatcher', 'Timothy Hatcher', 0)
-#        self._assert_fuzz_match('TimH', 'Timothy Hatcher', 0)
+        # self._assert_fuzz_match('TimH', 'Timothy Hatcher', 0)
 
+    def integration_test_contributors_tor_arne_vestbo(self):
         self._assert_fuzz_match('Tor Arne', u"Tor Arne Vestb\u00f8", 1)  # Matches IRC nickname
+
+    def integration_test_contributors_vicki_murley(self):
         self._assert_fuzz_match('Vicki', u"Vicki Murley", 0)
+
+    def integration_test_contributors_zack_rusin(self):
         self._assert_fuzz_match('Zack', 'Zack Rusin', 0)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to