;========================================================================== ; MODULE: AviSniff.txt ; AUTHOR: JohnMil ; DATE: 9-10-92 ; ; This is the data file for testing to make sure that AVI's command ; set has all options implemented, it essentially exercises each option of ; each command once. ; ; Rules for construction of this data file can be found in MCI\MCIGen\TestLoop. ; ;========================================================================== ; ; ;==================== TestCase TC_AVI_SNIFF ;==================== ; close all 0 open %element% type %driver% alias %alias% 0 =%DevNum% capability %alias% can eject 0 false capability %alias% can freeze 0 false capability %alias% can lock 0 false capability %alias% can play 0 true capability %alias% can record 0 false capability %alias% can reverse 0 true capability %alias% can save 0 false capability %alias% can stretch 0 true capability %alias% can stretch input 0 false capability %alias% can test 0 true capability %alias% compound device 0 true capability %alias% device type 0 digitalvideo capability %alias% has audio 0 true capability %alias% has still 0 false capability %alias% has video 0 true capability %alias% uses files 0 true capability %alias% uses palettes 0 true close %alias% 0 open %element% type %driver% alias %alias% 0 * !Configure is not tested by SNIFF at this time. ;configure %alias% ;0 ; cue %alias% output 0 cue %alias% output to 10 0 info %alias% file 0 * info %alias% product 0 Video for Windows* ; ;JQ 9/may/95 "info version" now returns the version number. ;So change expected value from "Video for Windows*" to "1.1" ; info %alias% version 0 1.1 info %alias% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% window text 0 =%text% close all 0 open %element% 0 * close %element% 0 open %element% alias %alias% 0 * close %alias% 0 open %element% parent 1234 MCIERR_CREATEWINDOW open %element% style overlapped 0 * close %element% 0 ! 'open %element% style popup' needs to be re-enabled. ;open %element% style popup ;0 ;* ;close %element% ;0 ; open %element% style child * open %element% type %driver% 0 * close %element% 0 open %element% type %driver% alias %alias% 0 * play %alias% 0 pause %alias% 0 play %alias% 0 play %alias% from 10 0 play %alias% fullscreen * play %alias% repeat 0 play %alias% reverse 0 play %alias% to 30 0 play %alias% window 0 put %alias% destination at 1 1 100 100 0 put %alias% destination 0 put %alias% source at 1 1 100 100 0 put %alias% source 0 realize %alias% background 0 !'realize window at a b c d' isn't implemented in windows. ;realize %alias% window at 1 1 100 100 ;0 ; realize %alias% normal 0 play %alias% from 0 0 pause %alias% 0 resume %alias% 0 seek %alias% to 30 0 seek %alias% to end 0 seek %alias% to start 0 set %alias% audio all off 0 set %alias% audio all on 0 set %alias% video off 0 set %alias% video on 0 set %alias% seek exactly on 0 set %alias% seek exactly off 0 set %alias% speed 1000 0 set %alias% time format ms 0 set %alias% time format milliseconds 0 set %alias% time format frames 0 setaudio %alias% off 0 setaudio %alias% on 0 setaudio %alias% volume to 1000 0 setvideo %alias% off 0 setvideo %alias% on 0 setvideo %alias% palette handle to 1234 * play %alias% repeat 0 signal %alias% at 10 0 signal %alias% every 20 0 signal %alias% at 20 return position 0 signal %alias% every 15 return position 0 signal %alias% cancel 0 signal %alias% at 60 uservalue 1 0 signal %alias% cancel uservalue 1 0 signal %alias% every 20 uservalue 2 0 signal %alias% cancel 0 signal %alias% at 70 return position uservalue 3 0 signal %alias% cancel 0 signal %alias% every 15 return position uservalue 5 0 stop %alias% 0 status %alias% audio 0 on status %alias% forward 0 TRUE status %alias% length 0 =%length% status %alias% media present 0 TRUE status %alias% mode 0 * status %alias% monitor 0 file status %alias% nominal frame rate 0 * status %alias% number of tracks 0 1 status %alias% palette handle 0 * status %alias% position 0 * status %alias% ready 0 TRUE status %alias% reference 30 0 * status %alias% seek exactly 0 OFF status %alias% speed 0 * status %alias% start position 0 * status %alias% time format 0 frames status %alias% unsaved 0 FALSE status %alias% video 0 ON status %alias% window handle 0 * status %alias% window visible 0 * status %alias% window minimized 0 * status %alias% window maximized 0 * seek %alias% to start 0 step %alias% 0 step %alias% by 30 0 step %alias% reverse 0 step %alias% by -10 0 stop %alias% 0 update %alias% 0 update %alias% at 1 1 100 100 0 update %alias% hdc 1234 0 update %alias% paint 0 where %alias% destination 0 * where %alias% destination max 0 * where %alias% source 0 * where %alias% source max 0 * where %alias% window 0 * where %alias% window max 0 * window %alias% handle 1234 MCIERR_NO_WINDOW window %alias% handle default 0 window %alias% state hide 0 window %alias% state minimize 0 window %alias% state restore 0 window %alias% state show 0 window %alias% state show minimized 0 window %alias% state show maximized 0 window %alias% state show min noactive 0 window %alias% state show na 0 window %alias% state show noactivate 0 window %alias% state show normal 0 window %alias% text "Eat My Grits" 0 close %alias% * * ;