[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [patch #8723] Patches to improve the unimplemented `TextF
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [patch #8723] Patches to improve the unimplemented `TextField.getFontList()` stub |
Date: |
Mon, 24 Aug 2015 11:15:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
Update of patch #8723 (project gnash):
Status: None => Ready For Test
Assigned to: None => strk
_______________________________________________________
Follow-up Comment #1:
pushed as commit e04f9e25c68ba879e82d206716eae76fc4542cb8
The correct way to test this would be by attaching the getFontList function to
an arbitrary object and calling it as a method of that arbitrary objet, like
in testsuite/actionscript.all/TextField.as, something like:
var o = {};
o.x = TextField.getFontList;
ret = o.x();
ensure_equals(typeof(ret), whatever);
You'd need to be able to run the resulting SWF with the adobe player to use as
reference to spot expected behavior.
Would be a good idea to start with tests as you're sending many patches and
it'd be a pity to miss corresponding tests for each...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8723>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/