~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to testsuite/misc-ming.all/frame_label_test.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-13 14:29:49 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20081013142949-f6qdvnu4mn05ltdc
Tags: 0.8.4~~bzr9980-0ubuntu1
* new upstream release 0.8.4 (LP: #240325)
* ship new lib usr/lib/gnash/libmozsdk.so.* in mozilla-plugin-gnash
  - update debian/mozilla-plugin-gnash.install
* ship new lib usr/lib/gnash/libgnashnet.so.* in gnash-common
  - update debian/gnash-common.install
* add basic debian/build_head script to build latest CVS head packages.
  - add debian/build_head
* new sound architecture requires build depend on libsdl1.2-dev
  - update debian/control
* head build script now has been completely migrated to bzr (upstream +
  ubuntu)
  - update debian/build_head
* disable kde gui until klash/qt4 has been fixed; keep kde packages as empty
  packages for now.
  - update debian/rules
  - debian/klash.install
  - debian/klash.links
  - debian/klash.manpages
  - debian/konqueror-plugin-gnash.install
* drop libkonq5-dev build dependency accordingly
  - update debian/control
* don't install headers manually anymore. gnash doesnt provide a -dev
  package after all
  - update debian/rules
* update libs installed in gnash-common; libgnashserver-*.so is not available
  anymore (removed); in turn we add the new libgnashcore-*.so
  - update debian/gnash-common.install
* use -Os for optimization and properly pass CXXFLAGS=$(CFLAGS) to configure
  - update debian/rules
* touch firefox .autoreg in postinst of mozilla plugin
  - update debian/mozilla-plugin-gnash.postinst
* link gnash in ubufox plugins directory for the plugin alternative switcher
  - add debian/mozilla-plugin-gnash.links
* suggest ubufox accordingly
  - update debian/control
* add new required build-depends on libgif-dev
  - update debian/control
* add Xb-Npp-Description and Xb-Npp-File as new plugin database meta data
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
  add_clip_actions(mc1, "_root.x8 = 'mc1_frame8'; stop(); ");
106
106
  SWFMovieClip_labelFrame(mc1, "frame8");
107
107
  SWFMovieClip_nextFrame(mc1); 
108
 
  
 
108
  add_clip_actions(mc1, "_root.x9 = 'small_first'; stop(); ");
 
109
  SWFMovieClip_labelFrame(mc1, "small_first");
 
110
  SWFMovieClip_nextFrame(mc1); 
 
111
  add_clip_actions(mc1, "_root.x9 = 'Small_first'; stop(); ");
 
112
  SWFMovieClip_labelFrame(mc1, "Small_first");
 
113
  SWFMovieClip_nextFrame(mc1);   
 
114
  add_clip_actions(mc1, "_root.x10 = 'mc1_frame10'; stop(); ");
 
115
  SWFMovieClip_labelFrame(mc1, "frame10");
 
116
  SWFMovieClip_nextFrame(mc1);  
 
117
  add_clip_actions(mc1, "_root.x11 = 'Big_first'; stop(); ");
 
118
  SWFMovieClip_labelFrame(mc1, "Big_first");
 
119
  SWFMovieClip_nextFrame(mc1); 
 
120
  add_clip_actions(mc1, "_root.x11 = 'big_first'; stop(); ");
 
121
  SWFMovieClip_labelFrame(mc1, "big_first");
 
122
  SWFMovieClip_nextFrame(mc1); 
 
123
 
109
124
    
110
125
  /* place _root.mc1 */
111
126
  it1 = SWFMovie_add(mo, (SWFBlock)mc1); 
123
138
                  " gotoAndPlay(lable); "           //GotoExpression
124
139
                  " "CALLFRAME"('/mc1/mc11/:frame6'); "
125
140
                  " "CALLFRAME"('mc1:7'); "
126
 
                  " "CALLFRAME"('mc1/:frame8'); ");      
 
141
                  " "CALLFRAME"('mc1/:frame8'); "
 
142
                  " "CALLFRAME"('mc1/:Small_first'); "
 
143
                  " "CALLFRAME"('mc1/:Frame10'); "
 
144
                  " "CALLFRAME"('mc1/:big_first'); ");      
127
145
                  
128
146
  SWFMovie_nextFrame(mo); /* 3rd frame of _root */
129
147
   
135
153
  check_equals(mo, "_root.x3", "'mc11_frame6'");
136
154
  check_equals(mo, "_root.x7", "'mc1_frame7'");
137
155
  check_equals(mo, "_root.x8", "'mc1_frame8'");
 
156
  check_equals(mo, "_root.x9", "'small_first'");
 
157
  check_equals(mo, "_root.x10", "'mc1_frame10'");
 
158
  check_equals(mo, "_root.x11", "'Big_first'");
138
159
  /* seems that GotoLabel does not support target_path */
139
160
  check_equals(mo, "_root.x4", "0");
140
161
  check_equals(mo, "_root.x5", "0");