--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/connectivity/com.nokia.tcf.test/src/com/nokia/tcf/test/TestGetConnections.java Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,52 @@
+/*
+* 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);
+ }
+}