core/com.nokia.carbide.cpp.news.reader.tests/src/com/nokia/carbide/cpp/news/reader/tests/CarbideNewsReaderPluginTest.java
author dadubrow
Wed, 16 Dec 2009 10:28:34 -0600
changeset 688 ae5ff180a61d
parent 0 fb279309251b
permissions -rw-r--r--
Changes to remote connections add javadoc to IConnectionsManager + IConnectionTypeProvider deprecate internal methods and don't use them internally from interface add new interfaces and methods to support host PnP

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

package com.nokia.carbide.cpp.news.reader.tests;

import com.nokia.carbide.cpp.internal.news.reader.CarbideNewsReaderPlugin;

import junit.framework.TestCase;

/**
 * Test class for CarbideNewsReaderPlugin.
 *
 */
public class CarbideNewsReaderPluginTest extends TestCase {

	@Override
	protected void setUp() throws Exception {
		super.setUp();
	}

	@Override
	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testCarbideNewsReaderPlugin() {
		assertNotNull(new CarbideNewsReaderPlugin());
	}

	public void testGetDefault() {
		assertNotNull(CarbideNewsReaderPlugin.getDefault());
	}

	public void testGetFeedManager() {
		assertNotNull(CarbideNewsReaderPlugin.getFeedManager());
	}

	public void testGetPrefsStore() {
		assertNotNull(CarbideNewsReaderPlugin.getPrefsStore());
	}

	public void testLaunchNewsPage() {
		try {
			CarbideNewsReaderPlugin.launchNewsPage();
		} catch (Exception e) {
			fail();
		}
	}

	public void testLoadFeeds() {
		try {
			CarbideNewsReaderPlugin.loadFeeds();
		} catch (Exception e) {
			fail();
		}
	}

	public void testUpdateFeeds() {
		try {
			CarbideNewsReaderPlugin.updateFeeds();
		} catch (Exception e) {
			fail();
		}
	}

}