-
-MLT Miracle Test Procedure
+Miracle Test Procedure
Copyright (C) 2003 Ushodaya Enterprised Limited
Author: Dan Dennedy <dan@dennedy.org>
-Last Revision: 2003-01-17
+Last Revision: 2004-03-20
+
NOTE: THIS DOCUMENT REQUIRES REVISION TO NEW, EXPECTED BEHAVIOR FROM MIRACLE.
--> 201 OK
--> one or more lines listing devices with GUID in second column
-2.2 Add a device as a miracle unit: UADD {sdl, bluefish}:{NTSC, PAL}
+2.2 Add a device as a miracle unit: UADD {sdl, bluefish}
--> 201 OK
--> U0
--> U0 ?? {sdl, bluefish} 1
--> It is important that the last column is '1' to indicate it is online.
-2.4 Add an offline unit by using some bogus GUID value: UADD foo
---> 201 OK
---> U1
-
-2.3 List the units: ULS
+2.4 List the units: ULS
--> 201 OK
---> U0 ?? {GUID} 1
---> U1 00 0000000f00055c1 0
---> It is important that the last column of the last row is '0' to
- indicate offline.
+--> U0 ?? {sdl, bluefish} 1
-2.4 Attempt unit commands for a unit that does not exist: LOAD U6 foo
+2.5 Attempt unit commands for a unit that does not exist: LOAD U6 foo
--> 403 Unit not found
-2.5 Attempt unit commands without specifying a unit: PLAY
+2.6 Attempt unit commands without specifying a unit: PLAY
--> 402 Argument missing
-2.6 Attempt unit commands for a unit that is offline: PLAY U1
---> 403 Unit not found
+2.7 Attempt unit commands for a unit: PLAY U0
+--> 200 OK
-2.7.0 Load a clip into an offline unit: LOAD U1 test.dv
+2.8.0 Load a clip into an unit: LOAD U0 test.dv
--> 200 OK
-2.7.1 Verify the status of the offline unit: USTA U1
+2.7.1 Verify the status of the unit: USTA U0
--> 202 OK
---> 1 offline "test.dv" 0 1000 25.00 0 ...
+--> 0 online "test.dv" 0 1000 25.00 0 ...
--> only the first 3 columns are relevant in this test
-2.9 Set the property of an online unit: USET U0 points=use
---> 200 OK
-
-2.8 Set the property of an offline unit: USET U1 points=ignore
---> 200 OK
-
3. Server Configuration
-----------------------
--> 1
--> 0 "test001.dv" 0 6999 7000 7000 25.00
--> The 1 on the second line denotes the number of times the list has been changed
- via user commands (known as the 'generation' number).
+ via user commands (known as the 'generation' number).
--> The third line and beyond reports the clip index (from 0 to n), file loaded, in point,
- out point, real size of the file and the calculated size (out - in + 1 ).
+ out point, real size of the file and the calculated size (out - in + 1 ).
9.1.4 Check the unit status with USTA U0
--> 202 OK
--> 1 "test002.dv" 0 6999 7000 7000
--> Check that USTA U0 reports a generation of 4 and current clip of 0
--> Note that the order in which you run 9.1.6 and 9.1.7 shouldn't matter as the
- result will be identical
+ result will be identical
9.1.8 Change the position to the next clip with GOTO U0 0 +1
--> 200 OK