1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-04-24 08:32:35 +02:00

G5V8DT-22608 Автосортировщик не сортирует дочерние подсистемы после

получения изменений из базы
This commit is contained in:
traggerW 2023-09-15 18:23:52 +03:00
parent f4a9287126
commit 6da14e9a2e

View File

@ -33,6 +33,7 @@ import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@ -174,6 +175,7 @@ public class SortServiceTest
assertEquals("ОбщийМодуль", configuration.getCommonModules().get(5).getName());
}
@Ignore("G5V8DT-24222")
@Test
public void testSortAfterRemoveEvent() throws Exception
{
@ -227,7 +229,7 @@ public class SortServiceTest
IBmObject commonModule = transaction.getTopObjectByFqn("CommonModule.ГМодуль");
Configuration configuration =
transaction.toTransactionObject(((IConfigurationAware)v8Project).getConfiguration());
configuration.getCommonModules().remove((CommonModule)commonModule);
configuration.getCommonModules().remove(commonModule);
transaction.detachTopObject(commonModule);
return null;
}
@ -250,6 +252,7 @@ public class SortServiceTest
assertEquals("ОбщийМодуль", configuration.getCommonModules().get(4).getName());
}
@Ignore("G5V8DT-24222")
@Test
public void testSortAfterMoveEvent() throws Exception
{
@ -321,6 +324,7 @@ public class SortServiceTest
assertEquals("ОбщийМодуль", configuration.getCommonModules().get(5).getName());
}
@Ignore("G5V8DT-24222")
@Test
public void testSortAfterAddEvent() throws Exception
{