C# Class SoundFingerprinting.Utils.TestRunner

Show file Open project: AddictedCS/soundfingerprinting Class Usage Examples

Public Methods

Method Description
Run ( ) : void
TestRunner ( string scenarious, IModelService modelService, IAudioService audioService, ITagService tagService, IFingerprintCommandBuilder fcb, IQueryCommandBuilder qcb, string pathToResultsFolder ) : System

Private Methods

Method Description
AllFiles ( string rootFolder ) : ConcurrentBag
AppendLine ( StringBuilder sb, object objects ) : void
BuildQuery ( IStride queryStride, int seconds, string positive, int startAt ) : Task
DeleteAll ( ) : void
GetActualTrack ( TagInfo tags ) : TrackData
GetFoundLine ( string actualTrack, TrackData recognizedTrack, bool isSuccessful, QueryResult queryResult ) : object[]
GetInsertMetadata ( ) : string
GetNotFoundLine ( TagInfo tags ) : object[]
GetTagsFromFile ( string path ) : TagInfo
GetTestRunnerEventArgs ( int truePositives, int trueNegatives, int falsePositives, int falseNegatives, object line, int verified ) : TestRunnerEventArgs
GetTestRunnerEventArgsForFinishedTestIteration ( IStride queryStride, int seconds, List startAts, FScore fscore, HammingDistanceResultStatistics statistics, int iteration, Stopwatch stopwatch, int verified ) : TestRunnerEventArgs
Insert ( string folderWithSongs, IStride stride, StringBuilder sb ) : void
InsertTrack ( string file ) : IModelReference
OnTestRunnerEvent ( TestRunnerEvent runnerEvent, EventArgs args ) : void
RunTest ( string parameters ) : void
RunTestScenario ( string folderWithPositives, string folderWithNegatives, IStride queryStride, int seconds, List startAts ) : void
TestRunner ( ITestRunnerUtils utils ) : System
ToStartAts ( string startAtSeconds ) : List
ToTrackString ( TagInfo tag ) : string
ToTrackString ( TrackData actualTrack ) : string

Method Details

Run() public method

public Run ( ) : void
return void

TestRunner() public method

public TestRunner ( string scenarious, IModelService modelService, IAudioService audioService, ITagService tagService, IFingerprintCommandBuilder fcb, IQueryCommandBuilder qcb, string pathToResultsFolder ) : System
scenarious string
modelService IModelService
audioService IAudioService
tagService ITagService
fcb IFingerprintCommandBuilder
qcb IQueryCommandBuilder
pathToResultsFolder string
return System