public void RecognizerTestInit() { Load <Word>(); CreatedWordsManager.ClearCreated(); r = new SuggestionsMaker(session, AuthorityController.CurrentDoctor); }
public void AutocompleteTestInit() { CreatedWordsManager.ClearCreated(); var r = new SuggestionsMaker(session, AuthorityController.CurrentDoctor); a = new HrEditorAutocomplete(r); }
public void AutocompleteTestInit() { CreatedWordsManager.ClearCreated(); r = new SuggestionsMaker(session, AuthorityController.CurrentDoctor); a = new HrEditorAutocomplete(r); word = session.Get <Word>(IntToGuid <Word>(1)); icd1 = session.Get <IcdDisease>(1); q = word.Title.Substring(0, word.Title.Length - 1); qFull = word.Title; a.SelectedTag = a.Tags.Last(); }
public void AutocompleteTestInit() { CreatedWordsManager.ClearCreated(); r = new SuggestionsMaker(session, AuthorityController.CurrentDoctor); bs = new BlankSetter(r.FirstMatchingOrNewWord, null, null); var a = new HrEditorAutocomplete(r); tag = new TagViewModel(a); word = session.Get <Word>(IntToGuid <Word>(1)); icd1 = session.Get <IcdDisease>(1); q = "123"; //Contract.ContractFailed += (sender, e) => //{ // e.SetUnwind(); // cause code to abort after event // Assert.Fail(e.FailureKind.ToString() + ":" + e.Message); //}; }