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 (??)


  1. Build and Run sample (Sun Studio). Check 3 different remote hosts(intel solaris, sparc solaris and linux)
    1. Push Tools|Options main menu item
    2. Click on "C/C++" icon. Open "Build Tools" tab
    3. Press Edit... button
      "Development Hosts Manager" window appears
    4. Press Add... button
    5. Type any remote host name and press Next button
    6. Type login and password on remote host and press Next button
    7. Wait some time
    8. Select "Sun Studio Compiler Collect" as default toolchain
    9. Select "Smart Secure Copy" as synchronization mode
    10. Press Finish button
    11. Press OK button in "Development Hosts Manager" window. Press OK button in "Options" window.
    12. Push File|New Project... button.
      "New Project" wizard appears
    13. Select "Samples|C/C++" category, "Welcome" project. Press Next button
    14. Specify a project name and location
    15. Let the Set as Main Project check box checked
    16. Press Finish button
    17. Call context menu on project node. Select "Properties" menu item.
    18. Select "Build" category. Change "Development Host" property on some remote host. Change "Tool Collection" property on "Sun Studio".
    19. Press OK button
    20. Build project
    21. Run project
    • EXPECTED RESULT: "BUILD SUCCESSFUL" and "RUN SUCCESSFUL" messages in Output View.
  2. Build, Run and Debug sample (GNU compilers). Check 3 different remote hosts(intel solaris, sparc solaris and linux)
    1. Push Tools|Options main menu item
    2. Click on "C/C++" icon. Open "Build Tools" tab
    3. Press Edit... button
      "Development Hosts Manager" window appears
    4. Press Add... button
    5. Type any remote host name and press Next button
    6. Type login and password on remote host and press Next button
    7. Wait some time
    8. Select "Sun Studio Compiler Collect" as default toolchain
    9. Select "Smart Secure Copy" as synchronization mode
    10. Press Finish button
    11. Press OK button in "Development Hosts Manager" window. Press OK button in "Options" window.
    12. Push File|New Project... button.
      "New Project" wizard appears
    13. Select "Samples|C/C++" category, "Welcome" project. Press Next button
    14. Specify a project name and location
    15. Let the Set as Main Project check box checked
    16. Press Finish button
    17. Call context menu on project node. Select "Properties" menu item.
    18. Select "Build" category. Change "Development Host" property on some remote host. Change "Tool Collection" property on "Sun Studio".
    19. Press OK button
    20. Build project
      "BUILD SUCCESSFUL" message in Output View.
    21. Run project
      "RUN SUCCESSFUL" message in Output View.
    22. Open welcome.cc file and set line breakpoint on "std::cout << "Welcome ..." << std::endl;" line
    23. Call context menu on project node. Select "Debug" menu item.
    • EXPECTED RESULT: Debugger stopped on std::cout << "Welcome ..." << std::endl;" line
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo