pitivi r1048 - in branches/PITIVI_SOC_2007: . pitivi/timeline tests



Author: edwardrv
Date: 2007-08-25 17:20:59 +0100 (Sat, 25 Aug 2007)
New Revision: 1048
ViewCVS link: http://svn.gnome.org/viewcvs/pitivi?rev=1048&view=rev

Modified:
   branches/PITIVI_SOC_2007/ChangeLog
   branches/PITIVI_SOC_2007/pitivi/timeline/composition.py
   branches/PITIVI_SOC_2007/pitivi/timeline/objects.py
   branches/PITIVI_SOC_2007/pitivi/timeline/source.py
   branches/PITIVI_SOC_2007/tests/common.py
   branches/PITIVI_SOC_2007/tests/runtests.py
   branches/PITIVI_SOC_2007/tests/test_timeline_composition.py
   branches/PITIVI_SOC_2007/tests/test_timeline_objects.py
   branches/PITIVI_SOC_2007/tests/test_timeline_source.py
Log:
* pitivi/timeline/composition.py:
Compositions don't require factories.
Fixup Serializable-related methods, even though they don't do much yet.
The TimelineComposition is going to require a refactoring before I go
any further.
* pitivi/timeline/objects.py:
Use weakref proxy objects for storing objects requiring objects that
aren't created yet. This allows objects to be properly free'd once
nobody use them.
Add TimelineObject.__requires_factory__ to specify if the class needs
an object factory in order to create its gnlobject.
Fix up Serializable methods to take into account the fact that some
classes don't use object factories.
* pitivi/timeline/source.py:
Add __requires_factory__ to needed classes.
Fix up wrong use of __data_type__.
Added documentation of Serializable properties.
Delay media-duration/start handling until we have a gnlobject.
Fix Serializable methods.
* tests/common.py:
Fix TestTimelineFileSource for new behaviour.
* tests/runtests.py:
white line fixes...
* tests/test_timeline_composition.py:
Also check for proper composition 'start-duration-changed' signal
emission.
Add extremely basic serialization test.
* tests/test_timeline_objects.py:
Added tests for making sure the proper number of instances are
registered in BrotherObjects.__instances__
* tests/test_timeline_source.py:
Added tests for Serializable methods.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]