Lines Matching +full:- +full:y
2 # -*- coding: utf-8 -*-
12 # http://www.apache.org/licenses/LICENSE-2.0
62 raise AssertionError('Unknown --transport option: %s' % options.trans)
87 বাংলা, Brezhoneg, Bosanski, Català, Mìng-dĕ̤ng-ngṳ̄, Нохчийн,
95 ქართული, Kongo, Kalaallisut, ಕನ್ನಡ, 한국어, Къарачай-Малкъар,
108 Bân-lâm-gú, 粵語"""
128 self.assertEqual(self.client.testByte(-127), -127)
132 self.assertEqual(self.client.testI32(-1), -1)
138 self.assertEqual(self.client.testI64(-34359738368), -34359738368)
142 self.assertEqual(self.client.testDouble(-5.235098235), -5.235098235)
144 self.assertEqual(self.client.testDouble(-1), -1)
145 self.assertEqual(self.client.testDouble(-0.000341012439638598279), -0.000341012439638598279)
157 x.i32_thing = -3
158 x.i64_thing = -5
159 y = self.client.testStruct(x)
160 self.assertEqual(y, x)
164 inner = Xtruct(string_thing="Zero", byte_thing=1, i32_thing=-3, i64_thing=-5)
166 y = self.client.testNest(x)
167 self.assertEqual(y, x)
171 x = {0: 1, 1: 2, 2: 3, 3: 4, -1: -2}
172 y = self.client.testMap(x)
173 self.assertEqual(y, x)
178 y = self.client.testSet(x)
179 self.assertEqual(y, x)
183 x = [1, 4, 9, -42]
184 y = self.client.testList(x)
185 self.assertEqual(y, x)
190 y = self.client.testEnum(x)
191 self.assertEqual(y, x)
196 y = self.client.testTypedef(x)
197 self.assertEqual(y, x)
202 -4: {-4: -4, -3: -3, -2: -2, -1: -1},
205 y = self.client.testMapMap(42)
206 self.assertEqual(y, x)
211 y = self.client.testMulti(xpected.byte_thing,
217 self.assertEqual(y, xpected)
256 y = self.client.testMultiException('success', 'foobar')
257 self.assertEqual(y.string_thing, 'foobar')
264 self.assertTrue(end - start < 3,
265 "oneway sleep took %f sec" % (end - start))
413 if options.proto == 'binary': # look for --proto on cmdline
438 raise AssertionError('Unknown protocol given with --protocol: %s' % options.proto)
453 parser.add_option('--libpydir', type='string', dest='libpydir',
455 parser.add_option('--genpydir', type='string', dest='genpydir',
457 parser.add_option("--port", type="int", dest="port",
459 parser.add_option("--host", type="string", dest="host",
461 parser.add_option("--zlib", action="store_true", dest="zlib",
463 parser.add_option("--ssl", action="store_true", dest="ssl",
465 parser.add_option("--http", dest="http_path",
467 parser.add_option('-v', '--verbose', action="store_const",
470 parser.add_option('-q', '--quiet', action="store_const",
473 parser.add_option('--protocol', dest="proto", type="string",
475 parser.add_option('--transport', dest="trans", type="string",
477 parser.add_option('--domain-socket', dest="domain_socket", type="string",