@UnitTest public class TaskEngineItemsBufferTest extends java.lang.Object
| Constructor and Description |
|---|
TaskEngineItemsBufferTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldBeAlwaysExpiredWhenIntervalIsNegative() |
void |
shouldBeAlwaysExpiredWhenIntervalIsNull() |
void |
shouldBeAlwaysExpiredWhenIntervalIsZero() |
void |
shouldBeExpiredWhenDurationChangedToNegativeValue() |
void |
shouldBeExpiredWhenDurationChangedToNull() |
void |
shouldBeExpiredWhenDurationChangedToZero() |
void |
shouldBeNotExpiredWhenDurationChangedFromZeroToPositiveValue() |
void |
shouldExpireAfterGivenDuration() |
void |
shouldntBeReadedFullyAndConsistentlyByMultipleThreads() |
void |
shouldntBeReadedFullyByConsecutiveReads() |
void |
shouldntProvideTasksWhenBufferIsEmpty() |
void |
shouldntProvideTasksWhenSetToNull() |
void |
shouldProvideAvailableNumberOfTasksWhenLessThanRequestedIsAvailable() |
void |
shouldProvideRequestedNumberOfTasksWhenMoreIsAvailable() |
public void setUp()
public void shouldExpireAfterGivenDuration()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void shouldBeAlwaysExpiredWhenIntervalIsZero()
public void shouldBeAlwaysExpiredWhenIntervalIsNegative()
public void shouldBeAlwaysExpiredWhenIntervalIsNull()
public void shouldBeExpiredWhenDurationChangedToNull()
public void shouldBeExpiredWhenDurationChangedToZero()
public void shouldBeExpiredWhenDurationChangedToNegativeValue()
public void shouldBeNotExpiredWhenDurationChangedFromZeroToPositiveValue()
public void shouldProvideRequestedNumberOfTasksWhenMoreIsAvailable()
public void shouldProvideAvailableNumberOfTasksWhenLessThanRequestedIsAvailable()
public void shouldntProvideTasksWhenBufferIsEmpty()
public void shouldntProvideTasksWhenSetToNull()
public void shouldntBeReadedFullyByConsecutiveReads()
public void shouldntBeReadedFullyAndConsistentlyByMultipleThreads()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2018 SAP SE. All Rights Reserved.