content/test/gpu/flake_suppressor/data_types_unittest.py
def testAppliesToResultDoesNotApply(self):
    """Tests that AppliesToResult properly returns False on expected Results."""
    # Name mismatch
    e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
    r = data_types.Result('suite', 'notatest', ('win', 'nvidia'), 'id')
    self.assertFalse(e.AppliesToResult(r))
    # Tag superset
    r = data_types.Result('suite', 'test', tuple(['win']), 'id')
    self.assertFalse(e.AppliesToResult(r))
Tests that AppliesToResult properly returns False on expected Results.
Tests that AppliesToResult properly returns False on expected Results.
Tests that AppliesToResult properly returns False on expected Results .
def testAppliesToResultDoesNotApply(self):
    e = data_types.Expectation('test', ['win', 'nvidia'], ['Failure'])
    r = data_types.Result('suite', 'notatest', ('win', 'nvidia'), 'id')
    self.assertFalse(e.AppliesToResult(r))
    r = data_types.Result('suite', 'test', tuple(['win']), 'id')
    self.assertFalse(e.AppliesToResult(r))
def testAppliesToResultDoesNotApply ( self ) : e = data_types . Expectation ( 'test' , [ 'win' , 'nvidia' ] , [ 'Failure' ] ) r = data_types . Result ( 'suite' , 'notatest' , ( 'win' , 'nvidia' ) , 'id' ) self . assertFalse ( e . AppliesToResult ( r ) ) r = data_types . Result ( 'suite' , 'test' , tuple ( [ 'win' ] ) , 'id' ) self . assertFalse ( e . AppliesToResult ( r ) )
Tests that AppliesToResult properly returns False on expected Results.
Tests that AppliesToResult properly returns False on expected Results .
"""Tests that AppliesToResult properly returns False on expected Results.""" # Name mismatch # Tag superset
self