l("ok 2/3");
run(function(text) {trace(text)}, "ok 3/3")
+
+ trace("[exit]");
}
}
}
if(b[1]==2) trace("ok 6/8");
if(b[2]==3) trace("ok 7/8");
if(b.length=3) trace("ok 8/8");
+
+ trace("[exit]");
}
}
}
var d:int = 4;
a += b += c += d += 1
assert(a==11 && b==10 && c==8 && d==5);
+
+ trace("[exit]");
}
}
}
if(true || error() || false) trace("ok 12/16");
if(ok3() || true || true) trace("ok 14/16");
if(false || false || ok4()) trace("ok 16/16");
+
+ trace("[exit]");
}
}
}
x = (new Other).print2;
x();
+
+ trace("[exit]");
}
}
}
break;
trace("error");
}
+
+ trace("[exit]");
}
}
}
}
if(i!=30) trace("error");
else trace("ok 4/4");
+
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
function Main() {
trace("ok");
+ trace("[exit]");
}
}
/* explicitly internal */
function Main() {
trace(Main.message);
+ trace("[exit]");
}
}
}
if(b>d) trace("error");else trace("ok 17/18");
trace("ok 18/18");
+
+ trace("[exit]");
}
}
}
trace(ok2);
trace(this.ok3);
trace(Main.ok4);
+
+ trace("[exit]");
}
}
}
trace(foobar.z);
foobar.f1();
foobar.f2();
+
+ trace("[exit]");
}
}
}
if(j==300)
trace("ok 6/6");
+
+ trace("[exit]");
}
}
}
testfalse();
testnull();
testfloat2();
+
+ trace("[exit]");
}
}
}
if(this.u==0) trace("ok 12/14");
if(String(this.f)=="NaN") trace("ok 13/14");
if(this.m===null) trace("ok 14/14");
+
+ trace("[exit]");
}
}
}
a[3]==4) trace("ok 2/2");
//TODO: we can also delete from XML
+
+ trace("[exit]");
}
}
}
x.f = function() {trace("ok 2/2")};
x.f();
+
+ trace("[exit]");
}
}
}
} else {
trace("error");
}
+
+ trace("[exit]");
}
}
}
var x:I2 = new C;
x.f();
x.g();
+
+ trace("[exit]");
}
}
}
if(x is D) trace("ok 3/5");
if(x instanceof X) trace("ok 4/5");
if(x instanceof D) trace("ok 5/5");
+
+ trace("[exit]");
}
}
}
}
function Main() {
test("ok", 1,2,3,4);
+ trace("[exit]");
}
}
}
test_exception();
test_exception2();
test_exception3();
+ trace("[exit]");
}
}
}
test_exception3();
test_empty();
test_mixed();
+ trace("[exit]");
}
}
}
if(b==10.0) trace("ok 6/8");
if(c==0.25) trace("ok 7/8");
if(d==10.625) trace("ok 8/8");
+ trace("[exit]");
}
}
}
continue;
}
if(j==16) trace("ok 5/5");
+ trace("[exit]");
}
}
}
for(var a2=0;a2<99;a2++) {
if(a2==80) trace("ok 4/4");
}
+ trace("[exit]");
}
}
}
}
if(z==9) trace("ok 2/2");
else trace("error");
+ trace("[exit]");
}
}
}
this.b(2);
this.c = ok3;
if(!this.c()) trace("error");
+ trace("[exit]");
}
}
}
var t:Test = new Test();
t.x++;
t.n = 3;
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
public function Main() {
p_A()
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
public function Main () {
run();
+ trace("[exit]");
}
}
}
public function Main() {
f(); // run static function
print_xx();
+ trace("[exit]");
}
}
}
else if(false) trace("error");
else if(true) trace("ok 5/5");
else if(false) trace("error");
+ trace("[exit]");
}
}
}
new Class2();
var t = new TextEvent("type",true,true,"ok 3/3");
trace(t.text);
+ trace("[exit]");
}
}
}
if("r" in o) trace("ok 7/7");
delete o["r"];
if("r" in o) trace("error");
+ trace("[exit]");
}
}
}
function Main() {
var x:I1 = new TestI1();
x.f();
+ trace("[exit]");
}
}
public interface I2 {
message1 = "ok 1/2";
this.message2 = "ok 2/2";
printok1();
+ trace("[exit]");
}
public function printok1() {
printok2(17);
cls.c += 1;
cls.c -= cls.a;
+ trace("[exit]");
}
}
}
my.namespaces.Test.test()
my.namespaces.Test.test3()
+ trace("[exit]");
}
}
}
trace(x1);
trace(x2);
+ trace("[exit]");
}
}
}
new x;
var y:Class = Class6;
new y;
+ trace("[exit]");
}
}
}
f1()
trace("ok 2/3")
f3()
+ trace("[exit]");
}
}
}
trace("ok 3/3");
}
f()
+trace("[exit]");
if(x === y) {
trace("ok 2/2");
}
+ trace("[exit]");
}
}
if(String(a14) == "171662463") trace("ok 14/15");
var a15 = -0xa3b5c7f;
if(String(a15) == "-171662463") trace("ok 15/15");
+ trace("[exit]");
}
}
}
/* test comma */
trace("[comma]");
assert( (1,2,3,4) == 4);
+
+ trace("[exit]");
}
}
}
}
trace(np_x);
+
+trace("[exit]");
var t = flash.utils.getTimer();
if(t is int)
trace("ok 4/4");
+
+ trace("[exit]");
}
}
}
v += 3,4;
compare(v,3)
+ trace("[exit]");
}
}
trace(m.ok1);
trace(m.ok2);
trace(m.ok3);
+
+ trace("[exit]");
}
}
}
else trace("error");
if(a[1]==1) trace("ok 2/2");
else trace("error");
+
+ trace("[exit]");
}
}
}
test5();
test6();
test7();
+
+ trace("[exit]");
}
}
}
public function Main() {
write(1);
+
+ trace("[exit]");
}
}
}
/* test quotes */
if(" \" ".search(/"/) == 1) trace("ok 6/7");
if(' \' '.search(/'/) == 1) trace("ok 7/7");
+
+ trace("[exit]");
}
}
}
trace((new Test).getok1());
var t = new Test;
trace(t.getok2());
+
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
function Main() {
trace("ok");
+ trace("[exit]");
}
}
}
trace(this.s2);
trace(this.s3);
trace(this.s4);
+ trace("[exit]");
}
}
}
if(TextEvent.TEXT_INPUT == "textInput")
trace("ok 10/10");
+ trace("[exit]");
}
}
}
else trace("ok 4/5");
if(this.mystring.charAt(3)!='\xff') trace("error");
else trace("ok 5/5");
+ trace("[exit]");
}
}
}
y.charAt(3) == "\\" &&
y.charAt(4) == "\7")
trace("ok 5/5")
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
function Main() {
new F
+ trace("[exit]");
}
}
}
switch(1) {
case 1: late1 = false; break;
}
+ trace("[exit]");
}
var late1:Boolean;
}
//omit "this":
s2 = "ok 4/4";
printok3();
+
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
public function Main() {
trace("ok");
+
+ trace("[exit]");
}
}
}
catch(x:*) {
trace((x as MyOtherError).ok5);
}
+ trace("[exit]");
}
}
if(int(false)==0) trace("ok 6/7");
trace(String(new C)) //will call toString()
+ trace("[exit]");
}
}
}
if(typeof(f)=="function") trace("ok 6/7");
if(typeof(Main)=="object" ||
typeof(Main)=="movieclip") trace("ok 7/7");
+ trace("[exit]");
}
}
}
public class Main extends flash.display.MovieClip {
public function Main() {
g()
+ trace("[exit]");
}
}
}
sum+=a;
if(sum!=4321) trace("error");
else trace("ok 3/3");
+ trace("[exit]");
}
}
}
trace(ok3);
ok4();
}
+ trace("[exit]");
}
}
}