Skip to content

Commit

Permalink
Fixed PropertyOfPropertyTest to use a event listener executor which a…
Browse files Browse the repository at this point in the history
…dheres to the requirement of the listener notification.
  • Loading branch information
kelemen committed Sep 12, 2017
1 parent ed1b5c0 commit f554bed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.stream.IntStream;
import org.jtrim2.concurrent.Tasks;
import org.jtrim2.event.ListenerRef;
import org.jtrim2.executor.SyncTaskExecutor;
import org.jtrim2.executor.TaskExecutors;
import org.jtrim2.testutils.JTrimTests;
import org.junit.Test;

Expand Down Expand Up @@ -257,7 +257,7 @@ private static final class TestProperty {

public TestProperty(TestFactory<MutableProperty<String>, String> factory) {
this.originalNested = PropertyFactory.memProperty("");
this.property = PropertyFactory.memPropertyConcurrent(originalNested, SyncTaskExecutor.getSimpleExecutor());
this.property = PropertyFactory.memPropertyConcurrent(originalNested, TaskExecutors.inOrderSyncExecutor());
this.wrapper = factory.create(property, arg -> arg);
}

Expand Down

0 comments on commit f554bed

Please sign in to comment.