Convert ValidatorTest to EmailValidatorIT

Change-Id: I28b1746ed1eeeed8d52d4522f57d310259baf37e
This commit is contained in:
David Pursehouse
2017-04-04 17:48:01 +09:00
parent 87d02830cf
commit 50ea3c9d21
3 changed files with 7 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
RESOURCES = glob(["src/test/resources/**/*"])
java_library(
name = "lib",
testonly = 1,
resources = RESOURCES,
srcs = ["src/test/java/com/google/gerrit/acceptance/Dummy.java"],
visibility = ["//visibility:public"],
exports = [

View File

@@ -12,17 +12,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.server.mail.send;
package com.google.gerrit.acceptance.server.mail;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assert_;
import com.google.gerrit.acceptance.AbstractDaemonTest;
import com.google.gerrit.server.mail.send.OutgoingEmailValidator;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.junit.Test;
public class ValidatorTest {
public class EmailValidatorIT extends AbstractDaemonTest {
private static final String UNSUPPORTED_PREFIX = "#! ";
@Test