Пример #1
0
  @Test
  public void testDictionary1DirtyHandling() {

    DictionaryEditorModuleTestUI<Entity1VO> editor =
        MangoClientSyncWebTest.getInstance()
            .openEditor(MangoDemoDictionaryModel.DEMO_DICTIONARY1.DEMO_EDITOR1);

    editor.assertNotDirty();

    TextTestControl textControl1 =
        editor.getControl(
            MangoDemoDictionaryModel.DEMO_DICTIONARY1.DEMO_EDITOR1.TABFOLDER1.TAB1.TEXT_CONTROL1);
    textControl1.enterValue(UUID.randomUUID().toString());
    editor.assertDirty();

    editor.save();
    editor.assertNotDirty();
  }