π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prune final low-value tests
Manav Rathia3215c96ad0f
diff --git a/mobile/apps/locker/ios/Runner.xcodeproj/project.pbxproj b/mobile/apps/locker/ios/Runner.xcodeproj/project.pbxprojindex c0a56717d0..ccc8b4eeb1 100644--- a/mobile/apps/locker/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/apps/locker/ios/Runner.xcodeproj/project.pbxproj@@ -9,7 +9,6 @@/* Begin PBXBuildFile section */1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };27AD87F62E16554700B24C05 /* Share Extension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 27AD87EC2E16554700B24C05 /* Share Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };- 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };7DB7472FE5163F8377BAA06E /* Pods_Share_Extension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 287775B7AE148AC0BA3D8BA0 /* Pods_Share_Extension.framework */; };@@ -70,7 +69,6 @@27AD87D62E16497400B24C05 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };27AD87EC2E16554700B24C05 /* Share Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Share Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };287775B7AE148AC0BA3D8BA0 /* Pods_Share_Extension.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Share_Extension.framework; sourceTree = BUILT_PRODUCTS_DIR; };- 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };4FDA38002AE5F3BE62147DBD /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };@@ -160,7 +158,6 @@331C8082294A63A400263BE5 /* RunnerTests */ = {isa = PBXGroup;children = (- 331C807B294A618700263BE5 /* RunnerTests.swift */,);path = RunnerTests;sourceTree = "<group>";@@ -510,7 +507,6 @@isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};diff --git a/mobile/apps/locker/ios/RunnerTests/RunnerTests.swift b/mobile/apps/locker/ios/RunnerTests/RunnerTests.swiftdeleted file mode 100644index 8324d0b0be..0000000000--- a/mobile/apps/locker/ios/RunnerTests/RunnerTests.swift+++ /dev/null@@ -1,10 +0,0 @@-import Flutter-import UIKit-import XCTest--class RunnerTests: XCTestCase {-- func testExample() {- }--}diff --git a/mobile/packages/ente_components/example/ios/Runner.xcodeproj/project.pbxproj b/mobile/packages/ente_components/example/ios/Runner.xcodeproj/project.pbxprojindex fb32b33dfa..b5994a6636 100644--- a/mobile/packages/ente_components/example/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/packages/ente_components/example/ios/Runner.xcodeproj/project.pbxproj@@ -9,7 +9,6 @@/* Begin PBXBuildFile section */11EC59B1F2EA5741EDA788C2 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 974C910B9F5949673FF629CD /* Pods_Runner.framework */; };1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };- 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };7D3F194046BEB1B87D7B7C21 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 114EC02ACCA51CC2218DCE93 /* Pods_RunnerTests.framework */; };@@ -46,7 +45,6 @@1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };2D4D52B3EEBD5D2786AA5B25 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };- 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };573C484CDC1AAD56E5D669D0 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };@@ -90,7 +88,6 @@331C8082294A63A400263BE5 /* RunnerTests */ = {isa = PBXGroup;children = (- 331C807B294A618700263BE5 /* RunnerTests.swift */,);path = RunnerTests;sourceTree = "<group>";@@ -369,7 +366,6 @@isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};diff --git a/mobile/packages/ente_components/example/ios/RunnerTests/RunnerTests.swift b/mobile/packages/ente_components/example/ios/RunnerTests/RunnerTests.swiftdeleted file mode 100644index e2b04d8a2b..0000000000--- a/mobile/packages/ente_components/example/ios/RunnerTests/RunnerTests.swift+++ /dev/null@@ -1,11 +0,0 @@-import Flutter-import UIKit-import XCTest--class RunnerTests: XCTestCase {-- func testRunnerTargetLoads() {- XCTAssertTrue(true)- }--}diff --git a/mobile/packages/local_auth_linux/test/local_auth_linux_test.dart b/mobile/packages/local_auth_linux/test/local_auth_linux_test.dartindex b7a87d648f..131636da29 100644--- a/mobile/packages/local_auth_linux/test/local_auth_linux_test.dart+++ b/mobile/packages/local_auth_linux/test/local_auth_linux_test.dart@@ -38,15 +38,6 @@ void main() {.setMockMethodCallHandler(channel, null);});- test('registers as the local_auth platform implementation', () {- final previous = LocalAuthPlatform.instance;-- LocalAuthLinux.registerWith();-- expect(LocalAuthPlatform.instance, isA<LocalAuthLinux>());- LocalAuthPlatform.instance = previous;- });-test('authenticate sends the localized reason to native code', () async {final result = await localAuth.authenticate(localizedReason: 'Unlock Ente Auth',diff --git a/mobile/packages/native_video_editor/android/src/test/kotlin/io/ente/native_video_editor/VideoModelsTest.kt b/mobile/packages/native_video_editor/android/src/test/kotlin/io/ente/native_video_editor/VideoModelsTest.ktindex 66b6c66aec..10200c0189 100644--- a/mobile/packages/native_video_editor/android/src/test/kotlin/io/ente/native_video_editor/VideoModelsTest.kt+++ b/mobile/packages/native_video_editor/android/src/test/kotlin/io/ente/native_video_editor/VideoModelsTest.kt@@ -4,21 +4,6 @@ import org.junit.Assert.assertEqualsimport org.junit.Testclass VideoModelsTest {- @Test- fun metadataRotationDefinesDisplayDimensions() {- val metadata = VideoMetadata(- durationMs = 1_000,- width = 1_920,- height = 1_080,- rotationDegrees = 270,- bitrate = null,- frameRate = null- )-- assertEquals(1_080, metadata.displayWidth)- assertEquals(1_920, metadata.displayHeight)- }-@Testfun boundedSizePreservesAspectRatioWithoutUpscaling() {assertEquals(diff --git a/web/packages/wasm/core/tests/auth.test.ts b/web/packages/wasm/core/tests/auth.test.tsindex d21a273dd9..16cc18c014 100644--- a/web/packages/wasm/core/tests/auth.test.ts+++ b/web/packages/wasm/core/tests/auth.test.ts@@ -2,8 +2,6 @@ import { expect, test } from "vitest";import {auth_generate_interactive_kek,auth_generate_srp_setup,- auth_recovery_key_from_mnemonic_or_hex,- auth_recovery_key_to_mnemonic,crypto_generate_key,} from "../pkg/ente_core_wasm.js";@@ -28,11 +26,3 @@ test("generates SRP setup attributes from a kek", () => {Buffer.from(generated.srp_verifier, "base64").length,).toBeGreaterThan(0);});--test("round-trips recovery key mnemonic", () => {- const recoveryKey = crypto_generate_key();- const mnemonic = auth_recovery_key_to_mnemonic(recoveryKey);- const decoded = auth_recovery_key_from_mnemonic_or_hex(mnemonic);-- expect(decoded).toBe(recoveryKey);-});