third_party/blink/tools/blinkpy/web_tests/stale_expectation_removal/data_types_unittest.py
def testCompareWildcard(self):
        """Tests that wildcard comparisons work as expected."""
        e = data_types.WebTestExpectation('test*', ['tag1'], 'Failure')
        self.assertTrue(e._CompareWildcard('testing123'))
        self.assertTrue(
            e._CompareWildcard('virtual/some-identifier/testing123'))
        self.assertTrue(e._CompareWildcard('test'))
        self.assertTrue(e._CompareWildcard('virtual/some-identifier/test'))
        self.assertFalse(e._CompareWildcard('tes'))
        self.assertFalse(e._CompareWildcard('/virtual/some-identifier/test'))
        self.assertFalse(e._CompareWildcard('virtual/some/malformed/test'))
Tests that wildcard comparisons work as expected.
Tests that wildcard comparisons work as expected.
Tests that wildcard comparisons work as expected .
def testCompareWildcard(self):
        e = data_types.WebTestExpectation('test*', ['tag1'], 'Failure')
        self.assertTrue(e._CompareWildcard('testing123'))
        self.assertTrue(
            e._CompareWildcard('virtual/some-identifier/testing123'))
        self.assertTrue(e._CompareWildcard('test'))
        self.assertTrue(e._CompareWildcard('virtual/some-identifier/test'))
        self.assertFalse(e._CompareWildcard('tes'))
        self.assertFalse(e._CompareWildcard('/virtual/some-identifier/test'))
        self.assertFalse(e._CompareWildcard('virtual/some/malformed/test'))
def testCompareWildcard ( self ) : e = data_types . WebTestExpectation ( 'test*' , [ 'tag1' ] , 'Failure' ) self . assertTrue ( e . _CompareWildcard ( 'testing123' ) ) self . assertTrue ( e . _CompareWildcard ( 'virtual/some-identifier/testing123' ) ) self . assertTrue ( e . _CompareWildcard ( 'test' ) ) self . assertTrue ( e . _CompareWildcard ( 'virtual/some-identifier/test' ) ) self . assertFalse ( e . _CompareWildcard ( 'tes' ) ) self . assertFalse ( e . _CompareWildcard ( '/virtual/some-identifier/test' ) ) self . assertFalse ( e . _CompareWildcard ( 'virtual/some/malformed/test' ) )
Tests that wildcard comparisons work as expected.
Tests that wildcard comparisons work as expected .
"""Tests that wildcard comparisons work as expected."""
self