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 v a 2s. c o m import android.os.Bundle; import com.jeffpalm.android.epg.EPG; import com.jeffpalm.android.epg.EPGContent; /** * Test case for {@code EPGContent}. */ public class EPGContentTest extends EPGItemTestCase { public void testParcelable() { doTestParcelable(); } @Override protected void runTestParcelable(EPG epg) { EPGContent content = epg.getSections().get(0).getLinkItems().get(0).getContents().get(0); Bundle bundle = new Bundle(); String key = "key"; bundle.putParcelable(key, content); EPGContent read = bundle.getParcelable(key); assertEquals(content, read); } }