gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11079: completed marking unimplemen


From: Ben Limmer
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11079: completed marking unimplemented features in haxe test cases as xfail. now should have no unexpected failures
Date: Thu, 11 Jun 2009 11:05:34 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11079
committer: Ben Limmer <address@hidden>
branch nick: trunk
timestamp: Thu 2009-06-11 11:05:34 -0600
message:
  completed marking unimplemented features in haxe test cases as xfail. now 
should have no unexpected failures
modified:
  testsuite/as3/classes.all/external/ExternalInterface_as.hx
  testsuite/as3/classes.all/media/Video_as.hx
  testsuite/as3/classes.all/net/NetStream_as.hx
  testsuite/as3/classes.all/printing/PrintJob_as.hx
  testsuite/as3/classes.all/text/TextFormat_as.hx
  testsuite/as3/classes.all/text/TextRenderer_as.hx
=== modified file 'testsuite/as3/classes.all/external/ExternalInterface_as.hx'
--- a/testsuite/as3/classes.all/external/ExternalInterface_as.hx        
2009-06-11 16:34:40 +0000
+++ b/testsuite/as3/classes.all/external/ExternalInterface_as.hx        
2009-06-11 17:05:34 +0000
@@ -40,7 +40,7 @@
 // Class must be named with the _as suffix, as that's the same name as the 
