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.tmz.model; //from w ww . jav a2 s . co m import android.os.Bundle; import com.jeffpalm.android.tmz.model.TMZ; import com.jeffpalm.android.tmz.model.TMZLinkItem; /** * Test case for {@code TMZLinkItem}. */ public class TMZLinkItemTest extends TMZItemTestCase { public void testParcelable() { doTestParcelable(); } @Override protected void runTestParcelable(TMZ tmz) { TMZLinkItem linkItem = tmz.getSection().getLinkItems().get(0); Bundle bundle = new Bundle(); String key = "key"; bundle.putParcelable(key, linkItem); TMZLinkItem read = bundle.getParcelable(key); assertEquals(linkItem, read); } }