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 w w.j a v a 2s .c o m*/ import android.os.Bundle; import com.jeffpalm.android.tmz.model.TMZ; import com.jeffpalm.android.tmz.model.TMZContent; /** * Test case for {@code TMZContent}. */ public class TMZContentTest extends TMZItemTestCase { public void testParcelable() { doTestParcelable(); } @Override protected void runTestParcelable(TMZ tmz) { TMZContent content = (TMZContent) tmz.getSection().getLinkItems().get(0).getContents().get(0); Bundle bundle = new Bundle(); String key = "key"; bundle.putParcelable(key, content); TMZContent read = bundle.getParcelable(key); assertEquals(content, read); } }