SelectStorageLocationActivity handles read-only/temporary cases (first implementation, untested)
This commit is contained in:
		| @@ -67,6 +67,7 @@ | ||||
|     <Reference Include="System.Xml" /> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Compile Include="TestAndroidContentFileStorage.cs" /> | ||||
|     <Compile Include="TestIntentsAndBundles.cs" /> | ||||
|     <Compile Include="ProgressDialogStub.cs" /> | ||||
|     <Compile Include="TestBase.cs" /> | ||||
|   | ||||
| @@ -20,7 +20,10 @@ namespace Kp2aUnitTests | ||||
|             // Run all tests from this assembly | ||||
|             //runner.AddTests(Assembly.GetExecutingAssembly()); | ||||
| 			//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileByDirectCall")); | ||||
| 			runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly")); | ||||
| 			//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly")); | ||||
|  | ||||
|  | ||||
| 			runner.AddTests(new List<Type> { typeof(TestBuiltInFileStorage) }); | ||||
| 			//runner.AddTests(new List<Type> { typeof(TestSynchronizeCachedDatabase)}); | ||||
| 			//runner.AddTests(typeof(TestLoadDb).GetMethod("LoadErrorWithCertificateTrustFailure")); | ||||
| 			//runner.AddTests(typeof(TestLoadDb).GetMethod("LoadWithAcceptedCertificateTrustFailure")); | ||||
|   | ||||
| @@ -183,5 +183,15 @@ namespace Kp2aUnitTests | ||||
| 		{ | ||||
| 			throw new NotImplementedException(); | ||||
| 		} | ||||
|  | ||||
| 		public bool IsPermanentLocation(IOConnectionInfo ioc) | ||||
| 		{ | ||||
| 			return true;	 | ||||
| 		} | ||||
|  | ||||
| 		public bool IsReadOnly(IOConnectionInfo ioc) | ||||
| 		{ | ||||
| 			return false; | ||||
| 		} | ||||
| 	} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Crocoll
					Philipp Crocoll