[svn:osmf:] 17080: Add basic unit tests for MulticastNetLoader

Revision: 17080
Revision: 17080
Author:   [email protected]
Date:     2010-07-27 16:03:01 -0700 (Tue, 27 Jul 2010)
Log Message:
Add basic unit tests for MulticastNetLoader
Modified Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
Added Paths:
    osmf/trunk/framework/OSMFTest/org/osmf/net/multicast/
    osmf/trunk/framework/OSMFTest/org/osmf/net/multicast/TestMulticastNetLoader.as

Similar Messages

  • [svn:osmf:] 10425: Add initial unit tests for VASTParser.

    Revision: 10425
    Author:   [email protected]
    Date:     2009-09-18 17:35:58 -0700 (Fri, 18 Sep 2009)
    Log Message:
    Add initial unit tests for VASTParser.  Minor changes to parsing code.
    Modified Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAd.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/model/VASTAdPackageBase.as
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/VASTTests.as
    Added Paths:
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as

  • [svn:osmf:] 10447: Add more unit tests for VAST validation.

    Revision: 10447
    Author:   [email protected]
    Date:     2009-09-20 19:59:57 -0700 (Sun, 20 Sep 2009)
    Log Message:
    Add more unit tests for VAST validation.
    Modified Paths:
        osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
        osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.as

    Abuse reported.

  • [svn:osmf:] 15010: Add f4f unit tests, more to come.

    Revision: 15010
    Revision: 15010
    Author:   [email protected]
    Date:     2010-03-24 17:05:36 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Add f4f unit tests, more to come.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/AdobeSegmentRunTable.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/HTTPStreamingTestsHelper.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeBootstrapBox.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeSegmentRunTable.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/f4f/TestAdobeSegmentRunTableInte gration.as

    Abuse reported.

  • [svn:osmf:] 11282: updated the unit tests for the DRM subsystem.

    Revision: 11282
    Author:   [email protected]
    Date:     2009-10-29 16:44:46 -0700 (Thu, 29 Oct 2009)
    Log Message:
    updated the unit tests for the DRM subsystem.  Still lacking tests for Authentication Token.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.actionScriptProperties
        osmf/trunk/framework/MediaFramework/org/osmf/drm/DRMServices.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetStreamContentProtectableTrait.as
        osmf/trunk/framework/MediaFramework/org/osmf/video/VideoElement.as
        osmf/trunk/framework/MediaFrameworkAirTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/.flexProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/traits/TestIContentProtectable.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/.actionScriptProperties
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/MediaFrameworkIntegrationTest s.as
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/net/TestNetContentProtectable .as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/video/TestVideoElement.as
    Property Changed:
        osmf/trunk/framework/MediaFrameworkFlexTest/
        osmf/trunk/framework/MediaFrameworkIntegrationTest/

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • [svn:bz-trunk] 22381: Add some unit tests for the flex.messaging.client. FlexClientManager, including one for the new getFlexClient(String id, boolean createNewIfNotExist) method signature.

    Revision: 22381
    Revision: 22381
    Author:   [email protected]
    Date:     2011-09-02 05:10:41 -0700 (Fri, 02 Sep 2011)
    Log Message:
    Add some unit tests for the flex.messaging.client.FlexClientManager, including one for the new getFlexClient(String id, boolean createNewIfNotExist) method signature.
    Added Paths:
        blazeds/trunk/modules/core/test/src/flex/messaging/client/
        blazeds/trunk/modules/core/test/src/flex/messaging/client/FlexClientManagerTest.java

  • [svn:osmf:] 10987: Refactor MediaPlayer unit tests to make them injectable by MediaElement.

    Revision: 10987
    Author:   [email protected]
    Date:     2009-10-13 20:54:31 -0700 (Tue, 13 Oct 2009)
    Log Message:
    Refactor MediaPlayer unit tests to make them injectable by MediaElement.  Add additional unit tests for injecting various MediaElements into a MediaPlayer.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/audio/SoundAdapter.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/NetStreamSwitchableTrai t.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/TemporalProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestTemporalProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/NetFactory.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/TestConstants.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockDynamicNetStream.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen tWithSoundLoader.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithBeaconEleme nt.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithProxyElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithTemporalPro xyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen t.as

    Revision: 10987
    Author:   [email protected]
    Date:     2009-10-13 20:54:31 -0700 (Tue, 13 Oct 2009)
    Log Message:
    Refactor MediaPlayer unit tests to make them injectable by MediaElement.  Add additional unit tests for injecting various MediaElements into a MediaPlayer.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/audio/SoundAdapter.as
        osmf/trunk/framework/MediaFramework/org/osmf/media/MediaPlayer.as
        osmf/trunk/framework/MediaFramework/org/osmf/net/dynamicstreaming/NetStreamSwitchableTrai t.as
        osmf/trunk/framework/MediaFramework/org/osmf/proxies/TemporalProxyElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/audio/TestAudioElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayer.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestTemporalProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/NetFactory.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/utils/TestConstants.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockDynamicNetStream.as
        osmf/trunk/libs/adobe/NetMocker/org/osmf/netmocker/MockNetStream.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithAudioElemen tWithSoundLoader.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithBeaconEleme nt.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithDynamicStre amingVideoElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithProxyElemen t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithTemporalPro xyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/media/TestMediaPlayerWithVideoElemen t.as

  • [svn:osmf:] 13003: Update some unit tests to reflect that LayoutContextSprite now returns 0 ( not NaN) for uninitialized values to be consistent with ViewTrait.

    Revision: 13003
    Revision: 13003
    Author:   [email protected]
    Date:     2009-12-16 13:12:08 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Update some unit tests to reflect that LayoutContextSprite now returns 0 (not NaN) for uninitialized values to be consistent with ViewTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestLayoutContextSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as

    Revision: 13003
    Revision: 13003
    Author:   [email protected]
    Date:     2009-12-16 13:12:08 -0800 (Wed, 16 Dec 2009)
    Log Message:
    Update some unit tests to reflect that LayoutContextSprite now returns 0 (not NaN) for uninitialized values to be consistent with ViewTrait.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/layout/TestLayoutContextSprite.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/proxies/TestListenerProxyElementAsSu bclass.as

  • [svn:osmf:] 10477: Add ListenerProxyElement, utility class for listening to trait-level changes on a wrapped element.

    Revision: 10477
    Author:   [email protected]
    Date:     2009-09-21 17:04:28 -0700 (Mon, 21 Sep 2009)
    Log Message:
    Add ListenerProxyElement, utility class for listening to trait-level changes on a wrapped element.  Refactor proxy unit tests to make them more extensible.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestProxyElement. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestTemporalProxy Element.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/utils/DynamicProxyElement .as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/proxies/ListenerProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestListenerProxy Element.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestListenerProxy ElementAsSubclass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestProxyElementA sDynamicProxy.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/utils/DynamicListenerProx yElement.as

    Revision: 10477
    Author:   [email protected]
    Date:     2009-09-21 17:04:28 -0700 (Mon, 21 Sep 2009)
    Log Message:
    Add ListenerProxyElement, utility class for listening to trait-level changes on a wrapped element.  Refactor proxy unit tests to make them more extensible.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestProxyElement. as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestTemporalProxy Element.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/utils/DynamicProxyElement .as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/proxies/ListenerProxyElement.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestListenerProxy Element.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestListenerProxy ElementAsSubclass.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/proxies/TestProxyElementA sDynamicProxy.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/utils/DynamicListenerProx yElement.as

  • [svn:osmf:] 15299: Fixing build: unit tests expect the seek to complete over a timer.

    Revision: 15299
    Revision: 15299
    Author:   [email protected]
    Date:     2010-04-09 03:04:45 -0700 (Fri, 09 Apr 2010)
    Log Message:
    Fixing build: unit tests expect the seek to complete over a timer. Adding this behavior on signaling the seek completion event from the newly added path.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSeekTrait.as

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • [svn:osmf:] 11341: Added some unit tests to get the metadata package above 80%

    Revision: 11341
    Author:   [email protected]
    Date:     2009-10-30 16:24:35 -0700 (Fri, 30 Oct 2009)
    Log Message:
    Added some unit tests to get the metadata package above 80%
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestTemporalFacet.as

    The nature of the Media class is that it accesses it asynchronously. This means that when you create an instance of it, and then immediately query it, the data you want may not be available yet. This is all in the Javadoc, see the doc for Media:
    The media information is obtained asynchronously and so not necessarily available immediately after instantiation of the class. All information should however be available if the instance has been associated with a MediaPlayer and that player has transitioned to MediaPlayer.Status.READY statusSo you could associate the Media with a MediaPlayer, and then wait until it goes to the Status READY, and then read the length of the Media.
    As for your 2nd question, getMetadata() returns a Map. You can just loop through it:
      for(Map.Entry<String, Object> entry : media.getMetadata()) {
        // etc
      }However, the same restrictions apply as with Media -- you will probably need to wait before the information is available -- that's why the Listener approach works, because it will notify you as soon as the information is added to the map.

  • [svn:osmf:] 14261: Updated DRM unit tests to work with code review feedback .

    Revision: 14261
    Revision: 14261
    Author:   [email protected]
    Date:     2010-02-18 14:15:23 -0800 (Thu, 18 Feb 2010)
    Log Message:
    Updated DRM unit tests to work with code review feedback.
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestParallelElementWithDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestSerialElementWithDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/traits/TestDRMTrait.as
        osmf/trunk/framework/OSMFTest/org/osmf/utils/DynamicDRMTrait.as

    Hello Alex,
    I don't have an answer for you.
    But, can you try to use http://drmtest2.adobe.com:8080/Content/anonymous.f4v with locally hosted OSMF player? This content doens't require user/pass info.
    I'm wondering that Google TV's flash player doesn't support prompt dialog.
    http://drmtest2.adobe.com/AccessPlayer/player.html requires flash player 11. That's why it won't be loaded with flash player 10.x.
    Thanks,
    -- Hiroshi

  • [svn:osmf:] 14780: FMTA work + unit tests.

    Revision: 14780
    Revision: 14780
    Author:   [email protected]
    Date:     2010-03-16 09:55:23 -0700 (Tue, 16 Mar 2010)
    Log Message:
    FMTA work + unit tests.  Added NetNegotiator unit test support.  Fixed bug in constructor of Streaming URL resource. 
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetNegotiator.as
        osmf/trunk/framework/OSMF/org/osmf/net/StreamingURLResource.as
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetNegotiator.as

  • [svn:osmf:] 10703: Extending regions unit tests some more.

    Revision: 10703
    Author:   [email protected]
    Date:     2009-09-29 16:35:07 -0700 (Tue, 29 Sep 2009)
    Log Message:
    Extending regions unit tests some more.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/gateways/TestRegionSprite .as

  • [svn:osmf:] 10137: Dynamic streaming unit tests now pass.

    Revision: 10137
    Author:   [email protected]
    Date:     2009-09-10 16:01:37 -0700 (Thu, 10 Sep 2009)
    Log Message:
    Dynamic streaming unit tests now pass.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/net/dynamicstreaming/NetStreamSwi tchableTrait.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/traits/SwitchableTrait.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/MediaFrameworkTests.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/traits/TestISwitchable.as

    Hello!
    1) Given the string plugin is loaded from (file:///C:/alex/PlayerCDN/lib/PlugIN_junio.swf) application loads it from file system that "involves complex security" (our app can't load local files - we don't need it but nevertheless).
    You may want to try directing your Flex builder run configuration to use http://localhost/yourappwrapper.html as a "URL or path to launch" parameter.
    Try to set full path to plugin also (including host).
    2) As I can see, you don't have
    Security.allowDomain('*');
    in your plugin constructor.
    Although it is being loaded from the same host - do try to insert it
    Here is our plugins main file - everything works fine:
    package {
    import flash.display.Sprite;
    import flash.system.Security;
    import org.osmf.media.PluginInfo;
    import plugin.ControlBarPlugin;
    public class CBPlugin extends Sprite
      private var _pluginInfo:PluginInfo;
      public function CBPlugin()
       Security.allowDomain('*');
       _pluginInfo = (new ControlBarPlugin).pluginInfo;
      public function get pluginInfo():PluginInfo{
       return _pluginInfo;

Maybe you are looking for

  • Rebooting from a clean disk

    I wnated to do a complete disk clean as I'm giving the computer to a grandchild. I used disk utility and did a 7 wipe. There still remained the edrive. I tried to get rid of that and now I can't boot even from an OS 9 CD.I'm at a loss what to do next

  • In i-tunes, is it possible to change/delete artwork without deleting the track?

    In i-tunes, is it possible to change/delete artwork without deleting the track? If so, How?

  • Shut down when connecting AC Adaptor on low battery

    My macbook 1.83 ghz dies when I connect the AC Adaptor because my battery has run down in to the red. I then have to reset the PMU ( I don't bother removing the adaptor or battery for this - just hold the power button for ten seconds) to get it to st

  • To remove (*) in Debit Note

    Hi, To print a debit note form f.64, the line item text is missing in the sapscript form IF the line item text is maintained without asterisk (*)  at the transaction level fb03. Any idea to amend logic in the debit form where the logic should to be a

  • Cloning Domains

    Hi everybody... I'm new to it, so I'm not understanding very well some concepts. I have a Domain, that has 2 managed servers WLS_FORMS and WLS_REPORTS. I want to have another instance of forms and reports, to make development tests. What is the best