protected static WebArchive getDefaultDeployment() { TestContext context = new TestContext().setUseSystemProperties(true).setCompatibilityProperties(TCK_PROPERTIES); WebArchive war = getTckDeployment(context); war.addClass(AppIdentityTestBase.class); war.addPackage(EmailValidator.class.getPackage()); return war; }
@Deployment public static WebArchive getDeployment() { TestContext context = new TestContext().setUseSystemProperties(true).setCompatibilityProperties(TCK_PROPERTIES); WebArchive war = getTckDeployment(context); war.addPackage(Data.class.getPackage()); LibUtils libUtils = new LibUtils(); libUtils.addLibrary(war, "com.googlecode.objectify", "objectify"); libUtils.addLibrary(war, "com.google.guava", "guava"); return war; }
protected static WebArchive getDefaultDeployment() { TestContext context = new TestContext().setUseSystemProperties(true).setCompatibilityProperties(TCK_PROPERTIES); context.setWebXmlFile("xmpp-web.xml"); context.setAppEngineWebXmlFile("xmpp-appengine-web.xml"); WebArchive war = getTckDeployment(context); war.addClasses(XmppTestBase.class, XmppMessageServlet.class); return war; } }
@Deployment public static WebArchive getDeployment() { // -Dtck.sql.connection=//my_project:test_instance // -Dtck.sql.user // -Dtck.sql.pw TestContext context = new TestContext().setUseSystemProperties(true).setCompatibilityProperties(TCK_PROPERTIES); // Declares usage of com.mysql.jdbc.GoogleDriver context.setAppEngineWebXmlFile("sql-appengine-web.xml"); WebArchive war = getTckDeployment(context); war.addClasses(CloudSqlTestBase.class, SqlUtil.class); return war; }
@Deployment public static WebArchive getDeployment() { // -Dtck.gcs.bucket TestContext context = new TestContext().setUseSystemProperties(true).setCompatibilityProperties(TCK_PROPERTIES); WebArchive war = getTckDeployment(context); war.addClass(GCSClientTestBase.class); LibUtils libUtils = new LibUtils(); libUtils.addLibrary(war, "com.google.guava", "guava"); libUtils.addLibrary(war, "com.google.appengine.tools", "appengine-gcs-client"); return war; } }