Back to project page epgreader-android.
The source code is released under:
Apache License
If you think the Android project epgreader-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jeffpalm.android.epg; /*from w w w.j a va 2 s . c o m*/ import android.os.Bundle; import com.jeffpalm.android.epg.EPG; import com.jeffpalm.android.epg.EPGLinkItem; /** * Test case for {@code EPGLinkItem}. */ public class EPGLinkItemTest extends EPGItemTestCase { public void testParcelable() { doTestParcelable(); } @Override protected void runTestParcelable(EPG epg) { EPGLinkItem linkItem = epg.getSections().get(0).getLinkItems().get(0); Bundle bundle = new Bundle(); String key = "key"; bundle.putParcelable(key, linkItem); EPGLinkItem read = bundle.getParcelable(key); assertEquals(linkItem, read); } }