예제 #1
0
 def testObjectType1(self):
     self.assertTrue(sample.cppTypeIsObjectType('ObjectType'))
     self.assertFalse(sample.cppTypeIsValueType('ObjectType'))
예제 #2
0
 def testUsersPrimitiveType(self):
     self.assertFalse(sample.cppTypeIsValueType('Complex'))
     self.assertFalse(sample.cppTypeIsObjectType('Complex'))
예제 #3
0
 def testContainerType(self):
     self.assertFalse(sample.cppTypeIsValueType('std::list<int>'))
     self.assertFalse(sample.cppTypeIsObjectType('std::list<int>'))
예제 #4
0
 def testValueType2(self):
     self.assertTrue(sample.cppTypeIsValueType('Point*'))
     self.assertFalse(sample.cppTypeIsObjectType('Point*'))