|
| 1 | +/** |
| 2 | + * Copyright 2013 Netflix, Inc. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
1 | 16 | package rx.subjects;
|
2 | 17 |
|
3 | 18 | import static org.junit.Assert.*;
|
|
18 | 33 | import rx.subscriptions.Subscriptions;
|
19 | 34 | import rx.util.functions.Action1;
|
20 | 35 |
|
21 |
| -public class ReplaySubjectPerformanceAndConcurrencyTest { |
| 36 | +public class ReplaySubjectConcurrencyTest { |
22 | 37 |
|
23 | 38 | public static void main(String args[]) {
|
24 | 39 | try {
|
25 | 40 | for (int i = 0; i < 100; i++) {
|
26 |
| - new ReplaySubjectPerformanceAndConcurrencyTest().testSubscribeCompletionRaceCondition(); |
27 |
| - new ReplaySubjectPerformanceAndConcurrencyTest().testReplaySubjectConcurrentSubscriptions(); |
28 |
| - new ReplaySubjectPerformanceAndConcurrencyTest().testReplaySubjectConcurrentSubscribersDoingReplayDontBlockEachOther(); |
| 41 | + new ReplaySubjectConcurrencyTest().testSubscribeCompletionRaceCondition(); |
| 42 | + new ReplaySubjectConcurrencyTest().testReplaySubjectConcurrentSubscriptions(); |
| 43 | + new ReplaySubjectConcurrencyTest().testReplaySubjectConcurrentSubscribersDoingReplayDontBlockEachOther(); |
29 | 44 | }
|
30 | 45 | } catch (InterruptedException e) {
|
31 | 46 | e.printStackTrace();
|
|
0 commit comments