Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kechankrisna committed Feb 14, 2023
1 parent e3f2c4c commit 8bb8197
Show file tree
Hide file tree
Showing 12 changed files with 417 additions and 160 deletions.
16 changes: 9 additions & 7 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# This is a generated file; do not edit or check into version control.
flutter_inappwebview=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-6.0.0-beta.11/
fluttertoast=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/fluttertoast-8.0.7/
url_launcher=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.4/
url_launcher_linux=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.0/
url_launcher_macos=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.0/
url_launcher_web=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.0/
url_launcher_windows=/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.0/
flutter_inappwebview=/Users/whitehat/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0-beta.22/
fluttertoast=/Users/whitehat/.pub-cache/hosted/pub.dev/fluttertoast-8.1.3/
url_launcher=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher-6.1.9/
url_launcher_android=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.23/
url_launcher_ios=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.0/
url_launcher_linux=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.2/
url_launcher_macos=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.2/
url_launcher_web=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.14/
url_launcher_windows=/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.3/
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-6.0.0-beta.11/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/fluttertoast-8.0.7/","native_build":true,"dependencies":[]},{"name":"url_launcher","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.4/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-6.0.0-beta.11/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/fluttertoast-8.0.7/","native_build":true,"dependencies":[]},{"name":"url_launcher","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.4/","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-6.0.0-beta.11/","native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.0/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.0/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.0/","native_build":true,"dependencies":[]}],"web":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-6.0.0-beta.11/","dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/fluttertoast-8.0.7/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/whitehat/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.0/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_inappwebview","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_linux","url_launcher_macos","url_launcher_windows","url_launcher_web"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2022-10-31 10:40:48.118057","version":"3.3.6"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0-beta.22/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/fluttertoast-8.1.3/","native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.0/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0-beta.22/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/fluttertoast-8.1.3/","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.23/","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0-beta.22/","native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.2/","native_build":true,"dependencies":[]}],"linux":[{"name":"url_launcher_linux","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.2/","native_build":true,"dependencies":[]}],"windows":[{"name":"url_launcher_windows","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.3/","native_build":true,"dependencies":[]}],"web":[{"name":"flutter_inappwebview","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0-beta.22/","dependencies":[]},{"name":"fluttertoast","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/fluttertoast-8.1.3/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/whitehat/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.14/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_inappwebview","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2023-02-14 17:51:45.020542","version":"3.7.0"}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.sourceDirectory": "${workspaceFolder}/example/windows/flutter"
}
2 changes: 1 addition & 1 deletion example/macos/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :osx, '10.11'
platform :osx, '10.14'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
35 changes: 35 additions & 0 deletions example/macos/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
PODS:
- flutter_inappwebview (0.0.1):
- FlutterMacOS
- OrderedSet (~> 5.0)
- FlutterMacOS (1.0.0)
- OrderedSet (5.0.0)
- url_launcher_macos (0.0.1):
- FlutterMacOS

DEPENDENCIES:
- flutter_inappwebview (from `Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview/macos`)
- FlutterMacOS (from `Flutter/ephemeral`)
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)

SPEC REPOS:
trunk:
- OrderedSet

EXTERNAL SOURCES:
flutter_inappwebview:
:path: Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview/macos
FlutterMacOS:
:path: Flutter/ephemeral
url_launcher_macos:
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos

SPEC CHECKSUMS:
flutter_inappwebview: 62e949df616a9f6e1b0366326381f208c7fcad37
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
url_launcher_macos: c04e4fa86382d4f94f6b38f14625708be3ae52e2

PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7

COCOAPODS: 1.11.3
71 changes: 66 additions & 5 deletions example/macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 54;
objects = {

/* Begin PBXAggregateTarget section */
Expand All @@ -26,6 +26,7 @@
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
76D51784536DD840AAEFDB5D /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE47106614C34ACB495B7A5D /* Pods_Runner.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -54,7 +55,7 @@
/* Begin PBXFileReference section */
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10ED2044A3C60003C045 /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
Expand All @@ -67,14 +68,19 @@
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
9571E4645CFA1AA72C904638 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
B2CCA9412A4A8E7ED645F679 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
EEF24A858EFC77C0FF856C58 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
FE47106614C34ACB495B7A5D /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
33CC10EA2044A3C60003C045 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
76D51784536DD840AAEFDB5D /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -99,6 +105,7 @@
33CEB47122A05771004F2AC0 /* Flutter */,
33CC10EE2044A3C60003C045 /* Products */,
D73912EC22F37F3D000D13A0 /* Frameworks */,
459625240B503A19F7031EB9 /* Pods */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -145,9 +152,21 @@
path = Runner;
sourceTree = "<group>";
};
459625240B503A19F7031EB9 /* Pods */ = {
isa = PBXGroup;
children = (
EEF24A858EFC77C0FF856C58 /* Pods-Runner.debug.xcconfig */,
B2CCA9412A4A8E7ED645F679 /* Pods-Runner.release.xcconfig */,
9571E4645CFA1AA72C904638 /* Pods-Runner.profile.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
isa = PBXGroup;
children = (
FE47106614C34ACB495B7A5D /* Pods_Runner.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand All @@ -159,11 +178,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
buildPhases = (
35C599D09CB7C08EF2AD321C /* [CP] Check Pods Manifest.lock */,
33CC10E92044A3C60003C045 /* Sources */,
33CC10EA2044A3C60003C045 /* Frameworks */,
33CC10EB2044A3C60003C045 /* Resources */,
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
AEDA9AA8961BD472590DBA0A /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -235,6 +256,7 @@
/* Begin PBXShellScriptBuildPhase section */
3399D490228B24CF009A79C7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -270,6 +292,45 @@
shellPath = /bin/sh;
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
};
35C599D09CB7C08EF2AD321C /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
AEDA9AA8961BD472590DBA0A /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -344,7 +405,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down Expand Up @@ -423,7 +484,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
Expand Down Expand Up @@ -470,7 +531,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
SWIFT_COMPILATION_MODE = wholemodule;
Expand Down
3 changes: 3 additions & 0 deletions example/macos/Runner.xcworkspace/contents.xcworkspacedata

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

Loading

0 comments on commit 8bb8197

Please sign in to comment.