@@ -651,34 +651,9 @@ public Object apply(Object[] a) {
651
651
}).blockingLast ();
652
652
}
653
653
654
- @ Test (expected = NullPointerException .class )
655
- public void zipPublisherNull () {
656
- Flowable .zip ((Publisher <Publisher <Object >>)null , new Function <Object [], Object >() {
657
- @ Override
658
- public Object apply (Object [] a ) {
659
- return 1 ;
660
- }
661
- });
662
- }
663
-
664
- @ Test (expected = NullPointerException .class )
665
- public void zipPublisherFunctionNull () {
666
- Flowable .zip ((Flowable .just (just1 )), null );
667
- }
668
-
669
- @ Test (expected = NullPointerException .class )
670
- public void zipPublisherFunctionReturnsNull () {
671
- Flowable .zip ((Flowable .just (just1 )), new Function <Object [], Object >() {
672
- @ Override
673
- public Object apply (Object [] a ) {
674
- return null ;
675
- }
676
- }).blockingLast ();
677
- }
678
-
679
654
@ Test (expected = NullPointerException .class )
680
655
public void zipIterable2Null () {
681
- Flowable .zipIterable ((Iterable <Publisher <Object >>)null , new Function <Object [], Object >() {
656
+ Flowable .zip ((Iterable <Publisher <Object >>)null , new Function <Object [], Object >() {
682
657
@ Override
683
658
public Object apply (Object [] a ) {
684
659
return 1 ;
@@ -688,7 +663,7 @@ public Object apply(Object[] a) {
688
663
689
664
@ Test (expected = NullPointerException .class )
690
665
public void zipIterable2IteratorNull () {
691
- Flowable .zipIterable (new Iterable <Publisher <Object >>() {
666
+ Flowable .zip (new Iterable <Publisher <Object >>() {
692
667
@ Override
693
668
public Iterator <Publisher <Object >> iterator () {
694
669
return null ;
@@ -704,13 +679,13 @@ public Object apply(Object[] a) {
704
679
@ SuppressWarnings ("unchecked" )
705
680
@ Test (expected = NullPointerException .class )
706
681
public void zipIterable2FunctionNull () {
707
- Flowable .zipIterable (Arrays .asList (just1 , just1 ), null , true , 128 );
682
+ Flowable .zip (Arrays .asList (just1 , just1 ), null , true , 128 );
708
683
}
709
684
710
685
@ SuppressWarnings ("unchecked" )
711
686
@ Test (expected = NullPointerException .class )
712
687
public void zipIterable2FunctionReturnsNull () {
713
- Flowable .zipIterable (Arrays .asList (just1 , just1 ), new Function <Object [], Object >() {
688
+ Flowable .zip (Arrays .asList (just1 , just1 ), new Function <Object [], Object >() {
714
689
@ Override
715
690
public Object apply (Object [] a ) {
716
691
return null ;
@@ -2721,31 +2696,6 @@ public void combineLatestDelayErrorIterableFunctionNull() {
2721
2696
Flowable .combineLatestDelayError (Arrays .asList (just1 ), null , 128 );
2722
2697
}
2723
2698
2724
- @ Test (expected = NullPointerException .class )
2725
- public void zipFlowableNull () {
2726
- Flowable .zip ((Flowable <Flowable <Object >>)null , new Function <Object [], Object >() {
2727
- @ Override
2728
- public Object apply (Object [] a ) {
2729
- return 1 ;
2730
- }
2731
- });
2732
- }
2733
-
2734
- @ Test (expected = NullPointerException .class )
2735
- public void zipFlowableFunctionNull () {
2736
- Flowable .zip ((Flowable .just (just1 )), null );
2737
- }
2738
-
2739
- @ Test (expected = NullPointerException .class )
2740
- public void zipFlowableFunctionReturnsNull () {
2741
- Flowable .zip ((Flowable .just (just1 )), new Function <Object [], Object >() {
2742
- @ Override
2743
- public Object apply (Object [] a ) {
2744
- return null ;
2745
- }
2746
- }).blockingLast ();
2747
- }
2748
-
2749
2699
@ Test (expected = NullPointerException .class )
2750
2700
public void concatFlowableNull () {
2751
2701
Flowable .concat ((Flowable <Flowable <Object >>)null );
0 commit comments