Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi Mulani committed Sep 9, 2015
0 parents commit d140d28
Show file tree
Hide file tree
Showing 115 changed files with 6,209 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint

## Obj-C/Swift specific
*.hmap
*.ipa

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
BSD License

For WebDriverAgent software

Copyright (c) 2015-present, Facebook, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name Facebook nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 changes: 33 additions & 0 deletions PATENTS
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Additional Grant of Patent Rights Version 2

"Software" means the WebDriverAgent software distributed by Facebook, Inc.

Facebook, Inc. ("Facebook") hereby grants to each recipient of the Software
("you") a perpetual, worldwide, royalty-free, non-exclusive, irrevocable
(subject to the termination provision below) license under any Necessary
Claims, to make, have made, use, sell, offer to sell, import, and otherwise
transfer the Software. For avoidance of doubt, no license is granted under
Facebook’s rights in any patent claims that are infringed by (i) modifications
to the Software made by you or any third party or (ii) the Software in
combination with any software or other technology.

The license granted hereunder will terminate, automatically and without notice,
if you (or any of your subsidiaries, corporate affiliates or agents) initiate
directly or indirectly, or take a direct financial interest in, any Patent
Assertion: (i) against Facebook or any of its subsidiaries or corporate
affiliates, (ii) against any party if such Patent Assertion arises in whole or
in part from any software, technology, product or service of Facebook or any of
its subsidiaries or corporate affiliates, or (iii) against any party relating
to the Software. Notwithstanding the foregoing, if Facebook or any of its
subsidiaries or corporate affiliates files a lawsuit alleging patent
infringement against you in the first instance, and you respond by filing a
patent infringement counterclaim in that lawsuit against that party that is
unrelated to the Software, the license granted hereunder will not terminate
under section (i) of this paragraph due to such counterclaim.

A "Necessary Claim" is a claim of a patent owned by Facebook that is
necessarily infringed by the Software standing alone.

A "Patent Assertion" is any lawsuit or other action alleging direct, indirect,
or contributory infringement or inducement to infringe any patent, including a
cross-claim or counterclaim.
17 changes: 17 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

xcodeproj 'WebDriverAgent.xcodeproj'

pod 'KissXML'
pod 'RoutingHTTPServer'

target :WebDriverAgentLib, :exclusive => true do
pod 'KissXML'
pod 'RoutingHTTPServer'
end

target :WebDriverAgentLibTests, :exclusive => true do
pod 'OCMock'
end
32 changes: 32 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
PODS:
- CocoaAsyncSocket (7.4.2)
- CocoaHTTPServer (2.3):
- CocoaAsyncSocket
- CocoaLumberjack
- CocoaLumberjack (2.0.1):
- CocoaLumberjack/Default (= 2.0.1)
- CocoaLumberjack/Extensions (= 2.0.1)
- CocoaLumberjack/Core (2.0.1)
- CocoaLumberjack/Default (2.0.1):
- CocoaLumberjack/Core
- CocoaLumberjack/Extensions (2.0.1):
- CocoaLumberjack/Default
- KissXML (5.0)
- OCMock (3.1.5)
- RoutingHTTPServer (1.0.0):
- CocoaHTTPServer (~> 2.3)

DEPENDENCIES:
- KissXML
- OCMock
- RoutingHTTPServer

SPEC CHECKSUMS:
CocoaAsyncSocket: f5783bdedd232d91b89769bc4b5a1580aed518ad
CocoaHTTPServer: 5624681fc3473d43b18202f635f9b3abb013b530
CocoaLumberjack: 019d1361244274a6138c788c6cb80baabc13fb8f
KissXML: ce643413d618ad69886d0d43c3792b7dedfe476e
OCMock: 4c2925291f80407c3738dd1db14d21d0cc278864
RoutingHTTPServer: fab8b13e725f26720500c146d43c98c11ebc4d47

COCOAPODS: 0.38.2
55 changes: 55 additions & 0 deletions PrivateHeaders/UIAutomation/CDStructures.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#pragma mark Named Structures

struct CGAffineTransform {
double _field1;
double _field2;
double _field3;
double _field4;
double _field5;
double _field6;
};

struct CGPoint {
double x;
double y;
};

struct CGSize {
double width;
double height;
};

struct CGRect {
struct CGPoint origin;
struct CGSize size;
};

struct __va_list_tag {
unsigned int _field1;
unsigned int _field2;
void *_field3;
void *_field4;
};

#pragma mark Typedef'd Structures

typedef struct {
unsigned long long _field1;
void *_field2;
unsigned long long *_field3;
unsigned long long _field4[5];
} CDStruct_70511ce9;

typedef struct {
struct CGPoint _field1;
double _field2;
double _field3;
unsigned char _field4;
} CDStruct_3eca2549;

12 changes: 12 additions & 0 deletions PrivateHeaders/UIAutomation/NSArray-UIAExtras.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import "NSArray.h"

@interface NSArray (UIAExtras)
- (unsigned long long)_uiaUniqueIndexOfObject:(id)arg1;
@end

10 changes: 10 additions & 0 deletions PrivateHeaders/UIAutomation/NSCopying-Protocol.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)arg1;
@end

10 changes: 10 additions & 0 deletions PrivateHeaders/UIAutomation/NSFastEnumeration-Protocol.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

@protocol NSFastEnumeration
- (unsigned long long)countByEnumeratingWithState:(CDStruct_70511ce9 *)arg1 objects:(id *)arg2 count:(unsigned long long)arg3;
@end

17 changes: 17 additions & 0 deletions PrivateHeaders/UIAutomation/NSValue-UIAutomation.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import "NSValue.h"

@interface NSValue (UIAutomation)
- (id)height;
- (id)width;
- (id)size;
- (id)y;
- (id)x;
- (id)origin;
@end

18 changes: 18 additions & 0 deletions PrivateHeaders/UIAutomation/UIAActionSheet.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import "UIAElement.h"

@interface UIAActionSheet : UIAElement
{
}

+ (id)toOneRelationshipKeys;
+ (Class)_classForSimpleUIAXElement:(id)arg1;
- (id)cancelButton;

@end

14 changes: 14 additions & 0 deletions PrivateHeaders/UIAutomation/UIAActivityIndicator.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import <UIAutomation/UIAElement.h>

@interface UIAActivityIndicator : UIAElement
{
}

@end

17 changes: 17 additions & 0 deletions PrivateHeaders/UIAutomation/UIAActivityView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import <UIAutomation/UIAElement.h>

@interface UIAActivityView : UIAElement
{
}

+ (id)toOneRelationshipKeys;
- (id)cancelButton;

@end

23 changes: 23 additions & 0 deletions PrivateHeaders/UIAutomation/UIAAlert.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import "UIAElement.h"

@interface UIAAlert : UIAElement
{
}

+ (id)toOneRelationshipKeys;
+ (id)_moreToOneRelationshipKeys;
+ (Class)_classForSimpleUIAXElement:(id)arg1;
- (id)defaultButton;
- (id)cancelButton;
- (id)buttons;
- (id)name;
- (id)_nameFromChildForAXElement:(id)arg1;

@end

Loading

0 comments on commit d140d28

Please sign in to comment.