mojo/public/tools/mojom/mojom/generate/translate_unittest.py
def testAssociatedKinds(self):
    """Tests type spec translation of associated interfaces and requests."""
    # pylint: disable=W0212
    self.assertEquals(
        translate._MapKind("asso<SomeInterface>?"), "?asso:x:SomeInterface")
    self.assertEquals(
        translate._MapKind("asso<SomeInterface&>?"), "?asso:r:x:SomeInterface")
Tests type spec translation of associated interfaces and requests.
Tests type spec translation of associated interfaces and requests.
Tests type spec translation of associated interfaces and requests .
def testAssociatedKinds(self):
    self.assertEquals(
        translate._MapKind("asso<SomeInterface>?"), "?asso:x:SomeInterface")
    self.assertEquals(
        translate._MapKind("asso<SomeInterface&>?"), "?asso:r:x:SomeInterface")
def testAssociatedKinds ( self ) : self . assertEquals ( translate . _MapKind ( "asso<SomeInterface>?" ) , "?asso:x:SomeInterface" ) self . assertEquals ( translate . _MapKind ( "asso<SomeInterface&>?" ) , "?asso:r:x:SomeInterface" )
Tests type spec translation of associated interfaces and requests.
Tests type spec translation of associated interfaces and requests .
"""Tests type spec translation of associated interfaces and requests.""" # pylint: disable=W0212
self