gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/testsuite/misc-mtasc.all/implementsOp Sim...


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/misc-mtasc.all/implementsOp Sim...
Date: Tue, 27 Nov 2007 18:19:34 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/27 18:19:34

Removed files:
        testsuite/misc-mtasc.all/implementsOp: SimpleInterfaceTest.as 

Log message:
        We don't need this, it's in parent dir

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/implementsOp/SimpleInterfaceTest.as?cvsroot=gnash&r1=1.1&r2=0

Patches:
Index: SimpleInterfaceTest.as
===================================================================
RCS file: SimpleInterfaceTest.as
diff -N SimpleInterfaceTest.as
--- SimpleInterfaceTest.as      27 Nov 2007 15:17:05 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,45 +0,0 @@
-#include "check.as"
-
-import SimpleInterface;
-import ImplementationA;
-import ImplementationB;
-import BExtendingImplementation;
-
-class SimpleInterfaceTest {
-       
-       var objectA:SimpleInterface;
-       var objectB:SimpleInterface;
-       var objectC:SimpleInterface;
-       
-       function SimpleInterfaceTest(testMethod:String) {
-       super(testMethod);
-       }
-       
-       function test_all():Void {
-               objectA = new ImplementationA();
-               objectB = new ImplementationB();
-               objectC = new BExtendingImplementation();
-       
-               check_equals(100, objectA.doStuff(1, "foo"));
-               check_equals(100, objectA.doStuff(1, "foo"));
-       
-               check_equals("param1 was foo", objectA.doMoreStuff("foo", 1));
-       
-               check_equals(200, objectB.doStuff(1, "foo"));
-       
-               check_equals("param2 was 1", objectB.doMoreStuff("foo", 1));
-       
-               check_equals(objectB.doStuff(1, "foo"), objectC.doStuff(1, 
"foo"));
-       
-               check_equals("overriding implementation", 
objectC.doMoreStuff("foo", 1));
-       }
-
-       static function main(mc)
-       {
-               var myTest = new SimpleInterfaceTest;
-               myTest.test_all();
-
-               Dejagnu.done();
-       }
-}
-




reply via email to

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