Search in sources :

Example 1 with AssetUpdateValidator

use of org.kie.workbench.common.widgets.metadata.client.validation.AssetUpdateValidator in project kie-wb-common by kiegroup.

the class KieEditorTest method testGetRenameValidator.

@Test
public void testGetRenameValidator() {
    final Validator renameValidator = presenter.getRenameValidator();
    assertEquals(assetUpdateValidator, renameValidator);
}
Also used : Validator(org.uberfire.ext.editor.commons.client.validation.Validator) AssetUpdateValidator(org.kie.workbench.common.widgets.metadata.client.validation.AssetUpdateValidator) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 AssetUpdateValidator (org.kie.workbench.common.widgets.metadata.client.validation.AssetUpdateValidator)1 Validator (org.uberfire.ext.editor.commons.client.validation.Validator)1