TS 68 CNDSmartSecureCopy
C/C++ Pack Test Specification for Smart Secure Copy
Author: Valeriy Soldatov
Version: 0.1
Lastupdate: 07.10.2009
Introduction: Test specification for Thread Analyzer in NetBeans 6.8 C/C++ Pack
Contents |
Test suite: Smart Secure Copy
Purpose: Verify Smart Secure Copy in NetBeans C/C++ Pack 6.8
Comment:
Smart Secure Copy is one of 2 modes of Remote Development. In order to use this feature ssh server should be installed on remote host.
Supported platforms:
- from Windows (XP, Vista, 7) to Solaris 10, OpenSolaris 2009.06 (sparc or intel) or Linux (??)
- from Mac OS X (10.5 or 10.6) to Solaris 10, OpenSolaris 2009.06 (sparc or intel) or Linux (??)
- from Linux (??) to Solaris 10, OpenSolaris 2009.06 (sparc or intel) or Linux (??)
- from Solaris 10 or OpenSolaris to Solaris 10, OpenSolaris 2009.06 (sparc or intel) or Linux (??)
- Build and Run sample (Sun Studio). Check 3 different remote hosts(intel solaris, sparc solaris and linux)
- Push Tools|Options main menu item
- Click on "C/C++" icon. Open "Build Tools" tab
- Press Edit... button
"Development Hosts Manager" window appears - Press Add... button
- Type any remote host name and press Next button
- Type login and password on remote host and press Next button
- Wait some time
- Select "Sun Studio Compiler Collect" as default toolchain
- Select "Smart Secure Copy" as synchronization mode
- Press Finish button
- Press OK button in "Development Hosts Manager" window. Press OK button in "Options" window.
- Push File|New Project... button.
"New Project" wizard appears - Select "Samples|C/C++" category, "Welcome" project. Press Next button
- Specify a project name and location
- Let the Set as Main Project check box checked
- Press Finish button
- Call context menu on project node. Select "Properties" menu item.
- Select "Build" category. Change "Development Host" property on some remote host. Change "Tool Collection" property on "Sun Studio".
- Press OK button
- Build project
- Run project
- EXPECTED RESULT: "BUILD SUCCESSFUL" and "RUN SUCCESSFUL" messages in Output View.
- Build, Run and Debug sample (GNU compilers). Check 3 different remote hosts(intel solaris, sparc solaris and linux)
- Push Tools|Options main menu item
- Click on "C/C++" icon. Open "Build Tools" tab
- Press Edit... button
"Development Hosts Manager" window appears - Press Add... button
- Type any remote host name and press Next button
- Type login and password on remote host and press Next button
- Wait some time
- Select "Sun Studio Compiler Collect" as default toolchain
- Select "Smart Secure Copy" as synchronization mode
- Press Finish button
- Press OK button in "Development Hosts Manager" window. Press OK button in "Options" window.
- Push File|New Project... button.
"New Project" wizard appears - Select "Samples|C/C++" category, "Welcome" project. Press Next button
- Specify a project name and location
- Let the Set as Main Project check box checked
- Press Finish button
- Call context menu on project node. Select "Properties" menu item.
- Select "Build" category. Change "Development Host" property on some remote host. Change "Tool Collection" property on "Sun Studio".
- Press OK button
- Build project
"BUILD SUCCESSFUL" message in Output View. - Run project
"RUN SUCCESSFUL" message in Output View. - Open welcome.cc file and set line breakpoint on "std::cout << "Welcome ..." << std::endl;" line
- Call context menu on project node. Select "Debug" menu item.
- EXPECTED RESULT: Debugger stopped on std::cout << "Welcome ..." << std::endl;" line

