Project

General

Profile

Design #1230

Modify BasicFile return error

Added by Pedro Lourenco over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
31.08.2022
Due date:
% Done:

0%

Estimated time:

Description

Modify the BasicFile to return a warning instead of an error if a file is opened twice.
Relevant for using Bootstrap outside MARTe2 app in AmpegonPsTb project.

History

#1 Updated by Pedro Lourenco over 2 years ago

  • Status changed from New to Code: Impl

#2 Updated by Pedro Lourenco over 2 years ago

Modified BasicFile.cpp to avoid returning and error if the method Open() is called when the file is already opened. The error was replaced by a Warning.
Accordingly, modified test FileSystem_L1Portability_BasicFileGTest.TestOpen_twice to "return true if the first Open() is true and the second is also true."
All "FileSystem_L1Portability_BasicFileGTest.*" tests PASS OK on CCS v7.0.
See branch "#1230_BasicFileError"

#3 Updated by Pedro Lourenco over 2 years ago

  • Subject changed from Modify BasicFile retun warning to Modify BasicFile return error

#4 Updated by André Neto over 2 years ago

  • Status changed from Code: Impl to Unit: Rev

#5 Updated by André Neto over 2 years ago

  • Assignee changed from Pedro Lourenco to André Neto

#6 Updated by André Neto over 2 years ago

  • Assignee deleted (André Neto)
  • Status changed from Unit: Rev to Closed

Merged with develop in a6b714ef7171257607db9d5000474b33bb6df5e6

Also available in: Atom PDF