You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2015/07/27 04:16:58 UTC
incubator-zeppelin git commit: As an author of code https://groups.google.com/forum/#!msg/selenium-d…
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 <va...@gmail.com>
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 <va...@gmail.com>
Authored: Wed Jul 22 21:36:08 2015 +0300
Committer: Lee moon soo <mo...@apache.org>
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> X getScreenshotAs(OutputType<X> target) throws WebDriverException {