Esempio n. 1
0
 public void AddInitialEntries()
 {
     _task.Deactivate();
     _firstEntryGuid  = AddEntry("Initial", _analysisWritingSystemIds[0], "meaning", true);
     _secondEntryGuid = AddEntry("Secondary", _analysisWritingSystemIds[0], "secondarymeaning", false);
     AddEntry("Tertiary", _analysisWritingSystemIds[0], "meaning", true);
     ActivateTask();
 }
Esempio n. 2
0
        public void CreateAndActivate_TaskMemoryIsEmpty_Ok()
        {
            var task = new DictionaryTask(_dictControlFactory, DictionaryBrowseAndEditConfiguration.CreateForTests("definition"), _lexEntryRepository,
                                          new TaskMemoryRepository());

            task.Activate();
            task.Deactivate();
        }