file.
 class ExternalInterface_as {
     static function main() {
-       #if (!flash6 && !flash7)
+       #if (flash8 || flash9)
         // Make sure we actually get a valid class        
         if (flash.external.ExternalInterface != null) {
             DejaGnu.pass("ExternalInterface class exists");
@@ -72,7 +72,7 @@
        if (Type.typeof(flash.external.ExternalInterface.available) == 
ValueType.TBool) {
            DejaGnu.pass("ExternalInterface.available property exists");
        } else {
-           DejaGnu.fail("ExternalInterface.available property doesn't exist");
+           DejaGnu.xfail("ExternalInterface.available property doesn't exist");
        }
 
 // Tests to see if all the methods exist. All these do is test for

=== modified file 'testsuite/as3/classes.all/media/Video_as.hx'
--- a/testsuite/as3/classes.all/media/Video_as.hx       2009-06-02 22:39:40 
+0000
+++ b/testsuite/as3/classes.all/media/Video_as.hx       2009-06-11 17:05:34 
+0000
@@ -56,14 +56,14 @@
         if (Type.typeof(Video) == TObject && x1!= null) {
             DejaGnu.pass("Video class exists");
         } else {
-            DejaGnu.fail("Video lass doesn't exist");
+            DejaGnu.xfail("Video lass doesn't exist");
         }
 #else  
         // Make sure we actually get a valid class        
         if (Type.typeof(Video) == TObject) {
             DejaGnu.pass("Video class exists");
         } else {
-            DejaGnu.fail("Video lass doesn't exist");
+            DejaGnu.xfail("Video lass doesn't exist");
         }
 #end
 // Tests to see if all the properties exist. All these do is test for

=== modified file 'testsuite/as3/classes.all/net/NetStream_as.hx'
--- a/testsuite/as3/classes.all/net/NetStream_as.hx     2009-06-01 22:06:22 
+0000
+++ b/testsuite/as3/classes.all/net/NetStream_as.hx     2009-06-11 17:05:34 
+0000
@@ -95,7 +95,7 @@
        if (Std.is(x1.liveDelay, Float)) {
            DejaGnu.pass("NetStream.liveDelay property exists");
        } else {
-           DejaGnu.fail("NetStream.liveDelay property doesn't exist");
+           DejaGnu.xfail("NetStream.liveDelay property doesn't exist");
        }
 #if flash9
        if (Std.is(x1.currentFPS, Float)) {

=== modified file 'testsuite/as3/classes.all/printing/PrintJob_as.hx'
--- a/testsuite/as3/classes.all/printing/PrintJob_as.hx 2009-06-02 19:03:55 
+0000
+++ b/testsuite/as3/classes.all/printing/PrintJob_as.hx 2009-06-11 17:05:34 
+0000
@@ -47,7 +47,7 @@
         if (x1 != null) {
             DejaGnu.pass("PrintJob class exists");
         } else {
-            DejaGnu.fail("PrintJob class doesn't exist");
+            DejaGnu.xfail("PrintJob class doesn't exist");
         }
                
 
@@ -57,12 +57,12 @@
        if (Type.typeof(x1.addPage) == ValueType.TFunction) {
            DejaGnu.pass("PrintJob::addPage() method exists");
        } else {
-           DejaGnu.fail("PrintJob::addPage() method doesn't exist");
+           DejaGnu.xfail("PrintJob::addPage() method doesn't exist");
        }
        if (Type.typeof(x1.send) == ValueType.TFunction) {
            DejaGnu.pass("PrintJob::send() method exists");
        } else {
-           DejaGnu.fail("PrintJob::send() method doesn't exist");
+           DejaGnu.xfail("PrintJob::send() method doesn't exist");
        }
        
        if (Type.typeof(x1.start) == ValueType.TFunction) {
@@ -70,7 +70,7 @@
                //need to run x1.start() to populate the properties
                x1.start();
        } else {
-           DejaGnu.fail("PrintJob::start() method doesn't exist");             
+           DejaGnu.xfail("PrintJob::start() method doesn't exist");            
        }
 
 
@@ -91,35 +91,35 @@
        if ( Type.typeof(x1.orientation) == ValueType.TNull) {
            DejaGnu.pass("PrintJob.orientation property exists");
        } else {
-           DejaGnu.fail("PrintJob.orientation property doesn't exist");
+           DejaGnu.xfail("PrintJob.orientation property doesn't exist");
        }
 #else
        if ( (x1.orientation == "portrait") || x1.orientation == "landscape") {
            DejaGnu.pass("PrintJob.orientation property exists");
        } else {
-           DejaGnu.fail("PrintJob.orientation property doesn't exist");
+           DejaGnu.xfail("PrintJob.orientation property doesn't exist");
        }
 #end
 
        if (Type.typeof(x1.pageHeight) == ValueType.TInt) {
            DejaGnu.pass("PrintJob.pageHeight property exists");
        } else {
-           DejaGnu.fail("PrintJob.pageHeight property doesn't exist");
+           DejaGnu.xfail("PrintJob.pageHeight property doesn't exist");
        }
        if (Type.typeof(x1.pageWidth) == ValueType.TInt) {
            DejaGnu.pass("PrintJob.pageWidth property exists");
        } else {
-           DejaGnu.fail("PrintJob.pageWidth property doesn't exist");
+           DejaGnu.xfail("PrintJob.pageWidth property doesn't exist");
        }
        if (Type.typeof(x1.paperHeight) == ValueType.TInt) {
            DejaGnu.pass("PrintJob.paperHeight property exists");
        } else {
-           DejaGnu.fail("PrintJob.paperHeight property doesn't exist");
+           DejaGnu.xfail("PrintJob.paperHeight property doesn't exist");
        }
        if (Type.typeof(x1.paperWidth) == ValueType.TInt) {
            DejaGnu.pass("PrintJob.paperWidth property exists");
        } else {
-           DejaGnu.fail("PrintJob.paperWidth property doesn't exist");
+           DejaGnu.xfail("PrintJob.paperWidth property doesn't exist");
        }
 
 

=== modified file 'testsuite/as3/classes.all/text/TextFormat_as.hx'
--- a/testsuite/as3/classes.all/text/TextFormat_as.hx   2009-06-02 21:47:29 
+0000
+++ b/testsuite/as3/classes.all/text/TextFormat_as.hx   2009-06-11 17:05:34 
+0000
@@ -74,7 +74,7 @@
        if (Std.is(x1.bullet, Dynamic)) {
            DejaGnu.pass("TextFormat.bullet property exists");
        } else {
-           DejaGnu.fail("TextFormat.bullet property doesn't exist");
+           DejaGnu.xfail("TextFormat.bullet property doesn't exist");
        }
        if (Std.is(x1.color, Dynamic)) {
            DejaGnu.pass("TextFormat.color property exists");
@@ -152,7 +152,7 @@
        if (Std.is(x1.bullet, Bool)) {
            DejaGnu.pass("TextFormat.bullet property exists");
        } else {
-           DejaGnu.fail("TextFormat.bullet property doesn't exist");
+           DejaGnu.xfail("TextFormat.bullet property doesn't exist");
        }
        if (Std.is(x1.color, Int)) {
            DejaGnu.pass("TextFormat.color property exists");
@@ -210,7 +210,7 @@
        if (Std.is(x1.display, String)) {
            DejaGnu.pass("TextFormat.display property exists");
        } else {
-           DejaGnu.fail("TextFormat.display property doesn't exist");
+           DejaGnu.xfail("TextFormat.display property doesn't exist");
        }
 #end
 #end
@@ -223,17 +223,17 @@
        if (Std.is(x1.tabStops, Array)) {
            DejaGnu.pass("TextFormat.tabStops property exists");
        } else {
-           DejaGnu.fail("TextFormat.tabStops property doesn't exist");
+           DejaGnu.xfail("TextFormat.tabStops property doesn't exist");
        }
        if (Std.is(x1.target, String)) {
            DejaGnu.pass("TextFormat.target property exists");
        } else {
-           DejaGnu.fail("TextFormat.target property doesn't exist");
+           DejaGnu.xfail("TextFormat.target property doesn't exist");
        }
        if (Std.is(x1.url, String)) {
            DejaGnu.pass("TextFormat.url property exists");
        } else {
-           DejaGnu.fail("TextFormat.url property doesn't exist");
+           DejaGnu.xfail("TextFormat.url property doesn't exist");
        }
 // Tests to see if all the methods exist. All these do is test for
 // existance of a method, and don't test the functionality at all. This

=== modified file 'testsuite/as3/classes.all/text/TextRenderer_as.hx'
--- a/testsuite/as3/classes.all/text/TextRenderer_as.hx 2009-06-02 21:47:29 
+0000
+++ b/testsuite/as3/classes.all/text/TextRenderer_as.hx 2009-06-11 17:05:34 
+0000
@@ -76,13 +76,13 @@
        if (Type.typeof(TextRenderer.setAdvancedAntiAliasingTable) == 
ValueType.TFunction) {
            DejaGnu.pass("TextRenderer::setAdvancedAntiAliasingTable() method 
exists");
        } else {
-           DejaGnu.fail("TextRenderer::setAdvancedAntiAliasingTable() method 
doesn't exist");
+           DejaGnu.xfail("TextRenderer::setAdvancedAntiAliasingTable() method 
doesn't exist");
        }
 #else
        if (Type.typeof(TextRenderer.setAdvancedAntialiasingTable) == 
ValueType.TFunction) {
            DejaGnu.pass("TextRenderer::setAdvancedAntialiasingTable() method 
exists");
        } else {
-           DejaGnu.fail("TextRenderer::setAdvancedAntialiasingTable() method 
doesn't exist");
+           DejaGnu.xfail("TextRenderer::setAdvancedAntialiasingTable() method 
doesn't exist");
        }
 #end
         // Call this after finishing all tests. It prints out the totals.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]