X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=docs%2Ftesting.txt;h=2886989da09e1594a0ebcb76ecdc38667a1e60a5;hb=f12b5f24ed056d58463b83de181e9111e8a71c8a;hp=8d57a60e543a6f85f3ce0abb61438f18b4ca46ff;hpb=0da897ca44e4474bee8e7feee1b3e7044e149d88;p=melted diff --git a/docs/testing.txt b/docs/testing.txt index 8d57a60..2886989 100644 --- a/docs/testing.txt +++ b/docs/testing.txt @@ -1,9 +1,9 @@ - -MLT Miracle Test Procedure +Miracle Test Procedure Copyright (C) 2003 Ushodaya Enterprised Limited Author: Dan Dennedy -Last Revision: 2003-01-17 +Last Revision: 2004-03-20 + NOTE: THIS DOCUMENT REQUIRES REVISION TO NEW, EXPECTED BEHAVIOR FROM MIRACLE. @@ -115,7 +115,7 @@ level client (albino). --> 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 @@ -124,40 +124,27 @@ level client (albino). --> 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 ----------------------- @@ -501,9 +488,9 @@ document assumes that they are named test001.dv and up. --> 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 @@ -531,7 +518,7 @@ document assumes that they are named test001.dv and up. --> 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