vector.com|Contact
Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

apple*
Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Search:
Advanced search

Functions Not Considered Testable in Parameter Tree when a Class is Implemented Across Multiple Units

Last updated: 2019-10-30
Issue:
I have two units, BAR.cpp and FOO.cpp. If I do not have a class defined in BAR.cpp but a function from a class defined in FOO.cpp is referenced in BAR.cpp, the rest of the functions from FOO.cpp are not reflected in the VectorCAST environment. This occurs when both units are set as units under test.
Solution:

In VectorCAST, when a class is implemented across multiple units that are simultaneously under test, only the first UUT will have testable functions. There are two approaches to getting past this problem:
 

  1. The first approach is to test each unit independently.
  2. The second approach is to create a new source file that #includes both BAR.cpp and FOO.cpp. This new source file would need to be the only unit set as the unit under test.
     
 
Article Options
2019-10-30
Views: 6