Skip to content

Commit

Permalink
Upgrade to RxJava 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benjchristensen committed Oct 1, 2014
1 parent 0d218e3 commit c980e6e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 4 deletions.
1 change: 0 additions & 1 deletion gradle.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

import rx.Observable;
import rx.Observer;
import rx.exceptions.TestException;
import rx.functions.Func0;
import rx.schedulers.Schedulers;
import rx.util.async.Async;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import org.junit.Test;

import rx.Observable;
import rx.exceptions.TestException;
import rx.functions.Action1;
import rx.schedulers.Schedulers;
import rx.util.async.Async;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

import rx.Observable;
import rx.Observer;
import rx.exceptions.TestException;
import rx.functions.Func0;
import rx.schedulers.Schedulers;
import rx.util.async.Async;
Expand Down
36 changes: 36 additions & 0 deletions src/test/java/rx/util/async/operators/TestException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* Copyright 2014 Netflix, Inc.
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package rx.util.async.operators;

/**
* Custom exception for operator testing; makes sure an unwanted exception is
* not mixed up with a wanted exception.
*/
public final class TestException extends RuntimeException {
/** */
private static final long serialVersionUID = -1138830497957801910L;
/** Create the test exception without any message. */
public TestException() {
super();
}
/**
* Create the test exception with the provided message.
* @param message the mesage to use
*/
public TestException(String message) {
super(message);
}
}

0 comments on commit c980e6e

Please sign in to comment.