third_party/blink/tools/blinkpy/web_tests/stale_expectation_removal/data_types_unittest.py
def testNeverNeededExpectationSlowExpectation(self):
        """Tests that special logic is used for Slow-only expectations."""
        expectation = data_types.WebTestExpectation('foo', ['debug'], 'Slow')
        stats = data_types.WebTestBuildStats()
        # The fact that this failed should be ignored.
        stats.AddFailedBuild('build_id')
        self.assertTrue(stats.NeverNeededExpectation(expectation))
        stats.AddSlowBuild('build_id')
        self.assertFalse(stats.NeverNeededExpectation(expectation))
Tests that special logic is used for Slow-only expectations.
Tests that special logic is used for Slow-only expectations.
Tests that special logic is used for Slow - only expectations .
def testNeverNeededExpectationSlowExpectation(self):
        expectation = data_types.WebTestExpectation('foo', ['debug'], 'Slow')
        stats = data_types.WebTestBuildStats()
        stats.AddFailedBuild('build_id')
        self.assertTrue(stats.NeverNeededExpectation(expectation))
        stats.AddSlowBuild('build_id')
        self.assertFalse(stats.NeverNeededExpectation(expectation))
def testNeverNeededExpectationSlowExpectation ( self ) : expectation = data_types . WebTestExpectation ( 'foo' , [ 'debug' ] , 'Slow' ) stats = data_types . WebTestBuildStats ( ) stats . AddFailedBuild ( 'build_id' ) self . assertTrue ( stats . NeverNeededExpectation ( expectation ) ) stats . AddSlowBuild ( 'build_id' ) self . assertFalse ( stats . NeverNeededExpectation ( expectation ) )
Tests that special logic is used for Slow-only expectations.
Tests that special logic is used for Slow - only expectations .
"""Tests that special logic is used for Slow-only expectations.""" # The fact that this failed should be ignored.
self