TS 69 CNDFortran

CND 6.9 features (CND69Plans)
Features: C/C++ Unit Tests Multiple Hyperlinks Doxygen Fortran Makefiles
Test scenarios: C/C++ Unit Tests Multiple Hyperlinks Doxygen Fortran Makefiles

C/C++ Pack Test Specification for Fortran editor support

Contents

Introduction

Test specification for Fortran editor support in NetBeans 6.9 C/C++ Pack

  • QA: Dmitry Nikitin

Test suites

Test case 1. Verify Go To Source action in context menu

  1. open sample Fortran Hello World Application
  2. open bar.f in editor
  3. right-click on bar() in Navigator and select "Go To Source"

Result: cursor should be pointed at line "subroutine bar()" in bar.f

Test case 2 Highlighting of comments

  1. create application
  2. add Fortran file with the following code
        print *, "comments0"
!       print *, "comments1"
C       print *, "comments2"
c       print *, "comments3"
*       print *, "comments4"
        end

All comments should be correctly highlighted

Test case 3. Regression tests.

Some comments break parser and navigator shows wrong entries.

Regression on Issue 182702

  1. open in editor the following source file
! комментарий на кириллице.  comments on Cyrillic
    subroutine a()
    end

Result: Navigator should show a()

Regression on Issue 182520

  1. open in editor other file
    subroutine a()
    end
! 
    subroutine b()
    end

Result: Navigator should show a() and b()


This article is incomplete. Please help to improve the article, or discuss the issue on the discussion page.
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