Skip to content

Commit 374f018

Browse files
committed
test: basic setup
1 parent bbf3349 commit 374f018

File tree

6 files changed

+160
-5
lines changed

6 files changed

+160
-5
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
before_install: nvm install 12
2+
install: npm ci
3+
4+
matrix:
5+
include:
6+
- language: android
7+
dist: trusty
8+
android:
9+
components:
10+
- tools
11+
- build-tools-28.0.3
12+
- android-28
13+
before_script:
14+
- cd android
15+
script: ./gradlew build test
16+
17+
- language: objective-c
18+
osx_image: 'xcode11.2'
19+
xcode_workspace: ios/Plugin.xcworkspace
20+
xcode_scheme: Plugin
21+
xcode_destination: platform=iOS Simulator,OS=13.2,name=iPhone X
22+
install:
23+
- npm ci
24+
- pod install --project-directory=ios

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# capacitor-branch-deep-links
1+
# capacitor-branch-deep-links
2+
3+
[![Build Status](https://travis-ci.org/boundstate/capacitor-branch-deep-links.svg?branch=master)](https://travis-ci.org/boundstate/capacitor-branch-deep-links)
24

35
Capacitor plugin for [branch.io](https://branch.io/) deep links.
46

android/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.java renamed to android/src/androidTest/java/co/boundstate/android/ExampleInstrumentedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.getcapacitor.android;
1+
package co.boundstate.android;
22

33
import android.content.Context;
44
import android.support.test.InstrumentationRegistry;
@@ -21,6 +21,6 @@ public void useAppContext() throws Exception {
2121
// Context of the app under test.
2222
Context appContext = InstrumentationRegistry.getTargetContext();
2323

24-
assertEquals("com.getcapacitor.android", appContext.getPackageName());
24+
assertEquals("co.boundstate.android", appContext.getPackageName());
2525
}
2626
}

android/src/test/java/com/getcapacitor/ExampleUnitTest.java renamed to android/src/test/java/co/boundstate/ExampleUnitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.getcapacitor;
1+
package co.boundstate;
22

33
import org.junit.Test;
44

@@ -14,4 +14,4 @@ public class ExampleUnitTest {
1414
public void addition_isCorrect() throws Exception {
1515
assertEquals(4, 2 + 2);
1616
}
17-
}
17+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1100"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "50ADFF87201F53D600D50D53"
18+
BuildableName = "Plugin.framework"
19+
BlueprintName = "Plugin"
20+
ReferencedContainer = "container:Plugin.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
<TestableReference
32+
skipped = "NO">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "50ADFF90201F53D600D50D53"
36+
BuildableName = "PluginTests.xctest"
37+
BlueprintName = "PluginTests"
38+
ReferencedContainer = "container:Plugin.xcodeproj">
39+
</BuildableReference>
40+
</TestableReference>
41+
</Testables>
42+
</TestAction>
43+
<LaunchAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
launchStyle = "0"
48+
useCustomWorkingDirectory = "NO"
49+
ignoresPersistentStateOnLaunch = "NO"
50+
debugDocumentVersioning = "YES"
51+
debugServiceExtension = "internal"
52+
allowLocationSimulation = "YES">
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<MacroExpansion>
61+
<BuildableReference
62+
BuildableIdentifier = "primary"
63+
BlueprintIdentifier = "50ADFF87201F53D600D50D53"
64+
BuildableName = "Plugin.framework"
65+
BlueprintName = "Plugin"
66+
ReferencedContainer = "container:Plugin.xcodeproj">
67+
</BuildableReference>
68+
</MacroExpansion>
69+
</ProfileAction>
70+
<AnalyzeAction
71+
buildConfiguration = "Debug">
72+
</AnalyzeAction>
73+
<ArchiveAction
74+
buildConfiguration = "Release"
75+
revealArchiveInOrganizer = "YES">
76+
</ArchiveAction>
77+
</Scheme>
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1100"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
</BuildAction>
9+
<TestAction
10+
buildConfiguration = "Debug"
11+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
12+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
13+
shouldUseLaunchSchemeArgsEnv = "YES">
14+
<Testables>
15+
<TestableReference
16+
skipped = "NO">
17+
<BuildableReference
18+
BuildableIdentifier = "primary"
19+
BlueprintIdentifier = "50ADFF90201F53D600D50D53"
20+
BuildableName = "PluginTests.xctest"
21+
BlueprintName = "PluginTests"
22+
ReferencedContainer = "container:Plugin.xcodeproj">
23+
</BuildableReference>
24+
</TestableReference>
25+
</Testables>
26+
</TestAction>
27+
<LaunchAction
28+
buildConfiguration = "Debug"
29+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
30+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
31+
launchStyle = "0"
32+
useCustomWorkingDirectory = "NO"
33+
ignoresPersistentStateOnLaunch = "NO"
34+
debugDocumentVersioning = "YES"
35+
debugServiceExtension = "internal"
36+
allowLocationSimulation = "YES">
37+
</LaunchAction>
38+
<ProfileAction
39+
buildConfiguration = "Release"
40+
shouldUseLaunchSchemeArgsEnv = "YES"
41+
savedToolIdentifier = ""
42+
useCustomWorkingDirectory = "NO"
43+
debugDocumentVersioning = "YES">
44+
</ProfileAction>
45+
<AnalyzeAction
46+
buildConfiguration = "Debug">
47+
</AnalyzeAction>
48+
<ArchiveAction
49+
buildConfiguration = "Release"
50+
revealArchiveInOrganizer = "YES">
51+
</ArchiveAction>
52+
</Scheme>

0 commit comments

Comments
 (0)