TS 74 CNDfullremote

Full Remote Test Specification

Author: Alexander Pepin
Version: 0.2
Lastupdate: 2013/08/12
Editor: Don Liyanage
Introduction: Test specification for full remote development feature in CND Pack 7.4.


Test suite: Full Remote

Setup: Remote host with GNU compiler collection and ssh access.

  1. Create and Build a full remote Project
    1. Right-click on the main toolbar and switch on Remote toolbar
      Remote toolbar appears
    2. Expand 'Select Default Host' combobox on the Remote toolbar and choose Manage Hosts from the list
      Build Host Manager dialog box appears
    3. Click Add button
      New Remote Host Setup wizard appears
    4. Step1 (Select Host): type the remote host name (e.g. gerta) and click Next button
      NB: Be sure that the host is reachable otherwise check Proxy Settings under the list of hosts. Moreover Please make-sure port 22 is open through the Firewall and NB IDE can access the Port 22
    5. Step2 (Setup Host): set login and choose Password or SSH Key File authentication type then press Next. If you chose Password then type the password in Authentication dialog.
    6. Step3 (Summury): Select GNU as Default Tool Collection and choose appropriate 'Access Project Files via' (e.g. Automatic copying) then click Finish button
    7. Click on Set As Default button then on OK to close Build Host Manager dialog
    8. Check that 'gerta' is set as a Default Host on the Remote toolbar.
    9. Click 'Create Remote C/C++ Project' on the Remote toolbar and create a new project via Sample > C/C++ > Quote.
    10. Build the project and verify that the project was created and built on the remote host
    • EXPECTED RESULT: the project should be created and built on the remote host
  2. Run and Debug a full remote Project
    1. Run the full remote Quote project, use Output window to intearact with Quote application
      Quote runs on the remote host
    2. Open quote.cc in the editor and make some changes in the code (e.g. add a new line containing
      cout << "A new line" << endl;
      in the beginning of 'main() function) then save changes
    3. Run Quote again
      Quote runs and 'A new line' message appears
    4. Right-click on the project node and call Step Into from the context menu
      Debugger starts and executions stops in the main function in line 119
    5. Set a Line breakpoint in line 134 and press Continue, enter any name in Output window when you are asked for.
      Execution stops at the breakpoint in line 134
    6. Open Variables and check that 'customerName' is the same as was entered.
    7. Do Step into.
      Debugger steps into 'getDiscountFor' function
    8. Finish debugging.
      Debug session finishes
  3. Delete a full remote Project
    1. Right-click on the project node and call Delete. Confirm deletion of the project folder in the Delete Project dialog.
    • EXPECTED RESULT: The project folder should be deleted on the remote host
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