Menu

#257 Add the ternary for strings

v1.1.x
closed
None
v1.1.0
New Functionality
2017-12-12
2017-11-04
Erik Hänel
No

The ternary is working only in seldom cases with strings. Add this functionality, so that it is working correctly.

Analysis:
There are multiple changes:

  • (Refactoring) Move the parser_evalStringLogic() to the stringparsing module
  • Add the question mark ? to the possible logical operators in parser_detectStringLogicals()
  • Add the needed functionality to parser_evalStringLogic()

Implementation:
The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
Not needed. Missing but expected feature.

Tests:
Software tests returned an error, if multiple ternaries are enclosed in each other. The error was fixed. No further deviations detected. Functionality implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-11-05
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-11-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
    -The ternary is working only iin seldom cases with strings. Add this functionality, so that it is working correctly.
    +The ternary is working only in seldom cases with strings. Add this functionality, so that it is working correctly.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-11-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,11 @@
     The ternary is working only in seldom cases with strings. Add this functionality, so that it is working correctly.
    
     **Analysis:**
    +There are multiple changes:
    +
    +- (Refactoring) Move the `parser_evalStringLogic()` to the stringparsing module
    +- Add the question mark `?` to the possible logical operators in `parser_detectStringLogicals()`
    +- Add the needed functionality to `parser_evalStringLogic()`
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-11-18
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -8,7 +8,9 @@
    
     - Add the needed functionality to `parser_evalStringLogic()`
    
     **Implementation:**
    +The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +Not needed. Missing but expected feature.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-12-12
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -14,3 +14,4 @@
     Not needed. Missing but expected feature.
    
     **Tests:**
    +Software tests returned an error, if multiple ternaries are enclosed in each other. The error was fixed. No further deviations detected. Functionality implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB