@@ -651,34 +651,9 @@ public Object apply(Object[] a) {
651651 }).blockingLast ();
652652 }
653653
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-
679654 @ Test (expected = NullPointerException .class )
680655 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 >() {
682657 @ Override
683658 public Object apply (Object [] a ) {
684659 return 1 ;
@@ -688,7 +663,7 @@ public Object apply(Object[] a) {
688663
689664 @ Test (expected = NullPointerException .class )
690665 public void zipIterable2IteratorNull () {
691- Flowable .zipIterable (new Iterable <Publisher <Object >>() {
666+ Flowable .zip (new Iterable <Publisher <Object >>() {
692667 @ Override
693668 public Iterator <Publisher <Object >> iterator () {
694669 return null ;
@@ -704,13 +679,13 @@ public Object apply(Object[] a) {
704679 @ SuppressWarnings ("unchecked" )
705680 @ Test (expected = NullPointerException .class )
706681 public void zipIterable2FunctionNull () {
707- Flowable .zipIterable (Arrays .asList (just1 , just1 ), null , true , 128 );
682+ Flowable .zip (Arrays .asList (just1 , just1 ), null , true , 128 );
708683 }
709684
710685 @ SuppressWarnings ("unchecked" )
711686 @ Test (expected = NullPointerException .class )
712687 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 >() {
714689 @ Override
715690 public Object apply (Object [] a ) {
716691 return null ;
@@ -2721,31 +2696,6 @@ public void combineLatestDelayErrorIterableFunctionNull() {
27212696 Flowable .combineLatestDelayError (Arrays .asList (just1 ), null , 128 );
27222697 }
27232698
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-
27492699 @ Test (expected = NullPointerException .class )
27502700 public void concatFlowableNull () {
27512701 Flowable .concat ((Flowable <Flowable <Object >>)null );
0 commit comments