Actionscript

Java code posted by Gavin
created at 18 Feb 14:46, updated at 18 Feb 14:48

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.ipos.utils 
{
  import asunit.framework.TestCase;

  import com.adobe.cairngorm.control.CairngormEventDispatcher;
  import com.ipos.events.ChangeChapterEvent;
  import com.ipos.events.LogEvent;

  public class ScriptManagerTest extends TestCase 
  {
    //test data - valid script that should fire out a ChangeChapterEvent 
    //with a type of TO, and the playlistId of test1 and the chapterId of
    //some chapter
    private var validScript1:String = "ChangeChapter:TO playlistId:test1 chapterId:someChapter";
524 Bytes in 2 ms with coderay