mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	Refactor TestCase files into python modules
Convert all TestCase files into standard python modules to be run and discovered by unittest.
This commit is contained in:
		
							parent
							
								
									4d6682bc70
								
							
						
					
					
						commit
						7ff32bc4b0
					
				
					 34 changed files with 471 additions and 1260 deletions
				
			
		
							
								
								
									
										41
									
								
								MANIFEST.in
									
										
									
									
									
								
							
							
						
						
									
										41
									
								
								MANIFEST.in
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -50,7 +50,6 @@ include README.md
 | 
			
		|||
include tests/aosp_testkey_debug.keystore
 | 
			
		||||
include tests/apk.embedded_1.apk
 | 
			
		||||
include tests/bad-unicode-*.apk
 | 
			
		||||
include tests/build.TestCase
 | 
			
		||||
include tests/build-tools/17.0.0/aapt-output-com.moez.QKSMS_182.txt
 | 
			
		||||
include tests/build-tools/17.0.0/aapt-output-com.politedroid_3.txt
 | 
			
		||||
include tests/build-tools/17.0.0/aapt-output-com.politedroid_4.txt
 | 
			
		||||
| 
						 | 
				
			
			@ -547,9 +546,7 @@ include tests/build-tools/28.0.3/aapt-output-obb.main.twoversions_1101617.txt
 | 
			
		|||
include tests/build-tools/28.0.3/aapt-output-souch.smsbypass_9.txt
 | 
			
		||||
include tests/build-tools/generate.sh
 | 
			
		||||
include tests/check-fdroid-apk
 | 
			
		||||
include tests/checkupdates.TestCase
 | 
			
		||||
include tests/com.fake.IpaApp_1000000000001.ipa
 | 
			
		||||
include tests/common.TestCase
 | 
			
		||||
include tests/config.py
 | 
			
		||||
include tests/config/antiFeatures.yml
 | 
			
		||||
include tests/config/categories.yml
 | 
			
		||||
| 
						 | 
				
			
			@ -569,10 +566,8 @@ include tests/config/ic_antifeature_upstreamnonfree.xml
 | 
			
		|||
include tests/config/ro/antiFeatures.yml
 | 
			
		||||
include tests/config/zh-rCN/antiFeatures.yml
 | 
			
		||||
include tests/corrupt-featureGraphic.png
 | 
			
		||||
include tests/deploy.TestCase
 | 
			
		||||
include tests/dummy-keystore.jks
 | 
			
		||||
include tests/dump_internal_metadata_format.py
 | 
			
		||||
include tests/exception.TestCase
 | 
			
		||||
include tests/extra/manual-vmtools-test.py
 | 
			
		||||
include tests/funding-usernames.yaml
 | 
			
		||||
include tests/get_android_tools_versions/android-ndk-r10e/RELEASE.TXT
 | 
			
		||||
| 
						 | 
				
			
			@ -591,10 +586,6 @@ include tests/gnupghome/secring.gpg
 | 
			
		|||
include tests/gnupghome/trustdb.gpg
 | 
			
		||||
include tests/gradle-maven-blocks.yaml
 | 
			
		||||
include tests/gradle-release-checksums.py
 | 
			
		||||
include tests/import_subcommand.TestCase
 | 
			
		||||
include tests/index.TestCase
 | 
			
		||||
include tests/init.TestCase
 | 
			
		||||
include tests/install.TestCase
 | 
			
		||||
include tests/IsMD5Disabled.java
 | 
			
		||||
include tests/issue-1128-min-sdk-30-poc.apk
 | 
			
		||||
include tests/issue-1128-poc1.apk
 | 
			
		||||
| 
						 | 
				
			
			@ -604,8 +595,6 @@ include tests/issue-1128-poc3b.apk
 | 
			
		|||
include tests/janus.apk
 | 
			
		||||
include tests/keystore.jks
 | 
			
		||||
include tests/key-tricks.py
 | 
			
		||||
include tests/lint.TestCase
 | 
			
		||||
include tests/main.TestCase
 | 
			
		||||
include tests/metadata/apk/info.guardianproject.urzip.yaml
 | 
			
		||||
include tests/metadata/apk/org.dyndns.fules.ck.yaml
 | 
			
		||||
include tests/metadata/app.with.special.build.params.yml
 | 
			
		||||
| 
						 | 
				
			
			@ -660,10 +649,7 @@ include tests/metadata-rewrite-yml/app.with.special.build.params.yml
 | 
			
		|||
include tests/metadata-rewrite-yml/fake.ota.update.yml
 | 
			
		||||
include tests/metadata-rewrite-yml/org.fdroid.fdroid.yml
 | 
			
		||||
include tests/metadata/souch.smsbypass.yml
 | 
			
		||||
include tests/metadata.TestCase
 | 
			
		||||
include tests/minimal_targetsdk_30_unsigned.apk
 | 
			
		||||
include tests/net.TestCase
 | 
			
		||||
include tests/nightly.TestCase
 | 
			
		||||
include tests/Norway_bouvet_europe_2.obf.zip
 | 
			
		||||
