language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -4860,6 +4860,31 @@ public final Maybe<T> retryWhen(
return toFlowable().retryWhen(handler).singleElement();
}
+ /**
+ * Wraps the given {@link MaybeObserver}, catches any {@link RuntimeException}s thrown by its
+ * {@link MaybeObserver#onSubscribe(Disposable)}, {@link MaybeObserver#onSucc... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -4287,6 +4287,31 @@ public final Single<T> retryWhen(@NonNull Function<? super Flowable<Throwable>,
return toSingle(toFlowable().retryWhen(handler));
}
+ /**
+ * Wraps the given {@link SingleObserver}, catches any {@link RuntimeException}s thrown by its
+ * {@link SingleObserver#onSubscrib... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/main/java/io/reactivex/rxjava3/internal/observers/SafeCompletableObserver.java | @@ -0,0 +1,78 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/main/java/io/reactivex/rxjava3/internal/observers/SafeMaybeObserver.java | @@ -0,0 +1,91 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/main/java/io/reactivex/rxjava3/internal/observers/SafeSingleObserver.java | @@ -0,0 +1,79 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableSafeSubscribeTest.java | @@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeSafeSubscribeTest.java | @@ -0,0 +1,197 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleSafeSubscribeTest.java | @@ -0,0 +1,154 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 2d8660e070fe65b8089855ba1a58ef49d7c1b70a.json | 3.x: Add safeSubscribe to Maybe, Single & Completable (#6887) | src/test/java/io/reactivex/rxjava3/internal/util/OperatorMatrixGenerator.java | @@ -147,7 +147,12 @@ public static void main(String[] args) throws IOException {
out.println("<br/>");
}
}
- if (!tbdList.isEmpty()) {
+ if (tbdList.isEmpty()) {
+ out.println();
+ out.println("#### Under development"... | true |
Other | ReactiveX | RxJava | 78c70d6a5365cb8db532d23397d5a0b4c114b72a.json | 3.x: Add Single.mergeArray & mergeArrayDelayError (#6882)
* 3.x: Add Single.mergeArray & mergeArrayDelayError
* Remove unnecessary shortcut | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -1415,7 +1415,7 @@ public static <T> Flowable<T> merge(
}
/**
- * Merges an array sequence of {@link MaybeSource} instances into a single {@link Flowable} sequence,
+ * Merges an array of {@link MaybeSource} instances into a single {@link Flowable} sequence,
* running all {@code MaybeSource... | true |
Other | ReactiveX | RxJava | 78c70d6a5365cb8db532d23397d5a0b4c114b72a.json | 3.x: Add Single.mergeArray & mergeArrayDelayError (#6882)
* 3.x: Add Single.mergeArray & mergeArrayDelayError
* Remove unnecessary shortcut | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -17,7 +17,7 @@
import java.util.concurrent.*;
import java.util.stream.*;
-import org.reactivestreams.Publisher;
+import org.reactivestreams.*;
import io.reactivex.rxjava3.annotations.*;
import io.reactivex.rxjava3.disposables.Disposable;
@@ -1323,6 +1323,81 @@ public static <T> Flowable<T> merge(
re... | true |
Other | ReactiveX | RxJava | 78c70d6a5365cb8db532d23397d5a0b4c114b72a.json | 3.x: Add Single.mergeArray & mergeArrayDelayError (#6882)
* 3.x: Add Single.mergeArray & mergeArrayDelayError
* Remove unnecessary shortcut | src/test/java/io/reactivex/rxjava3/internal/fuseable/CancellableQueueFuseableTest.java | @@ -57,7 +57,7 @@ public void dispose() {
@Test
public void cancel2() {
- AbstractEmptyQueueFuseable<Object> qs = new AbstractEmptyQueueFuseable<Object>() {};
+ AbstractEmptyQueueFuseable<Object> qs = new AbstractEmptyQueueFuseable<Object>() { };
assertFalse(qs.isDisposed());
@@ -... | true |
Other | ReactiveX | RxJava | 78c70d6a5365cb8db532d23397d5a0b4c114b72a.json | 3.x: Add Single.mergeArray & mergeArrayDelayError (#6882)
* 3.x: Add Single.mergeArray & mergeArrayDelayError
* Remove unnecessary shortcut | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleMergeArrayTest.java | @@ -0,0 +1,50 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | docs/Operator-Matrix.md | @@ -32,10 +32,10 @@ Operator | || | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -202,6 +202,27 @@ public static Completable concatArray(@NonNull CompletableSource... sources) {
return RxJavaPlugins.onAssembly(new CompletableConcatArray(sources));
}
+ /**
+ * Returns a {@code Completable} which completes only when all sources complete, one after another.
+ * <p>
+ ... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -446,13 +446,42 @@ public static <T> Flowable<T> concatArrayDelayError(@NonNull MaybeSource<? exten
public static <T> Flowable<T> concatArrayEager(@NonNull MaybeSource<? extends T>... sources) {
return Flowable.fromArray(sources).concatMapEager((Function)MaybeToPublisher.instance());
}
+ /**
+ ... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -406,10 +406,35 @@ public static <T> Flowable<T> concat(
@NonNull
@BackpressureSupport(BackpressureKind.FULL)
@SchedulerSupport(SchedulerSupport.NONE)
- @SuppressWarnings({ "unchecked", "rawtypes" })
@SafeVarargs
public static <T> Flowable<T> concatArray(@NonNull SingleSource<? extends T>... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableConcatArrayDelayErrorTest.java | @@ -0,0 +1,43 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableConcatDelayErrorTest.java | @@ -0,0 +1,82 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeConcatArrayEagerDelayErrorTest.java | @@ -0,0 +1,34 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleConcatArrayDelayErrorTest.java | @@ -0,0 +1,34 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleConcatArrayEagerDelayErrorTest.java | @@ -0,0 +1,34 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleConcatDelayErrorTest.java | @@ -0,0 +1,58 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 9283700d3a04d495b0845f947ed119c1ed10ee94.json | 3.x: Add various concatXDelayError operators (#6881) | src/test/java/io/reactivex/rxjava3/maybe/MaybeTest.java | @@ -2388,6 +2388,17 @@ public void concatPublisherDelayError() {
.assertFailure(TestException.class, 1);
}
+ @Test
+ public void concatPublisherDelayErrorPrefetch() {
+ Maybe.concatDelayError(Flowable.just(Maybe.empty(), Maybe.just(1), Maybe.error(new TestException())), 1)
+ .test()
... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | docs/Operator-Matrix.md | @@ -71,7 +71,7 @@ Operator | || | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -18,6 +18,7 @@
import org.reactivestreams.*;
import io.reactivex.rxjava3.annotations.*;
+import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.exceptions.*;
import io.reactivex.rxjava3.functions.*;
@@ -1751,6 +1752,34 @@ public final Compl... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -3388,6 +3388,34 @@ public final Maybe<T> doOnEvent(@NonNull BiConsumer<@Nullable ? super T, @Nullab
return RxJavaPlugins.onAssembly(new MaybeDoOnEvent<>(this, onEvent));
}
+ /**
+ * Calls the appropriate {@code onXXX} method (shared between all {@link MaybeObserver}s) for the lifecycle events... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -2684,6 +2684,34 @@ public final Single<T> doFinally(@NonNull Action onFinally) {
return RxJavaPlugins.onAssembly(new SingleDoFinally<>(this, onFinally));
}
+ /**
+ * Calls the appropriate {@code onXXX} method (shared between all {@link SingleObserver}s) for the lifecycle events of
+ * the... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeDoOnLifecycle.java | @@ -0,0 +1,125 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/main/java/io/reactivex/rxjava3/internal/operators/single/SingleDoOnLifecycle.java | @@ -0,0 +1,119 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableDoOnLifecycleTest.java | @@ -0,0 +1,153 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeDoOnLifecycleTest.java | @@ -0,0 +1,168 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 4257ef563a3bf017e0703c00057daf12b54738ba.json | 3.x: Add doOnLifecycle to M/S/C (#6877) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleDoOnLifecycleTest.java | @@ -0,0 +1,152 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | docs/Operator-Matrix.md | @@ -58,7 +58,7 @@ Operator | ||
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -34,7 +34,7 @@
import io.reactivex.rxjava3.internal.util.ErrorMode;
import io.reactivex.rxjava3.observers.TestObserver;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
-import io.reactivex.rxjava3.schedulers.Schedulers;
+import io.reactivex.rxjava3.schedulers.*;
/**
* The {@code Maybe} class represents a ... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -36,7 +36,7 @@
import io.reactivex.rxjava3.internal.util.ErrorMode;
import io.reactivex.rxjava3.observers.TestObserver;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;
-import io.reactivex.rxjava3.schedulers.Schedulers;
+import io.reactivex.rxjava3.schedulers.*;
/**
* The {@code Single} class implements t... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeTimeInterval.java | @@ -0,0 +1,105 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/main/java/io/reactivex/rxjava3/internal/operators/single/SingleTimeInterval.java | @@ -0,0 +1,100 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/main/java/io/reactivex/rxjava3/schedulers/Timed.java | @@ -33,10 +33,10 @@
* @param value the value to hold
* @param time the time to hold
* @param unit the time unit, not null
- * @throws NullPointerException if unit is {@code null}
+ * @throws NullPointerException if {@code value} or {@code unit} is {@code null}
*/
public Timed(@NonNu... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeTimeIntervalTest.java | @@ -0,0 +1,111 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeTimestampTest.java | @@ -0,0 +1,111 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleTimeIntervalTest.java | @@ -0,0 +1,103 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleTimestampTest.java | @@ -0,0 +1,103 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/internal/util/OperatorMatrixGenerator.java | @@ -458,6 +458,7 @@ static String findNotes(String clazzName, String operatorName) {
" C throttleLatest Always empty thus no items to work with.",
" MS throttleWithTimeout At most one item signaled so no subsequent items to work with.",
... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/schedulers/TimedTest.java | @@ -39,7 +39,7 @@ public void hashCodeOf() {
assertEquals(TimeUnit.SECONDS.hashCode() + 31 * (5 + 31 * 1), t1.hashCode());
- Timed<Integer> t2 = new Timed<>(null, 5, TimeUnit.SECONDS);
+ Timed<Integer> t2 = new Timed<>(0, 5, TimeUnit.SECONDS);
assertEquals(TimeUnit.SECONDS.hashCode... | true |
Other | ReactiveX | RxJava | d5449b2fd63c73dea06fbbd5d584bab7b9cfde5d.json | 3.x: Add timeInterval & timestamp to M/S (#6874)
* 3.x: Add timeInterval & timestamp to M/S
* Fix null not allowed in Timed
* Fix Timed coverage | src/test/java/io/reactivex/rxjava3/validators/JavadocWording.java | @@ -153,12 +153,12 @@ public void maybeDocRefersToMaybeTypes() throws Exception {
jdx = 0;
for (;;) {
int idx = m.javadoc.indexOf("Single", jdx);
- if (idx >= 0) {
+ if (idx >= 0 && m.javadoc.indexOf("Single#", jdx) != idx) {
... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | docs/Operator-Matrix.md | @@ -102,19 +102,19 @@ Operator |  <sup title='Use flatMapStream().'>([67](#notes-67))</sup>|![absent]... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -496,7 +496,7 @@ public static Completable fromFuture(@NonNull Future<?> future) {
}
/**
- * Returns a {@code Completable} instance that when subscribed to, subscribes to the {@link Maybe} instance and
+ * Returns a {@code Completable} instance that when subscribed to, subscribes to the {@link Ma... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -19,7 +19,6 @@
import org.reactivestreams.*;
import io.reactivex.rxjava3.annotations.*;
-import io.reactivex.rxjava3.core.Observable;
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.exceptions.*;
import io.reactivex.rxjava3.flowables.*;
@@ -28,8 +27,10 @@
import io.reactivex.r... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -30,6 +30,7 @@
import io.reactivex.rxjava3.internal.operators.flowable.*;
import io.reactivex.rxjava3.internal.operators.maybe.*;
import io.reactivex.rxjava3.internal.operators.mixed.*;
+import io.reactivex.rxjava3.internal.operators.observable.ObservableElementAtMaybe;
import io.reactivex.rxjava3.internal.util.... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/core/Observable.java | @@ -28,8 +28,10 @@
import io.reactivex.rxjava3.internal.jdk8.*;
import io.reactivex.rxjava3.internal.observers.*;
import io.reactivex.rxjava3.internal.operators.flowable.*;
+import io.reactivex.rxjava3.internal.operators.maybe.MaybeToObservable;
import io.reactivex.rxjava3.internal.operators.mixed.*;
import io.rea... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -731,6 +731,56 @@ public static <T> Single<T> error(@NonNull Throwable throwable) {
return toSingle(Flowable.fromFuture(future, timeout, unit));
}
+ /**
+ * Returns a {@code Single} instance that when subscribed to, subscribes to the {@link MaybeSource} instance and
+ * emits {@code onSucc... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/fuseable/AbstractEmptyQueueFuseable.java | @@ -0,0 +1,76 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/fuseable/CancellableQueueFuseable.java | @@ -0,0 +1,42 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/observers/SubscriberCompletableObserver.java | @@ -1,59 +0,0 @@
-/**
- * Copyright (c) 2016-present, RxJava Contributors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/completable/CompletableFromAction.java | @@ -31,19 +31,21 @@ public CompletableFromAction(Action run) {
protected void subscribeActual(CompletableObserver observer) {
Disposable d = Disposable.empty();
observer.onSubscribe(d);
- try {
- run.run();
- } catch (Throwable e) {
- Exceptions.throwIfFatal(e)... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/completable/CompletableFromRunnable.java | @@ -30,19 +30,21 @@ public CompletableFromRunnable(Runnable runnable) {
protected void subscribeActual(CompletableObserver observer) {
Disposable d = Disposable.empty();
observer.onSubscribe(d);
- try {
- runnable.run();
- } catch (Throwable e) {
- Exceptions.t... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/completable/CompletableToFlowable.java | @@ -16,7 +16,7 @@
import org.reactivestreams.Subscriber;
import io.reactivex.rxjava3.core.*;
-import io.reactivex.rxjava3.internal.observers.SubscriberCompletableObserver;
+import io.reactivex.rxjava3.internal.operators.flowable.FlowableFromCompletable;
public final class CompletableToFlowable<T> extends Flowabl... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/completable/CompletableToObservable.java | @@ -14,9 +14,7 @@
package io.reactivex.rxjava3.internal.operators.completable;
import io.reactivex.rxjava3.core.*;
-import io.reactivex.rxjava3.disposables.Disposable;
-import io.reactivex.rxjava3.internal.disposables.DisposableHelper;
-import io.reactivex.rxjava3.internal.observers.BasicQueueDisposable;
+import io... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableElementAtMaybePublisher.java | @@ -0,0 +1,42 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromAction.java | @@ -0,0 +1,68 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromCompletable.java | @@ -0,0 +1,86 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromObservable.java | @@ -18,9 +18,10 @@
import io.reactivex.rxjava3.disposables.Disposable;
public final class FlowableFromObservable<T> extends Flowable<T> {
- private final Observable<T> upstream;
- public FlowableFromObservable(Observable<T> upstream) {
+ private final ObservableSource<T> upstream;
+
+ public FlowableF... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromRunnable.java | @@ -0,0 +1,68 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeFromCompletable.java | @@ -19,7 +19,7 @@
import io.reactivex.rxjava3.internal.fuseable.HasUpstreamCompletableSource;
/**
- * Wrap a Single into a Maybe.
+ * Wrap a Completable into a Maybe.
*
* @param <T> the value type
*/ | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeToSingle.java | @@ -22,7 +22,7 @@
/**
* Wraps a MaybeSource and exposes its onSuccess and onError signals and signals
- * NoSuchElementException for onComplete.
+ * NoSuchElementException for onComplete if {@code defaultValue} is null.
*
* @param <T> the value type
*/ | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromAction.java | @@ -0,0 +1,66 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromCompletable.java | @@ -0,0 +1,89 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromRunnable.java | @@ -0,0 +1,66 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/fuseable/CancellableQueueFuseableTest.java | @@ -0,0 +1,75 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableAndThenCompletableabTest.java | @@ -102,7 +102,7 @@ public void run() {
.andThen(Completable.complete())
.test(true)
.assertEmpty();
- assertEquals(1, completableRunCount.get());
+ assertEquals(0, completableRunCount.get());
}
@Test | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableFromActionTest.java | @@ -14,6 +14,7 @@
package io.reactivex.rxjava3.internal.operators.completable;
import static org.junit.Assert.assertEquals;
+import static org.mockito.Mockito.*;
import java.util.concurrent.atomic.AtomicInteger;
@@ -108,7 +109,7 @@ public void run() throws Exception {
.test(true)
.assertEmpty... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableFromRunnableTest.java | @@ -14,6 +14,7 @@
package io.reactivex.rxjava3.internal.operators.completable;
import static org.junit.Assert.assertEquals;
+import static org.mockito.Mockito.*;
import java.util.concurrent.atomic.AtomicInteger;
@@ -107,7 +108,7 @@ public void run() {
.test(true)
.assertEmpty();
- as... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/completable/CompletableToObservableTest.java | @@ -13,16 +13,10 @@
package io.reactivex.rxjava3.internal.operators.completable;
-import static org.junit.Assert.*;
-
import org.junit.Test;
import io.reactivex.rxjava3.core.*;
-import io.reactivex.rxjava3.disposables.*;
import io.reactivex.rxjava3.functions.Function;
-import io.reactivex.rxjava3.internal.fus... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromActionTest.java | @@ -0,0 +1,214 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromCompletableTest.java | @@ -0,0 +1,196 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromMaybeTest.java | @@ -0,0 +1,93 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromObservableTest.java | @@ -32,4 +32,14 @@ public void error() {
.test()
.assertFailure(TestException.class);
}
+
+ @Test
+ public void all() {
+ for (BackpressureStrategy mode : BackpressureStrategy.values()) {
+ Flowable.fromObservable(Observable.range(1, 5), mode)
+ .test()
+ ... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromRunnableTest.java | @@ -0,0 +1,220 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFromSingleTest.java | @@ -0,0 +1,86 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeFromObservableTest.java | @@ -0,0 +1,50 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/maybe/MaybeFromPubisherTest.java | @@ -0,0 +1,50 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromActionTest.java | @@ -0,0 +1,214 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromCompletableTest.java | @@ -0,0 +1,195 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromMaybeTest.java | @@ -0,0 +1,93 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromRunnableTest.java | @@ -0,0 +1,220 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unle... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/observable/ObservableFromSingleTest.java | @@ -0,0 +1,86 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/operators/single/SingleFromMaybeTest.java | @@ -0,0 +1,72 @@
+/**
+ * Copyright (c) 2016-present, RxJava Contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unles... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/internal/util/OperatorMatrixGenerator.java | @@ -83,16 +83,19 @@ public static void main(String[] args) throws IOException {
Map<String, Integer> notesMap = new HashMap<>();
List<String> notesList = new ArrayList<>();
List<String> tbdList = new ArrayList<>();
+ int[] counters = new int[CLASSES.length];
... | true |
Other | ReactiveX | RxJava | 26dacd72f1929c78d84da41ec80dc1ae3996c9f9.json | 3.x: Add many fromX operators + marbles (#6873) | src/test/java/io/reactivex/rxjava3/validators/InternalWrongNaming.java | @@ -62,7 +62,7 @@ static void checkInternalOperatorNaming(String baseClassName, String consumerCla
fail.append("java.lang.RuntimeException: " + g.getName() + " mentions " + consumerClassName)
.append("\r\n at io.reactivex.internal.operators.")
.... | true |
Other | ReactiveX | RxJava | 611bb3f04dd99bfb141500f304d7a0c44fbfd5db.json | Fix minor JavaDocs syntax errors | src/main/java/io/reactivex/rxjava3/core/Flowable.java | @@ -11960,7 +11960,7 @@ public final <U> Flowable<U> ofType(@NonNull Class<U> clazz) {
*
* @return the new {@code Flowable} instance
* @see <a href="http://reactivex.io/documentation/operators/backpressure.html">ReactiveX operators documentation: backpressure operators</a>
- * #see {@link #onBackp... | true |
Other | ReactiveX | RxJava | 611bb3f04dd99bfb141500f304d7a0c44fbfd5db.json | Fix minor JavaDocs syntax errors | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -2659,7 +2659,7 @@ public final void blockingSubscribe(@NonNull Consumer<? super T> onSuccess, @Non
* </dl>
* @param onSuccess the {@link Consumer} to call if the current {@code Maybe} succeeds
* @param onError the {@code Consumer} to call if the current {@code Maybe} signals an error
- * @para... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/main/java/io/reactivex/rxjava3/core/Completable.java | @@ -2317,6 +2317,26 @@ public final Completable retry(@NonNull Predicate<? super Throwable> predicate)
return fromPublisher(toFlowable().retry(predicate));
}
+ /**
+ * Retries until the given stop function returns {@code true}.
+ * <p>
+ * <img width="640" height="354" src="https://raw.gi... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -4433,6 +4433,8 @@ public final Maybe<T> retry(@NonNull Predicate<? super Throwable> predicate) {
/**
* Retries until the given stop function returns {@code true}.
+ * <p>
+ * <img width="640" height="285" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.retryUntil.png... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/main/java/io/reactivex/rxjava3/core/Single.java | @@ -3747,6 +3747,26 @@ public final Single<T> retry(@NonNull Predicate<? super Throwable> predicate) {
return toSingle(toFlowable().retry(predicate));
}
+ /**
+ * Retries until the given stop function returns {@code true}.
+ * <p>
+ * <img width="640" height="364" src="https://raw.github.... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/test/java/io/reactivex/rxjava3/completable/CompletableRetryTest.java | @@ -20,6 +20,7 @@
import org.junit.Test;
import io.reactivex.rxjava3.core.*;
+import io.reactivex.rxjava3.exceptions.TestException;
import io.reactivex.rxjava3.functions.*;
import io.reactivex.rxjava3.internal.functions.Functions;
@@ -113,4 +114,42 @@ public void retryTimesPredicateWithZeroRetries() {
... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/test/java/io/reactivex/rxjava3/maybe/MaybeRetryTest.java | @@ -21,6 +21,7 @@
import org.junit.Test;
import io.reactivex.rxjava3.core.*;
+import io.reactivex.rxjava3.exceptions.TestException;
import io.reactivex.rxjava3.functions.Predicate;
import io.reactivex.rxjava3.internal.functions.Functions;
@@ -120,4 +121,58 @@ public void retryTimesPredicateWithZeroRetries() {
... | true |
Other | ReactiveX | RxJava | 0ed3572c8961dfdfa7dc73dd0419b5f789d1d1ad.json | 3.x: Add S/C retryUntil + marbles (#6869) | src/test/java/io/reactivex/rxjava3/single/SingleRetryTest.java | @@ -21,6 +21,7 @@
import org.junit.Test;
import io.reactivex.rxjava3.core.*;
+import io.reactivex.rxjava3.exceptions.TestException;
import io.reactivex.rxjava3.functions.Predicate;
import io.reactivex.rxjava3.internal.functions.Functions;
@@ -120,4 +121,42 @@ public void retryTimesPredicateWithZeroRetries() {
... | true |
Other | ReactiveX | RxJava | 13473da61366945f49aed5a29729841836abf2ab.json | 3.x: Fix many marbles in Maybe (#6866) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -562,6 +562,8 @@ public static <T> Flowable<T> concatEager(@NonNull Publisher<@NonNull ? extends
/**
* Provides an API (via a cold {@code Maybe}) that bridges the reactive world with the callback-style world.
* <p>
+ * <img width="640" height="499" src="https://raw.github.com/wiki/ReactiveX/RxJa... | false |
Other | ReactiveX | RxJava | bb3260ec3729d9d9c0934a958f3added8ca65408.json | add delayError to Maybe.delay (#6864) | src/main/java/io/reactivex/rxjava3/core/Maybe.java | @@ -2672,6 +2672,7 @@ public final Single<T> defaultIfEmpty(@NonNull T defaultItem) {
/**
* Returns a {@code Maybe} that signals the events emitted by the current {@code Maybe} shifted forward in time by a
* specified delay.
+ * An error signal will not be delayed.
* <p>
* <img width="6... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.