TestimoX

API Reference

Class

BenchmarkControlSetSerializer

Namespace TestimoX.Benchmarks.Execution
Assembly TestimoX
Modifiers static

Reads, writes, hashes, and validates named benchmark control sets.

Inheritance

  • Object
  • BenchmarkControlSetSerializer

Methods

public static String CalculateHash(BenchmarkControlSet controlSet) #
Returns: String

Calculates the canonical SHA-256 hash while excluding the mutable hash property.

Parameters

controlSet TestimoX.Benchmarks.Execution.BenchmarkControlSet requiredposition: 0
public static BenchmarkControlSet Deserialize(String json, String sourceName = null) #
Returns: BenchmarkControlSet

Deserializes and integrity-verifies a named control set from JSON.

Parameters

json System.String requiredposition: 0
sourceName System.String = null optionalposition: 1
public static BenchmarkControlSet Load(String path) #
Returns: BenchmarkControlSet

Loads and integrity-verifies a named control set.

Parameters

path System.String requiredposition: 0
public static Void Save(BenchmarkControlSet controlSet, String path) #
Returns: Void

Validates, hashes, and atomically saves a named control set.

Parameters

controlSet TestimoX.Benchmarks.Execution.BenchmarkControlSet requiredposition: 0
path System.String requiredposition: 1
public static String Serialize(BenchmarkControlSet controlSet) #
Returns: String

Serializes a named control set after refreshing its integrity hash.

Parameters

controlSet TestimoX.Benchmarks.Execution.BenchmarkControlSet requiredposition: 0
public static Void Validate(BenchmarkControlSet controlSet, Boolean verifyHash) #
Returns: Void

Validates structure, uniqueness, and optional content integrity.

Parameters

controlSet TestimoX.Benchmarks.Execution.BenchmarkControlSet requiredposition: 0
verifyHash System.Boolean requiredposition: 1