connectivity/com.nokia.tcf.test/src/com/nokia/tcf/test/TestGetConnections.java
author cawthron
Thu, 30 Jul 2009 13:29:28 -0500
branchRCL_2_1
changeset 383 c7f424dea615
parent 0 fb279309251b
permissions -rw-r--r--
add Symbian Foundation build scripts

/*
* 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.tcf.test;

import com.nokia.tcf.api.ITCAPIConnection;
import com.nokia.tcf.api.ITCConnection;
import com.nokia.tcf.api.TCFClassFactory;

import junit.framework.TestCase;
import junit.framework.TestResult;

/**
 * Test the GetConnections API
 */
public class TestGetConnections extends TestCase {

	@Override
	public TestResult run() {
		return super.run();
	}

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

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

	public void testGetConnections() {
//		TCFClassFactory factory = new TCFClassFactory();
		ITCAPIConnection api = TCFClassFactory.createITCAPIConnection();
		ITCConnection[] connections = api.getConnections();
		assertTrue(" should be null", connections == null);
	}
}