include tests/no_targetsdk_minsdk1_unsigned.apk
 | 
			
		||||
include tests/no_targetsdk_minsdk30_unsigned.apk
 | 
			
		||||
| 
						 | 
				
			
			@ -674,7 +660,6 @@ include tests/org.bitbucket.tickytacky.mirrormirror_3.apk
 | 
			
		|||
include tests/org.bitbucket.tickytacky.mirrormirror_4.apk
 | 
			
		||||
include tests/org.dyndns.fules.ck_20.apk
 | 
			
		||||
include tests/org.sajeg.fallingblocks_3.apk
 | 
			
		||||
include tests/publish.TestCase
 | 
			
		||||
include tests/repo/com.example.test.helloworld_1.apk
 | 
			
		||||
include tests/repo/com.politedroid_3.apk
 | 
			
		||||
include tests/repo/com.politedroid_4.apk
 | 
			
		||||
| 
						 | 
				
			
			@ -732,13 +717,9 @@ include tests/repo/patch.1619.obb.mainpatch.current.obb
 | 
			
		|||
include tests/repo/souch.smsbypass_9.apk
 | 
			
		||||
include tests/repo/urzip-*.apk
 | 
			
		||||
include tests/repo/v1.v2.sig_1020.apk
 | 
			
		||||
include tests/rewritemeta.TestCase
 | 
			
		||||
include tests/run-tests
 | 
			
		||||
include tests/SANAPPSI.RSA
 | 
			
		||||
include tests/SANAPPSI.SF
 | 
			
		||||
include tests/scanner.TestCase
 | 
			
		||||
include tests/signatures.TestCase
 | 
			
		||||
include tests/signindex.TestCase
 | 
			
		||||
include tests/signindex/guardianproject.jar
 | 
			
		||||
include tests/signindex/guardianproject-v1.jar
 | 
			
		||||
include tests/signindex/testy.jar
 | 
			
		||||
| 
						 | 
				
			
			@ -864,7 +845,27 @@ include tests/source-files/yuriykulikov/AlarmClock/gradle/wrapper/gradle-wrapper
 | 
			
		|||
include tests/source-files/Zillode/syncthing-silk/build.gradle
 | 
			
		||||
include tests/SpeedoMeterApp.main_1.apk
 | 
			
		||||
include tests/testcommon.py
 | 
			
		||||
include tests/test_build.py
 | 
			
		||||
include tests/test_checkupdates.py
 | 
			
		||||
include tests/test_common.py
 | 
			
		||||
include tests/test_deploy.py
 | 
			
		||||
include tests/test_exception.py
 | 
			
		||||
include tests/test_gradlew-fdroid
 | 
			
		||||
include tests/test_import_subcommand.py
 | 
			
		||||
include tests/test_index.py
 | 
			
		||||
include tests/test_init.py
 | 
			
		||||
include tests/test_install.py
 | 
			
		||||
include tests/test_lint.py
 | 
			
		||||
include tests/test_main.py
 | 
			
		||||
include tests/test_metadata.py
 | 
			
		||||
include tests/test_nightly.py
 | 
			
		||||
include tests/test_publish.py
 | 
			
		||||
include tests/test_rewritemeta.py
 | 
			
		||||
include tests/test_scanner.py
 | 
			
		||||
include tests/test_signatures.py
 | 
			
		||||
include tests/test_signindex.py
 | 
			
		||||
include tests/test_update.py
 | 
			
		||||
include tests/test_vcs.py
 | 
			
		||||
include tests/triple-t-2/build/org.piwigo.android/app/build.gradle
 | 
			
		||||
include tests/triple-t-2/build/org.piwigo.android/app/.gitignore
 | 
			
		||||
include tests/triple-t-2/build/org.piwigo.android/app/src/debug/res/values/constants.xml
 | 
			
		||||
| 
						 | 
				
			
			@ -921,7 +922,6 @@ include tests/triple-t-multiple/build/ch.admin.bag.covidcertificate.wallet/verif
 | 
			
		|||
include tests/triple-t-multiple/build/ch.admin.bag.covidcertificate.wallet/wallet/src/main/play/listings/en-US/title.txt
 | 
			
		||||
include tests/triple-t-multiple/metadata/ch.admin.bag.covidcertificate.verifier.yml
 | 
			
		||||
include tests/triple-t-multiple/metadata/ch.admin.bag.covidcertificate.wallet.yml
 | 
			
		||||
include tests/update.TestCase
 | 
			
		||||
include tests/urzip.apk
 | 
			
		||||
include tests/urzip-badcert.apk
 | 
			
		||||
include tests/urzip-badsig.apk
 | 
			
		||||
| 
						 | 
				
			
			@ -931,4 +931,3 @@ include tests/v2.only.sig_2.apk
 | 
			
		|||
include tests/valid-package-names/random-package-names
 | 
			
		||||
include tests/valid-package-names/RandomPackageNames.java
 | 
			
		||||
include tests/valid-package-names/test.py
 | 
			
		||||
include tests/vcs.TestCase
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue