Ejemplo n.º 1
0
 def callback_scintillawrapper_int_string_stringresult(self, args):
     editor.setProperty('pythonscript.unittest', 'test1234')
     propertyValue = editor.getProperty('pythonscript.unittest')
     self.assertEqual(propertyValue, 'test1234')
     self.callbackCalled = True
Ejemplo n.º 2
0
 def test_scintillawrapper_void_string_string(self):
     editor.setProperty('pythonscript.unittest', 'void_string_string')
     value = editor.getProperty('pythonscript.unittest')
     editor.setProperty('pythonscript.unittest', '')   # clear the property out again
     self.assertEqual(value, 'void_string_string')
Ejemplo n.º 3
0
 def test_scintillawrapper_int_string_stringresult(self):
     editor.setProperty('pythonscript.unittest', 'test1234')
     propertyValue = editor.getProperty('pythonscript.unittest')
     self.assertEqual(propertyValue, 'test1234')