TS 67 CNDDiscoveryImprovements

C/C++ Pack Test Specification for Discovery improvements

Author: Valeriy Soldatov
Version: 0.2
Last update: 08.07.2013
Introduction: Test specification for Discovery improvements in NetBeans 7.4 C/C++ Pack

Contents


Test suite: Discovery improvements

Purpose: Verify Discovery improvements in NetBeans C/C++ Pack 7.4
Comments:
- You needs to use a patched litesql from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz (original litesql can be found on http://sourceforge.net/projects/litesql/files/litesql/0.3.15/litesql-src-0.3.15.tar.gz/download page)
- libexpat library should be installed on you machine (Ubuntu: libexpat1-devel; Cygwin: Libs|libexpat1-devel; MinGW: mingw32-libexpat, msys-libexpat (packages can be installed via "mingw-get install mingw32-libexpat" and "mingw-get install msys-libexpat" in MinGW Shell))

  1. Verifiy Automatic mode
    1. Download litesql's sources from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz
    2. Unpack this file
    3. New Project > C/C++ > C/C++ Project From Existing Code
    4. Add path to litesql's sources into 'Specify the folder that contains existing sources' text field
    5. Select Automatic mode
    6. Press Finish button
    • EXPECTED RESULT: Build successful, "Configuring project for code assistance was successful" balloon appears and project hasn't unresolved #include (Call context menu on project. 'Code Assistance > Failed #include/#error Directives...' menu item should be disabled.).
  2. Verifiy custom mode (configure script)
    1. Download litesql's sources from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz
    2. Unpack this file
    3. New Project > C/C++ > C/C++ Project From Existing Code
    4. Add path to litesql's sources into 'Specify the folder that contains existing sources' text field
    5. Select Custom mode. Press Next button
    6. Select 'Using the makefile generated by the 'configure' script' mode. Press Next button
    7. Press Next button 3 times. Press Finish button
    • EXPECTED RESULT: Build successful, "Configuring project for code assistance was successful" balloon appears and project hasn't unresolved #include (Call context menu on project. 'Code Assistance > Failed #include/#error Directives...' menu item should be disabled.).
  3. Verifiy custom mode (makefile)
    1. Download litesql's sources from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz
    2. Unpack this file
    3. Launch './configure CFLAGS="-g3 -gdwarf-2" CXXFLAGS="-g3 -gdwarf-2" ' command in litesql's folder
    4. New Project > C/C++ > C/C++ Project From Existing Code
    5. Add path to litesql's sources into 'Specify the folder that contains existing sources' text field
    6. Select Custom mode. Press Next button
    7. Select 'Using an existing makefile' mode. Press Next button
    8. Press Next button 3 times. Press Finish button
    • EXPECTED RESULT: Build successful, "Configuring project for code assistance was successful" balloon appears and project hasn't unresolved #include (Call context menu on project. 'Code Assistance > Failed #include/#error Directives...' menu item should be disabled.).
  4. Verifiy custom mode (project has been built)
    1. Download litesql's sources from http://wiki.netbeans.org/wiki/images/b/b5/TS_67_CNDlitesql-src-0.3.15.tar.gz
    2. Unpack this file
    3. Launch 'sh ./configure CFLAGS="-g3 -gdwarf-2" CXXFLAGS="-g3 -gdwarf-2" ' command in litesql's folder
    4. Launch 'make"' command in litesql's folder
    5. New Project > C/C++ > C/C++ Project From Existing Code
    6. Add path to litesql's sources into 'Specify the folder that contains existing sources' text field
    7. Select Custom mode. Press Next button
    8. Select 'Using an existing makefile' mode. Switch off 'Clean and Build after Finish' check box. Press Next button
    9. Press Next button 3 times. Press Finish button
    • EXPECTED RESULT: No any build, "Configuring project for code assistance was successful" balloon appears,project hasn't unresolved #include (Call context menu on project. 'Code Assistance > Failed #include/#error Directives...' menu item should be disabled.).
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