Convert ValidatorTest to EmailValidatorIT
Change-Id: I28b1746ed1eeeed8d52d4522f57d310259baf37e
This commit is contained in:
@@ -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 = [
|
||||
|
@@ -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
|
Reference in New Issue
Block a user