Exemplo n.º 1
0
        public void VibratePatternConverToNumberArray()
        {
            var type = CreateTypeDefinition("VibratePattern");
            var name = NameService.GetTypeName(type);

            Assert.AreEqual("int[]", name);
        }
Exemplo n.º 2
0
        public void GenericTypes(string genericType, string typeParameter1, string expectedType)
        {
            var type = CreateSingleParameterGeneric(genericType, typeParameter1);
            var name = NameService.GetTypeName(type);

            Assert.AreEqual(expectedType, name);
        }
Exemplo n.º 3
0
        public void RegularTypes(string idlType, string csharpType)
        {
            var type = CreateTypeDefinition(idlType);
            var name = NameService.GetTypeName(type);

            Assert.AreEqual(csharpType, name);
        }