HomeSort by relevance Sort by last modified time
    Searched full:__eq__ (Results 1 - 25 of 171) sorted by null

1 2 3 4 5 6 7

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
filter_unittest.py 31 # On Testing __eq__() and __ne__():
34 # assertNotEquals() to test __eq__() or __ne__(). We do this to be
40 # negation of __eq__() or __ne__(), which are not necessarily
46 # false. Accordingly, when defining __eq__(), one should
104 """Test __eq__ equality function."""
110 # __eq__() and __ne__().
111 self.assertTrue(filter1.__eq__(filter2))
112 self.assertFalse(filter1.__eq__(filter3))
121 # __eq__() and __ne__().
178 """Test __eq__ method.""
    [all...]
error_handlers_unittest.py 84 """Test the __eq__() method for the return value of True."""
88 self.assertTrue(handler1.__eq__(handler2))
91 """Test the __eq__() method for the return value of False."""
103 self.assertTrue(handler.__eq__(make_handler()))
106 self.assertFalse(handler.__eq__(make_handler(configuration=None)))
107 self.assertFalse(handler.__eq__(make_handler(file_path='bar.txt')))
108 self.assertFalse(handler.__eq__(make_handler(increment_error_count=None)))
109 self.assertFalse(handler.__eq__(make_handler(line_numbers=[50])))
optparser_unittest.py 230 """Test __eq__ equality function."""
231 self.assertTrue(ProcessorOptions().__eq__(ProcessorOptions()))
244 self.assertTrue(options.__eq__(ProcessorOptions()))
246 self.assertFalse(options.__eq__(ProcessorOptions(filter_rules=["+"])))
247 self.assertFalse(options.__eq__(ProcessorOptions(git_commit="commit")))
248 self.assertFalse(options.__eq__(ProcessorOptions(is_verbose=True)))
249 self.assertFalse(options.__eq__(ProcessorOptions(min_confidence=2)))
250 self.assertFalse(options.__eq__(ProcessorOptions(output_format="vs7")))
error_handlers.py 90 def __eq__(self, other): member in class:DefaultStyleErrorHandler
105 # Python does not automatically deduce __ne__ from __eq__.
106 return not self.__eq__(other)
filter.py 85 def __eq__(self, other): member in class:_CategoryFilter
91 # Python does not automatically deduce from __eq__().
177 def __eq__(self, other): member in class:FilterConfiguration
190 # Python does not automatically deduce this from __eq__().
191 return not self.__eq__(other)
  /external/llvm/utils/lit/lit/
ShCommands.py 9 def __eq__(self, other): member in class:Command
48 def __eq__(self, other): member in class:Pipeline
75 def __eq__(self, other): member in class:Seq
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_richcmp.py 19 def __eq__(self, other): member in class:Number
68 def __eq__(self, other): member in class:Vector
90 "eq": (lambda a,b: a==b, operator.eq, operator.__eq__),
197 def __eq__(self_, other): return 0 member in class:MiscTest.test_misbehavin.Misb
260 # Verify that __eq__ and __ne__ work for dicts even if the keys and
261 # values don't support anything other than __eq__ and __ne__ (and
307 def __eq__(self, other): member in class:ListTest.test_badentry.Bad
test_py3kwarn.py 257 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq
260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
264 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
275 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree
282 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq
285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
289 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
test_functools.py 383 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_lt.A
399 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_le.A
415 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_gt.A
431 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_ge.A
463 def __eq__(self, other): member in class:TestTotalOrdering.test_bug_10042.TestTO
test_collections.py 266 def __eq__(self, other): member in class:ABCTestCase.validate_comparison.Other
269 __lt__ = __eq__
270 __gt__ = __eq__
271 __le__ = __eq__
272 __ge__ = __eq__
273 __ne__ = __eq__
274 __ror__ = __eq__
275 __rand__ = __eq__
276 __rxor__ = __eq__
277 __rsub__ = __eq__
310 __eq__ = Hashable.__eq__ # Silence Py3k warning variable in class:TestOneTrickPonyABCs.test_Hashable.H
    [all...]
test_mutants.py 101 def __eq__(self, other): member in class:Horrid
236 def __eq__(self, other): member in class:Machiavelli2
265 def __eq__(self, other): member in class:Machiavelli3
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_richcmp.py 19 def __eq__(self, other): member in class:Number
68 def __eq__(self, other): member in class:Vector
90 "eq": (lambda a,b: a==b, operator.eq, operator.__eq__),
197 def __eq__(self_, other): return 0 member in class:MiscTest.test_misbehavin.Misb
260 # Verify that __eq__ and __ne__ work for dicts even if the keys and
261 # values don't support anything other than __eq__ and __ne__ (and
307 def __eq__(self, other): member in class:ListTest.test_badentry.Bad
test_py3kwarn.py 257 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq
260 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
264 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
267 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
275 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.DefinesAllThree
282 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnOnlyEq
285 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
289 def __eq__(self, other): pass member in class:TestPy3KWarnings.test_hash_inheritance.WarnCmpAndEq
292 "Overriding __eq__ blocks inheritance of __hash__ in 3.x")
test_functools.py 383 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_lt.A
399 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_le.A
415 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_gt.A
431 def __eq__(self, other): member in class:TestTotalOrdering.test_total_ordering_ge.A
463 def __eq__(self, other): member in class:TestTotalOrdering.test_bug_10042.TestTO
test_collections.py 266 def __eq__(self, other): member in class:ABCTestCase.validate_comparison.Other
269 __lt__ = __eq__
270 __gt__ = __eq__
271 __le__ = __eq__
272 __ge__ = __eq__
273 __ne__ = __eq__
274 __ror__ = __eq__
275 __rand__ = __eq__
276 __rxor__ = __eq__
277 __rsub__ = __eq__
310 __eq__ = Hashable.__eq__ # Silence Py3k warning variable in class:TestOneTrickPonyABCs.test_Hashable.H
    [all...]
test_mutants.py 101 def __eq__(self, other): member in class:Horrid
236 def __eq__(self, other): member in class:Machiavelli2
265 def __eq__(self, other): member in class:Machiavelli3
  /external/chromium_org/third_party/simplejson/
ordered_dict.py 112 def __eq__(self, other): member in class:OrderedDict
116 return dict.__eq__(self, other)
  /external/chromium_org/tools/find_runtime_symbols/
static_symbols.py 68 def __eq__(self, other): member in class:Procedure
74 return not self.__eq__(other)
97 def __eq__(self, other): member in class:ElfSection
111 return not self.__eq__(other)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
sets.py 108 # Three-way comparison is not supported. However, because __eq__ is
109 # tried before __cmp__, if Set x == Set y, x.__eq__(y) returns True and
121 # a Set and y contain's a non-set ("in" invokes only __eq__).
122 # Subtle: it would be nicer if __eq__ and __ne__ could return
126 # comparison (which would always return False for __eq__ and always
128 # *also* implements __cmp__: if, e.g., __eq__ returns NotImplemented,
131 def __eq__(self, other): member in class:BaseSet
554 self._data = set._data # Needed by ImmutableSet.__eq__()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sets.py 108 # Three-way comparison is not supported. However, because __eq__ is
109 # tried before __cmp__, if Set x == Set y, x.__eq__(y) returns True and
121 # a Set and y contain's a non-set ("in" invokes only __eq__).
122 # Subtle: it would be nicer if __eq__ and __ne__ could return
126 # comparison (which would always return False for __eq__ and always
128 # *also* implements __cmp__: if, e.g., __eq__ returns NotImplemented,
131 def __eq__(self, other): member in class:BaseSet
554 self._data = set._data # Needed by ImmutableSet.__eq__()
  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
containers.py 72 # The concrete classes should define __eq__.
176 def __eq__(self, other): member in class:RepeatedScalarFieldContainer
262 def __eq__(self, other): member in class:RepeatedCompositeFieldContainer
  /external/protobuf/python/google/protobuf/internal/
containers.py 72 # The concrete classes should define __eq__.
165 def __eq__(self, other): member in class:RepeatedScalarFieldContainer
237 def __eq__(self, other): member in class:RepeatedCompositeFieldContainer
  /external/chromium_org/chrome/common/extensions/docs/server2/
file_system.py 16 def __eq__(self, other): member in class:StatInfo
path_canonicalizer.py 46 def __eq__(self, _): raise NotImplementedError() member in class:PathCanonicalizer.Canonicalize.ReturnType
servlet.py 108 def __eq__(self, other): member in class:Response

Completed in 1336 milliseconds

1 2 3 4 5 6 7