Enlightenment CVS committal
Author : barbieri
Project : e17
Module : proto
Dir : e17/proto/python-efl/python-ecore/tests
Modified Files:
01-basics.py 02-timer.py 03-animator.py 04-idler.py
05-idle_enterer.py 06-idle_exiter.py 07-fd_handler.py
Log Message:
init is now implicit, you can still call <module>.c_<module>.init()
shutdown() is optional, just used in tests to check if things are being
released as expected.
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/01-basics.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- 01-basics.py 30 Apr 2007 20:17:48 -0000 1.1
+++ 01-basics.py 19 Jul 2007 16:07:06 -0000 1.2
@@ -6,8 +6,6 @@
class TestBasics(unittest.TestCase):
def testInit(self):
- count = ecore.init()
- self.assertEqual(count, 1)
count = ecore.shutdown()
self.assertEqual(count, 0)
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/02-timer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- 02-timer.py 13 May 2007 20:52:39 -0000 1.2
+++ 02-timer.py 19 Jul 2007 16:07:06 -0000 1.3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
import ecore
-ecore.init()
def cb(n, t, a):
print "cb:", n, t, a
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/03-animator.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- 03-animator.py 13 May 2007 20:52:39 -0000 1.2
+++ 03-animator.py 19 Jul 2007 16:07:06 -0000 1.3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
import ecore
-ecore.init()
def cb_true(n, t, a):
print "cb_true:", n, t, a
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/04-idler.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- 04-idler.py 13 May 2007 20:52:39 -0000 1.2
+++ 04-idler.py 19 Jul 2007 16:07:06 -0000 1.3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
import ecore
-ecore.init()
def cb_true(n, t, a):
print "cb_true:", n, t, a
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/05-idle_enterer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- 05-idle_enterer.py 13 May 2007 20:52:39 -0000 1.2
+++ 05-idle_enterer.py 19 Jul 2007 16:07:06 -0000 1.3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
import ecore
-ecore.init()
def cb_true(n, t, a):
print "cb_true:", n, t, a
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/06-idle_exiter.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- 06-idle_exiter.py 13 May 2007 20:52:39 -0000 1.2
+++ 06-idle_exiter.py 19 Jul 2007 16:07:06 -0000 1.3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
import ecore
-ecore.init()
def cb_true(n, t, a):
print "cb_true:", n, t, a
===================================================================
RCS file: /cvs/e/e17/proto/python-efl/python-ecore/tests/07-fd_handler.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- 07-fd_handler.py 13 May 2007 20:51:38 -0000 1.1
+++ 07-fd_handler.py 19 Jul 2007 16:07:06 -0000 1.2
@@ -3,7 +3,6 @@
import ecore
import os
-ecore.init()
def cb_read1(fd_handler, a, b):
data = os.read(fd_handler.fd, 50)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs