mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2025-02-22 08:19:39 +02:00
G5V8DT-22608 Автосортировщик не сортирует дочерние подсистемы после
получения изменений из базы
This commit is contained in:
parent
c912aa0fff
commit
b750343093
@ -213,7 +213,7 @@ public class SortServiceTest
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isShouldNotifyAboutEvent()
|
||||
protected boolean isShouldCountDownLatch()
|
||||
{
|
||||
return isBmObjectRemoved && isStortStarted;
|
||||
}
|
||||
@ -284,7 +284,7 @@ public class SortServiceTest
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isShouldNotifyAboutEvent()
|
||||
protected boolean isShouldCountDownLatch()
|
||||
{
|
||||
return moveCount == 2;
|
||||
}
|
||||
@ -359,7 +359,7 @@ public class SortServiceTest
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isShouldNotifyAboutEvent()
|
||||
protected boolean isShouldCountDownLatch()
|
||||
{
|
||||
return isBmObjectAdded && isStortStarted;
|
||||
}
|
||||
@ -452,7 +452,7 @@ public class SortServiceTest
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isShouldNotifyAboutEvent())
|
||||
if (isShouldCountDownLatch())
|
||||
{
|
||||
latch.countDown();
|
||||
}
|
||||
@ -470,6 +470,6 @@ public class SortServiceTest
|
||||
*
|
||||
* @return {@code true} if should count down latch, {@code false} otherwise
|
||||
*/
|
||||
protected abstract boolean isShouldNotifyAboutEvent();
|
||||
protected abstract boolean isShouldCountDownLatch();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user