OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sample_service_mojom
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/mojo/python/tests/
bindings_constants_unittest.py
10
import
sample_service_mojom
namespace
16
self.assertEquals(
sample_service_mojom
.TWELVE, 12)
17
self.assertEquals(
sample_service_mojom
.TOO_BIG_FOR_SIGNED_INT64,
19
self.assertEquals(
sample_service_mojom
.DOUBLE_INFINITY,
21
self.assertEquals(
sample_service_mojom
.DOUBLE_NEGATIVE_INFINITY,
23
self.assertTrue(math.isnan(
sample_service_mojom
.DOUBLE_NA_N))
24
self.assertEquals(
sample_service_mojom
.FLOAT_INFINITY,
26
self.assertEquals(
sample_service_mojom
.FLOAT_NEGATIVE_INFINITY,
28
self.assertTrue(math.isnan(
sample_service_mojom
.FLOAT_NA_N))
31
self.assertEquals(
sample_service_mojom
.Foo.FOOBY, "Fooby"
[
all
...]
bindings_enums_unittest.py
10
import
sample_service_mojom
namespace
38
self.assertEquals(
sample_service_mojom
.Bar.Type.VERTICAL, 1)
39
self.assertEquals(
sample_service_mojom
.Bar.Type.HORIZONTAL, 2)
40
self.assertEquals(
sample_service_mojom
.Bar.Type.BOTH, 3)
41
self.assertEquals(
sample_service_mojom
.Bar.Type.INVALID, 4)
bindings_serialization_deserialization_unittest.py
16
import
sample_service_mojom
namespace
58
bar_instance =
sample_service_mojom
.Bar()
62
bar_instance.type =
sample_service_mojom
.Bar.Type.BOTH
67
foo_instance =
sample_service_mojom
.Foo()
109
sample_service_mojom
.Foo.Deserialize(data, handles))
114
foo2 =
sample_service_mojom
.Foo.Deserialize(data, handles)
118
v1 =
sample_service_mojom
.DefaultsTest()
125
v2 =
sample_service_mojom
.DefaultsTest.Deserialize(data, handles)
130
sample_service_mojom
.Foo.Deserialize("", [])
bindings_structs_unittest.py
15
import
sample_service_mojom
namespace
21
self.assertEquals(
sample_service_mojom
.DefaultsTest.__module__,
22
'
sample_service_mojom
')
25
defaults_test =
sample_service_mojom
.DefaultsTest()
46
self.assertEquals(defaults_test.a20,
sample_service_mojom
.Bar.Type.BOTH)
60
foo1 =
sample_service_mojom
.Foo()
61
foo2 =
sample_service_mojom
.Foo()
67
defaults_test1 =
sample_service_mojom
.DefaultsTest()
68
defaults_test2 =
sample_service_mojom
.DefaultsTest()
72
foo_instance =
sample_service_mojom
.Foo(
[
all
...]
Completed in 218 milliseconds