Skip to content

Commit c256659

Browse files
committed
SimonStewart: Adding license header to all relevant files. This addresses issue 92
r6032
1 parent c2327d7 commit c256659

File tree

64 files changed

+1132
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1132
-176
lines changed

Diff for: htmlunit/src/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
Portions copyright 2007 ThoughtWorks, Inc
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
/*
220
* Copyright 2007 ThoughtWorks, Inc
321
*
@@ -634,6 +652,10 @@ public void forward() {
634652
public void to(String url) {
635653
get(url);
636654
}
655+
656+
public void to(URL url) {
657+
get(url);
658+
}
637659
}
638660

639661
public Options manage() {

Diff for: htmlunit/src/java/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
Portions copyright 2007 ThoughtWorks, Inc
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
/*
220
* Copyright 2007 ThoughtWorks, Inc
321
*
@@ -17,6 +35,7 @@
1735

1836
package org.openqa.selenium.htmlunit;
1937

38+
import com.gargoylesoftware.htmlunit.ScriptException;
2039
import com.gargoylesoftware.htmlunit.html.ClickableElement;
2140
import com.gargoylesoftware.htmlunit.html.DomNode;
2241
import com.gargoylesoftware.htmlunit.html.DomText;
@@ -32,7 +51,7 @@
3251
import com.gargoylesoftware.htmlunit.html.HtmlSelect;
3352
import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput;
3453
import com.gargoylesoftware.htmlunit.html.HtmlTextArea;
35-
import com.gargoylesoftware.htmlunit.ScriptException;
54+
3655
import org.openqa.selenium.By;
3756
import org.openqa.selenium.NoSuchElementException;
3857
import org.openqa.selenium.Platform;

Diff for: htmlunit/src/java/org/openqa/selenium/htmlunit/RenderedHtmlUnitDriverWebElement.java

+18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
// Copyright 2008 Google Inc. All Rights Reserved.
219

320
package org.openqa.selenium.htmlunit;
421

522
import com.gargoylesoftware.htmlunit.html.HtmlElement;
23+
624
import org.openqa.selenium.RenderedWebElement;
725

826
import java.awt.*;

Diff for: htmlunit/test/java/org/openqa/selenium/htmlunit/HtmlUnitDriverTestSuite.java

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
1-
package org.openqa.selenium.htmlunit;
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
24
3-
import org.openqa.selenium.TestSuiteBuilder;
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
18+
package org.openqa.selenium.htmlunit;
419

520
import junit.framework.Test;
621
import junit.framework.TestCase;
722

23+
import org.openqa.selenium.TestSuiteBuilder;
24+
825
public class HtmlUnitDriverTestSuite extends TestCase {
926
public static Test suite() throws Exception {
1027
return new TestSuiteBuilder()

Diff for: htmlunit/test/java/org/openqa/selenium/htmlunit/JavascriptEnabledHtmlUnitDriverTestSuite.java

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
// Copyright 2008 Google Inc. All Rights Reserved.
219

320
package org.openqa.selenium.htmlunit;

Diff for: jobbie/src/cpp/InternetExplorerDriver/DataMarshaller.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#include "StdAfx.h"
219

320
#include "DataMarshaller.h"

Diff for: jobbie/src/cpp/InternetExplorerDriver/DataMarshaller.h

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#ifndef JOBBIE_DATAMARSHALLER_H_
219
#define JOBBIE_DATAMARSHALLER_H_
320

Diff for: jobbie/src/cpp/InternetExplorerDriver/ElementWrapper.cpp

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
Portions copyright 2007 ThoughtWorks, Inc
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
#include "StdAfx.h"
220

321
#include "utils.h"

Diff for: jobbie/src/cpp/InternetExplorerDriver/ElementWrapper.h

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
Portions copyright 2007 ThoughtWorks, Inc
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
#ifndef JOBBIE_ELEMENTWRAPPER_H_
220
#define JOBBIE_ELEMENTWRAPPER_H_
321

Diff for: jobbie/src/cpp/InternetExplorerDriver/EventReleaser.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#include "StdAfx.h"
219
#include "EventReleaser.h"
320
#include "utils.h"

Diff for: jobbie/src/cpp/InternetExplorerDriver/EventReleaser.h

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#ifndef JOBBIE_EVENTRELEASER_H_
219
#define JOBBIE_EVENTRELEASER_H_
320

Diff for: jobbie/src/cpp/InternetExplorerDriver/IEThread.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
// IEThread.cpp : implementation file
219
//
320

Diff for: jobbie/src/cpp/InternetExplorerDriver/IEThread.h

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#pragma once
219

320
#include "IEThreadData.h"

Diff for: jobbie/src/cpp/InternetExplorerDriver/IEThreadData.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#include "StdAfx.h"
219
#include "IEThreadData.h"
320
#include "utils.h"

Diff for: jobbie/src/cpp/InternetExplorerDriver/IEThreadData.h

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
#ifndef JOBBIE_IETHREADDATA_H_
219
#define JOBBIE_IETHREADDATA_H_
320

Diff for: jobbie/src/cpp/InternetExplorerDriver/IEThreadElement.cpp

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
Copyright 2007-2009 WebDriver committers
3+
Copyright 2007-2009 Google Inc.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
118
// IEThread.cpp : implementation file
219
//
320
#include "stdafx.h"

0 commit comments

Comments
 (0)