Skip to content

Commit 780fef0

Browse files
#107 fix
1 parent 46b0bed commit 780fef0

File tree

76 files changed

+1007
-438
lines changed

Some content is hidden

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

76 files changed

+1007
-438
lines changed

LICENSE

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Apache License
1+
2+
Apache License
23
Version 2.0, January 2004
34
http://www.apache.org/licenses/
45

@@ -178,15 +179,15 @@ Apache License
178179
APPENDIX: How to apply the Apache License to your work.
179180

180181
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "{}"
182+
boilerplate notice, with the fields enclosed by brackets "[]"
182183
replaced with your own identifying information. (Don't include
183184
the brackets!) The text should be enclosed in the appropriate
184185
comment syntax for the file format. We also recommend that a
185186
file or class name and description of purpose be included on the
186187
same "printed page" as the copyright notice for easier
187188
identification within third-party archives.
188189

189-
Copyright {yyyy} {name of copyright owner}
190+
Copyright [yyyy] [name of copyright owner]
190191

191192
Licensed under the Apache License, Version 2.0 (the "License");
192193
you may not use this file except in compliance with the License.
@@ -198,4 +199,5 @@ Apache License
198199
distributed under the License is distributed on an "AS IS" BASIS,
199200
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200201
See the License for the specific language governing permissions and
201-
limitations under the License.
202+
limitations under the License.
203+

NOTICE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copyright 2014-2015 Appium Contributors

appium-dotnet-driver/Appium/Android/AndroidDriver.cs

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
using OpenQA.Selenium.Appium.Android.Interfaces;
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
14+
using OpenQA.Selenium.Appium.Android.Interfaces;
215
using OpenQA.Selenium.Appium.Enums;
316
using OpenQA.Selenium.Appium.Interfaces;
417
using OpenQA.Selenium.Remote;

appium-dotnet-driver/Appium/Android/AndroidElement.cs

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
using OpenQA.Selenium.Appium.Interfaces;
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
14+
using OpenQA.Selenium.Appium.Interfaces;
215
using OpenQA.Selenium.Remote;
3-
using System;
4-
using System.Collections.Generic;
516
using System.Collections.ObjectModel;
6-
using System.Linq;
7-
using System.Text;
817

918
namespace OpenQA.Selenium.Appium.Android
1019
{

appium-dotnet-driver/Appium/Android/Enums/AndroidKeyCode.cs

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
614
namespace OpenQA.Selenium.Appium.Android
715
{
816
public sealed class AndroidKeyCode

appium-dotnet-driver/Appium/Android/Enums/AndroidKeyMetastate.cs

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
614
namespace OpenQA.Selenium.Appium.Android.Enums
715
{
816
public sealed class AndroidKeyMetastate

appium-dotnet-driver/Appium/Android/Enums/ConnectionType.cs

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
using System;
2-
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
314
namespace OpenQA.Selenium.Appium.Android
415
{
516
/// <summary>

appium-dotnet-driver/Appium/Android/Interfaces/IAndroidDeviceActionShortcuts.cs

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
using OpenQA.Selenium.Appium.Interfaces;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
5-
using System.Text;
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
14+
using OpenQA.Selenium.Appium.Interfaces;
615

716
namespace OpenQA.Selenium.Appium.Android.Interfaces
817
{

appium-dotnet-driver/Appium/Android/Interfaces/IHasNetworkConnection.cs

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
using OpenQA.Selenium.Appium.Android.Enums;
2-
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
5-
using System.Text;
6-
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
714
namespace OpenQA.Selenium.Appium.Android.Interfaces
815
{
916
public interface IHasNetworkConnection

appium-dotnet-driver/Appium/Android/Interfaces/IPushesFiles.cs

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
414
using OpenQA.Selenium.Appium.Interfaces;
5-
using System.Text;
615

716
namespace OpenQA.Selenium.Appium.Android.Interfaces
817
{

appium-dotnet-driver/Appium/Android/Interfaces/IStartsActivity.cs

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
614
namespace OpenQA.Selenium.Appium.Android
715
{
816
public interface IStartsActivity

appium-dotnet-driver/Appium/AppiumDriver.cs

+11-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
// <copyright file="AppiumDriver.cs" company="WebDriver Committers">
2-
// Copyright 2007-2012 WebDriver committers
3-
// Copyright 2007-2012 Google Inc.
4-
// Portions copyright 2012 Software Freedom Conservancy
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
56
//
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
7+
// http://www.apache.org/licenses/LICENSE-2.0
98
//
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-
// </copyright>
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
1814

1915
using Appium.Interfaces.Generic.SearchContext;
2016
using Newtonsoft.Json;

appium-dotnet-driver/Appium/AppiumDriverCommand.cs

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
using System;
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
14+
using System;
215

316
namespace OpenQA.Selenium.Appium
417
{

appium-dotnet-driver/Appium/AppiumWebElement.cs

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
1-
// <copyright file="AppiumWebElement.cs" company="WebDriver Committers">
2-
// Copyright 2007-2012 WebDriver committers
3-
// Copyright 2007-2012 Google Inc.
4-
// Portions copyright 2012 Software Freedom Conservancy
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
56
//
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
7+
// http://www.apache.org/licenses/LICENSE-2.0
98
//
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-
// </copyright>
18-
19-
using Appium.Interfaces.Generic.SearchContext;
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
2014
using OpenQA.Selenium.Appium.Interfaces;
2115
using OpenQA.Selenium.Remote;
2216
using System.Collections.Generic;

appium-dotnet-driver/Appium/ByAccessibilityId.cs

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
1-
// <copyright file="ByAccessibilityId.cs" company="WebDriver Committers">
2-
// Copyright 2007-2012 WebDriver committers
3-
// Copyright 2007-2012 Google Inc.
4-
// Portions copyright 2012 Software Freedom Conservancy
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
56
//
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
7+
// http://www.apache.org/licenses/LICENSE-2.0
98
//
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-
// </copyright>
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
1814

1915
using System;
2016
using System.Collections.ObjectModel;
2117
using System.Globalization;
22-
using OpenQA.Selenium.Appium.Interfaces;
2318
using System.Reflection;
2419
using System.Collections;
2520

appium-dotnet-driver/Appium/ByAndroidUIAutomator.cs

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
1-
// <copyright file="ByAndroidUIAutomator.cs" company="WebDriver Committers">
2-
// Copyright 2007-2012 WebDriver committers
3-
// Copyright 2007-2012 Google Inc.
4-
// Portions copyright 2012 Software Freedom Conservancy
1+
//Licensed under the Apache License, Version 2.0 (the "License");
2+
//you may not use this file except in compliance with the License.
3+
//See the NOTICE file distributed with this work for additional
4+
//information regarding copyright ownership.
5+
//You may obtain a copy of the License at
56
//
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
7+
// http://www.apache.org/licenses/LICENSE-2.0
98
//
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-
// </copyright>
9+
//Unless required by applicable law or agreed to in writing, software
10+
//distributed under the License is distributed on an "AS IS" BASIS,
11+
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
//See the License for the specific language governing permissions and
13+
//limitations under the License.
1814

1915
using System;
2016
using System.Collections.ObjectModel;
2117
using System.Globalization;
22-
using OpenQA.Selenium.Appium.Interfaces;
2318
using System.Reflection;
2419
using System.Collections;
2520

0 commit comments

Comments
 (0)