Skip to content

Add method LoadFromJson to ConfigReader_Json #3117

@bradwilson

Description

@bradwilson

Discussed in #3116

Originally posted by SteveBush January 4, 2025
On mobile platforms like Android, assets (embedded files) are opened as streams. The suggestion is to pull out the test assembly configuration Json parsing code in the method:

static bool LoadFile(TestAssemblyConfiguration configuration, string configFileName, List<string>? warnings)

Into another method:
static bool LoadFromJson(TestAssemblyConfiguration configuration, string jsonText, List<string>? warnings)

Alternatively, move the Json parsing code to TestAssemblyConfiguration and add methods to LoadFromJson and SaveToJson.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions