Searched defs:TestMinAndMaxIntegers (Results 1 - 2 of 2) sorted by path

/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py598 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): function in function:ReflectionTest.testSingleScalarBoundsChecking
607 TestMinAndMaxIntegers('optional_int32', -(1 << 31), (1 << 31) - 1)
608 TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff)
609 TestMinAndMaxIntegers('optional_int64', -(1 << 63), (1 << 63) - 1)
610 TestMinAndMaxIntegers('optional_uint64', 0, 0xffffffffffffffff)
/external/protobuf/python/google/protobuf/internal/
H A Dreflection_test.py512 def TestMinAndMaxIntegers(field_name, expected_min, expected_max): function in function:ReflectionTest.testSingleScalarBoundsChecking
519 TestMinAndMaxIntegers('optional_int32', -(1 << 31), (1 << 31) - 1)
520 TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff)
521 TestMinAndMaxIntegers('optional_int64', -(1 << 63), (1 << 63) - 1)
522 TestMinAndMaxIntegers('optional_uint64', 0, 0xffffffffffffffff)
523 TestMinAndMaxIntegers('optional_nested_enum', -(1 << 31), (1 << 31) - 1)

Completed in 153 milliseconds