Return-Path: X-Original-To: apmail-zeppelin-commits-archive@minotaur.apache.org Delivered-To: apmail-zeppelin-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53EA918502 for ; Mon, 27 Jul 2015 02:17:13 +0000 (UTC) Received: (qmail 22255 invoked by uid 500); 27 Jul 2015 02:17:07 -0000 Delivered-To: apmail-zeppelin-commits-archive@zeppelin.apache.org Received: (qmail 22214 invoked by uid 500); 27 Jul 2015 02:17:07 -0000 Mailing-List: contact commits-help@zeppelin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zeppelin.incubator.apache.org Delivered-To: mailing list commits@zeppelin.incubator.apache.org Received: (qmail 22204 invoked by uid 99); 27 Jul 2015 02:17:07 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 02:17:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7EB99C0473 for ; Mon, 27 Jul 2015 02:17:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Bb7H9_XOAWcs for ; Mon, 27 Jul 2015 02:16:59 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 33D39249E9 for ; Mon, 27 Jul 2015 02:16:59 +0000 (UTC) Received: (qmail 21764 invoked by uid 99); 27 Jul 2015 02:16:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 02:16:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 94311DFBAC; Mon, 27 Jul 2015 02:16:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: moon@apache.org To: commits@zeppelin.incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: =?utf-8?q?incubator-zeppelin_git_commit=3A_As_an_author_of_code_ht?= =?utf-8?q?tps=3A//groups=2Egoogle=2Ecom/forum/=23!msg/selenium-d=E2=80=A6?= Date: Mon, 27 Jul 2015 02:16:58 +0000 (UTC) Repository: incubator-zeppelin Updated Branches: refs/heads/branch-0.5 c13a14283 -> cd09fbbe3 As an author of code https://groups.google.com/forum/#!msg/selenium-d… …evelopers/PTR_j4xLVRM/k2yVq01Fa7oJ Based on discussion: http://markmail.org/thread/inhp3syk244god3t#query:+page:1+mid:o2gq4kjro7vqpqb3+state:results Add apache header to class. https://issues.apache.org/jira/browse/ZEPPELIN-180 Author: vasilievip Closes #163 from vasilievip/branch-0.5 and squashes the following commits: bfaea29 [vasilievip] As an author of code https://groups.google.com/forum/#!msg/selenium-developers/PTR_j4xLVRM/k2yVq01Fa7oJ Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/cd09fbbe Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/cd09fbbe Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/cd09fbbe Branch: refs/heads/branch-0.5 Commit: cd09fbbe3ab38b41dad7f8301b6e6f3a9b9709f1 Parents: c13a142 Author: vasilievip Authored: Wed Jul 22 21:36:08 2015 +0300 Committer: Lee moon soo Committed: Mon Jul 27 11:16:48 2015 +0900 ---------------------------------------------------------------------- .../ScreenCaptureHtmlUnitDriver.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/cd09fbbe/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java ---------------------------------------------------------------------- diff --git a/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java b/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java index ae83bee..e2c633b 100644 --- a/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java +++ b/zeppelin-server/src/test/java/com/webautomation/ScreenCaptureHtmlUnitDriver.java @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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 com.webautomation; import java.io.ByteArrayOutputStream; @@ -64,7 +81,6 @@ public class ScreenCaptureHtmlUnitDriver extends HtmlUnitDriver implements Takes var.setCapability(CapabilityType.TAKES_SCREENSHOT, true); } - //@Override @Override @SuppressWarnings("unchecked") public X getScreenshotAs(OutputType target) throws WebDriverException {