connectivity/com.nokia.tcf.test/src/com/nokia/tcf/test/TestServerStartStop.java
author cawthron
Thu, 30 Jul 2009 13:29:28 -0500
branchRCL_2_1
changeset 383 c7f424dea615
parent 59 c892c53c664e
permissions -rw-r--r--
add Symbian Foundation build scripts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     1
/*
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     3
* All rights reserved.
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     4
* This component and the accompanying materials are made available
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     6
* which accompanies this distribution, and is available
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     8
*
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
     9
* Initial Contributors:
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    11
*
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    12
* Contributors:
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    13
*
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    14
* Description: 
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    15
*
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    16
*/
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    17
package com.nokia.tcf.test;
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    18
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    19
import com.nokia.tcf.impl.TCAPIConnection;
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    20
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    21
import junit.framework.TestCase;
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    22
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    23
public class TestServerStartStop extends TestCase {
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    24
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    25
	public void testServerStartStop() {
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    26
		// for non-plugin junit test
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    27
		TCAPIConnection api2 = new TCAPIConnection();
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    28
		api2.nativeStartServer();
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    29
		
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    30
		// for non-plugin junit test
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    31
		api2.nativeStopServer();
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    32
	}
c892c53c664e committing to 2.1.0
chpeckha
parents:
diff changeset
    33
}