Menu

#391 Add "getenvvar()" function to the string parser

v1.1.x
closed
None
v1.1.1
New Functionality
2018-11-11
2018-11-07
Erik Hänel
No

Add the getenvvar(VARNAME) string function, which is an interface to the cstdlib function char* getenv(const char*). See http://www.cplusplus.com/reference/cstdlib/getenv/

Analysis:

The changes are quite simple: include cstdlib, create the corresponding function, register it in the string parser and create the corresponding language strings and search database entries.

Implementation:

  • Implementation: The implementation was done as proposed by the analysis.
  • Revision: [r409]
  • Implementation test: Different and non-existent variables were queried and no deviation occured.

Documentation:

  • ChangesLog: updated
  • Comments: Not needed - too small change
  • Documentation articles: Search database was updated.
  • Language files: Language files were updated.

Tests:

This functionality was tested in the automatic SW tests. No deviations detected.

Related

Commit: [r409]

Discussion

  • Erik Hänel

    Erik Hänel - 2018-11-07
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-11-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,18 @@
     Add the `getenvvar(VARNAME)` string function, which is an interface to the `cstdlib` function `char* getenv(const char*)`. See http://www.cplusplus.com/reference/cstdlib/getenv/
    +
    +###Analysis:
    +(*Describe, what's the issue and which changes have to be made*)
    +
    +###Implementation:
    +* Implementation: (*Describe, what you've changed*) 
    +* Revision: [rXXX]
    +* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +
    +###Documentation:
    +* ChangesLog: (*Have you updated the changes log?*)
    +* Comments: (*Have you written comments in the code, which describe your change?*)
    +* Documentation articles: (*Have you updated the documentation articles?*)
    +* Language files: (*Have you updated the language files?*)
    +
    +###Tests:
    +(*Describe, which tests you performed and their outcome*)
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-11-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Add the `getenvvar(VARNAME)` string function, which is an interface to the `cstdlib` function `char* getenv(const char*)`. See http://www.cplusplus.com/reference/cstdlib/getenv/
    
     ###Analysis:
    -(*Describe, what's the issue and which changes have to be made*)
    +The changes are quite simple: include `cstdlib`, create the corresponding function, register it in the string parser and create the corresponding language strings and search database entries.
    
     ###Implementation:
    
     * Implementation: (*Describe, what you've changed*) 
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-11-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,15 +4,15 @@
     The changes are quite simple: include `cstdlib`, create the corresponding function, register it in the string parser and create the corresponding language strings and search database entries.
    
     ###Implementation:
    -* Implementation: (*Describe, what you've changed*) 
    -* Revision: [rXXX]
    -* Implementation test: (*Describe the type of test, which you performed, and if it was successful*)
    +* Implementation: The implementation was done as proposed by the analysis.
    +* Revision: [r409]
    +* Implementation test: Different and non-existent variables were queried and no deviation occured.
    
     ###Documentation:
    -* ChangesLog: (*Have you updated the changes log?*)
    -* Comments: (*Have you written comments in the code, which describe your change?*)
    -* Documentation articles: (*Have you updated the documentation articles?*)
    -* Language files: (*Have you updated the language files?*)
    +* ChangesLog: updated
    +* Comments: Not needed - too small change
    +* Documentation articles: Search database was updated.
    +* Language files: Language files were updated.
    
     ###Tests:
     (*Describe, which tests you performed and their outcome*)
    
    • status: implementing --> testing
     

    Related

    Commit: [r409]

  • Erik Hänel

    Erik Hänel - 2018-11-11
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -15,4 +15,4 @@
    
     * Language files: Language files were updated.
    
     ###Tests:
    -(*Describe, which tests you performed and their outcome*)
    +This functionality was tested in the automatic SW tests. No deviations detected.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB