Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial tests setup #422

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,4 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
*.xcworkspace

# 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-ignore-the-pods-directory-in-source-control
#
# Pods/
200 changes: 200 additions & 0 deletions ChartsDemo/ChartsDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
50392B241BB7366C002235E5 /* LineChartViewSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50392B231BB7366C002235E5 /* LineChartViewSpec.swift */; settings = {ASSET_TAGS = (); }; };
55E356501ADC638F00A57971 /* BubbleChartViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55E3564D1ADC638F00A57971 /* BubbleChartViewController.xib */; };
55E356511ADC638F00A57971 /* BubbleChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 55E3564F1ADC638F00A57971 /* BubbleChartViewController.m */; };
5B0CC7851ABB875400665592 /* PieChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B0CC7831ABB875400665592 /* PieChartViewController.m */; };
Expand Down Expand Up @@ -65,9 +66,17 @@
5BEAED3C1ABC199F0013F194 /* ColoredLineChartViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5BEAED3A1ABC199F0013F194 /* ColoredLineChartViewController.xib */; };
5BEAED401ABC1AC60013F194 /* SinusBarChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BEAED3E1ABC1AC60013F194 /* SinusBarChartViewController.m */; };
5BEAED411ABC1AC60013F194 /* SinusBarChartViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5BEAED3F1ABC1AC60013F194 /* SinusBarChartViewController.xib */; };
99E92860EB1D318FC61B13CB /* Pods_ChartsTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D42BB42F7C49398A2D6AA3DD /* Pods_ChartsTests.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
5054F0211BB72FE50038506D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5B57BBA71A9B26AA0036A6CC /* Project object */;
proxyType = 1;
remoteGlobalIDString = 5B57BBAE1A9B26AA0036A6CC;
remoteInfo = ChartsDemo;
};
5B8EAF361AB32EA1009697AA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5B8EAF321AB32EA0009697AA /* Charts.xcodeproj */;
Expand Down Expand Up @@ -99,6 +108,9 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
50392B231BB7366C002235E5 /* LineChartViewSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LineChartViewSpec.swift; sourceTree = "<group>"; };
5054F01C1BB72FE50038506D /* ChartsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ChartsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
5054F0201BB72FE50038506D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
55E3564D1ADC638F00A57971 /* BubbleChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = BubbleChartViewController.xib; sourceTree = "<group>"; };
55E3564E1ADC638F00A57971 /* BubbleChartViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BubbleChartViewController.h; sourceTree = "<group>"; };
55E3564F1ADC638F00A57971 /* BubbleChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BubbleChartViewController.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -181,9 +193,20 @@
5BEAED3D1ABC1AC60013F194 /* SinusBarChartViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SinusBarChartViewController.h; sourceTree = "<group>"; };
5BEAED3E1ABC1AC60013F194 /* SinusBarChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SinusBarChartViewController.m; sourceTree = "<group>"; };
5BEAED3F1ABC1AC60013F194 /* SinusBarChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SinusBarChartViewController.xib; sourceTree = "<group>"; };
822009DCE5900ED656064982 /* Pods-ChartsTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChartsTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ChartsTests/Pods-ChartsTests.debug.xcconfig"; sourceTree = "<group>"; };
D42BB42F7C49398A2D6AA3DD /* Pods_ChartsTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ChartsTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E7EAC30C9B6C73FD773306EC /* Pods-ChartsTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ChartsTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ChartsTests/Pods-ChartsTests.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
5054F0191BB72FE50038506D /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
99E92860EB1D318FC61B13CB /* Pods_ChartsTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5B57BBAC1A9B26AA0036A6CC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -195,6 +218,40 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
2542BFDA1270855A3F279718 /* Frameworks */ = {
isa = PBXGroup;
children = (
D42BB42F7C49398A2D6AA3DD /* Pods_ChartsTests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
257669762814F0095EE0AD6C /* Pods */ = {
isa = PBXGroup;
children = (
822009DCE5900ED656064982 /* Pods-ChartsTests.debug.xcconfig */,
E7EAC30C9B6C73FD773306EC /* Pods-ChartsTests.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
50392B221BB7366C002235E5 /* Charts */ = {
isa = PBXGroup;
children = (
50392B231BB7366C002235E5 /* LineChartViewSpec.swift */,
);
path = Charts;
sourceTree = "<group>";
};
5054F01D1BB72FE50038506D /* ChartsTests */ = {
isa = PBXGroup;
children = (
50392B221BB7366C002235E5 /* Charts */,
5054F0201BB72FE50038506D /* Info.plist */,
);
path = ChartsTests;
sourceTree = "<group>";
};
5B43161E1AB8D8AE0009FCAA /* app-icon */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -228,14 +285,18 @@
5B8EAF2E1AB32E15009697AA /* Resources */,
5B57BBB21A9B26AA0036A6CC /* Supporting Files */,
5B8EAF321AB32EA0009697AA /* Charts.xcodeproj */,
5054F01D1BB72FE50038506D /* ChartsTests */,
5B57BBB01A9B26AA0036A6CC /* Products */,
257669762814F0095EE0AD6C /* Pods */,
2542BFDA1270855A3F279718 /* Frameworks */,
);
sourceTree = "<group>";
};
5B57BBB01A9B26AA0036A6CC /* Products */ = {
isa = PBXGroup;
children = (
5B57BBAF1A9B26AA0036A6CC /* ChartsDemo.app */,
5054F01C1BB72FE50038506D /* ChartsTests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -358,6 +419,27 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
5054F01B1BB72FE50038506D /* ChartsTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5054F0251BB72FE50038506D /* Build configuration list for PBXNativeTarget "ChartsTests" */;
buildPhases = (
26AA9795D146B5E457992AB2 /* Check Pods Manifest.lock */,
5054F0181BB72FE50038506D /* Sources */,
5054F0191BB72FE50038506D /* Frameworks */,
5054F01A1BB72FE50038506D /* Resources */,
8D7AEF6B95F686201B569DE7 /* Embed Pods Frameworks */,
BB58083F5B9FE05F5BB39BB7 /* Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
5054F0221BB72FE50038506D /* PBXTargetDependency */,
);
name = ChartsTests;
productName = ChartsTests;
productReference = 5054F01C1BB72FE50038506D /* ChartsTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
5B57BBAE1A9B26AA0036A6CC /* ChartsDemo */ = {
isa = PBXNativeTarget;
buildConfigurationList = 5B57BBD21A9B26AA0036A6CC /* Build configuration list for PBXNativeTarget "ChartsDemo" */;
Expand Down Expand Up @@ -388,6 +470,10 @@
LastUpgradeCheck = 0700;
ORGANIZATIONNAME = dcg;
TargetAttributes = {
5054F01B1BB72FE50038506D = {
CreatedOnToolsVersion = 7.0;
TestTargetID = 5B57BBAE1A9B26AA0036A6CC;
};
5B57BBAE1A9B26AA0036A6CC = {
CreatedOnToolsVersion = 6.1.1;
};
Expand All @@ -413,6 +499,7 @@
projectRoot = "";
targets = (
5B57BBAE1A9B26AA0036A6CC /* ChartsDemo */,
5054F01B1BB72FE50038506D /* ChartsTests */,
);
};
/* End PBXProject section */
Expand All @@ -428,6 +515,13 @@
/* End PBXReferenceProxy section */

/* Begin PBXResourcesBuildPhase section */
5054F01A1BB72FE50038506D /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
5B57BBAD1A9B26AA0036A6CC /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -469,7 +563,63 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
26AA9795D146B5E457992AB2 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
8D7AEF6B95F686201B569DE7 /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChartsTests/Pods-ChartsTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
BB58083F5B9FE05F5BB39BB7 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ChartsTests/Pods-ChartsTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
5054F0181BB72FE50038506D /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
50392B241BB7366C002235E5 /* LineChartViewSpec.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
5B57BBAB1A9B26AA0036A6CC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -504,6 +654,11 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
5054F0221BB72FE50038506D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 5B57BBAE1A9B26AA0036A6CC /* ChartsDemo */;
targetProxy = 5054F0211BB72FE50038506D /* PBXContainerItemProxy */;
};
5BB4B0741ACA710D00E2EF4D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = Charts;
Expand All @@ -512,6 +667,42 @@
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
5054F0231BB72FE50038506D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 822009DCE5900ED656064982 /* Pods-ChartsTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ENABLE_MODULES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = ChartsTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.dcg.ChartsDemo.ChartsTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ChartsDemo.app/ChartsDemo";
};
name = Debug;
};
5054F0241BB72FE50038506D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = E7EAC30C9B6C73FD773306EC /* Pods-ChartsTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ENABLE_MODULES = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = ChartsTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.dcg.ChartsDemo.ChartsTests;
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ChartsDemo.app/ChartsDemo";
};
name = Release;
};
5B57BBD01A9B26AA0036A6CC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -621,6 +812,15 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
5054F0251BB72FE50038506D /* Build configuration list for PBXNativeTarget "ChartsTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
5054F0231BB72FE50038506D /* Debug */,
5054F0241BB72FE50038506D /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5B57BBAA1A9B26AA0036A6CC /* Build configuration list for PBXProject "ChartsDemo" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions ChartsDemo/ChartsDemo.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading