Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Update of /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32325
Characterization test for uninitialized sequence.
RCS file: /cvsroot/aaf/AAF/test/com/ComModTestAAF/ModuleTests/CAAFSequenceTest.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** CAAFSequenceTest.cpp 3 Oct 2008 14:49:17 -0000 1.39
--- CAAFSequenceTest.cpp 26 Feb 2009 17:26:50 -0000 1.40
*** 150,154 ****
--- 150,184 ----
+ HRESULT TestDefinitions(CAAFBuiltinDefs *defs)
+ HRESULT hr = S_OK;
+ IAAFSequence* pSequence = NULL;
+ IAAFComponent *pCompLengthCheck = NULL;
+ IAAFComponent* pComponent = NULL;
+ // Add mob slot w/ sequence
+ (IUnknown **)&pSequence)); //Instantiate the sequence
+ This is a charaterization test.
+ This test confirms the erroneus behavior that inserting components into an uninitialized sequence succeeds.
+ The insert will succeed and leave the sequence uninitialized.
+ This behaviour is wrong but legacy code probably depends on it.
+ The correct behaviour would be to return AAFRESULT_NOT_INITIALIZED on any attempt to maninpulat the sequence before it is initialized.
+ //Attempt to insert a component before the sequence datadef is set
+ InstantiateComponent(defs, COMPONENT_TEST_LENGTH, pComponent);
+ checkExpression(AAFRESULT_SUCCESS == pSequence->PrependComponent(pComponent), AAFRESULT_TEST_FAILED);
+ pComponent = NULL;
+ pSequence = 0;
+ return hr;
*** 545,548 ****
--- 575,579 ----
Sign up for the SourceForge newsletter: