mozbuild.test.backend package¶
Submodules¶
mozbuild.test.backend.common module¶
mozbuild.test.backend.test_android_eclipse module¶
-
class
mozbuild.test.backend.test_android_eclipse.
TestAndroidEclipseBackend
(*args, **kwargs)¶ Bases:
mozbuild.test.backend.common.BackendTester
-
assertExists
(*args)¶
-
assertInManifest
(project_name, *args)¶
-
assertNotExists
(*args)¶
-
assertNotInManifest
(project_name, *args)¶
-
test_classpathentries
()¶ Ensure we produce reasonable classpathentries.
-
test_extra_jars
()¶ Ensure we add class path entries to extra jars iff asked to.
-
test_included_projects
()¶ Ensure we include another project correctly.
-
test_library_manifest
()¶ Ensure we generate manifest for library projects.
-
test_library_project_files
()¶ Ensure we generate reasonable files for library projects.
-
test_library_project_setting
()¶ Ensure we declare a library project correctly.
-
test_main_project_files
()¶ Ensure we generate reasonable files for main (non-library) projects.
-
test_manifest_assets
()¶ Ensure we symlink assets/ iff asked to.
-
test_manifest_classpathentries
()¶ Ensure we symlink classpathentries correctly.
-
test_manifest_main_manifest
()¶ Ensure we symlink manifest if asked to for main projects.
-
test_manifest_res
()¶ Ensure we symlink res/ iff asked to.
-
test_referenced_projects
()¶ Ensure we reference another project correctly.
-
mozbuild.test.backend.test_build module¶
mozbuild.test.backend.test_configenvironment module¶
-
class
mozbuild.test.backend.test_configenvironment.
ConfigEnvironment
(*args, **kwargs)¶
mozbuild.test.backend.test_recursivemake module¶
-
class
mozbuild.test.backend.test_recursivemake.
TestRecursiveMakeBackend
(methodName='runTest')¶ Bases:
mozbuild.test.backend.common.BackendTester
-
test_android_eclipse
()¶
-
test_backend_mk
()¶ Ensure backend.mk file is written out properly.
-
test_basic
()¶ Ensure the RecursiveMakeBackend works without error.
-
test_binary_components
()¶ Ensure binary components are correctly handled.
-
test_branding_files
()¶ Ensure BRANDING_FILES is handled properly.
-
test_config
()¶ Test that CONFIGURE_SUBST_FILES are properly handled.
-
test_defines
()¶ Test that DEFINES are written to backend.mk correctly.
-
test_exports
()¶ Ensure EXPORTS is handled properly.
-
test_exports_generated
()¶ Ensure EXPORTS that are listed in GENERATED_FILES are handled properly.
-
test_final_target
()¶ Test that FINAL_TARGET is written to backend.mk correctly.
-
test_final_target_pp_files
()¶ Test that FINAL_TARGET_PP_FILES is written to backend.mk correctly.
-
test_generated_files
()¶ Ensure GENERATED_FILES is handled properly.
-
test_generated_includes
()¶ Test that GENERATED_INCLUDES are written to backend.mk correctly.
-
test_host_defines
()¶ Test that HOST_DEFINES are written to backend.mk correctly.
-
test_install_manifests_package_tests
()¶ Ensure test suites honor package_tests=False.
-
test_install_manifests_written
()¶
-
test_install_substitute_config_files
()¶ Ensure we recurse into the dirs that install substituted config files.
-
test_ipdl_sources
()¶ Test that IPDL_SOURCES are written to ipdlsrcs.mk correctly.
-
test_jar_manifests
()¶
-
test_local_includes
()¶ Test that LOCAL_INCLUDES are written to backend.mk correctly.
-
test_makefile_conversion
()¶ Ensure Makefile.in is converted properly.
-
test_missing_makefile_in
()¶ Ensure missing Makefile.in results in Makefile creation.
-
test_mtime_no_change
()¶ Ensure mtime is not updated if file content does not change.
-
test_old_install_manifest_deleted
()¶
-
test_output_files
()¶ Ensure proper files are generated.
-
test_resources
()¶ Ensure RESOURCE_FILES is handled properly.
-
test_sdk_files
()¶ Ensure SDK_FILES is handled properly.
-
test_sources
()¶ Ensure SOURCES and HOST_SOURCES are handled properly.
-
test_substitute_config_files
()¶ Ensure substituted config files are produced.
-
test_test_manifest_deffered_installs_written
()¶ Shared support files are written to their own data file by the backend.
-
test_test_manifest_pattern_matches_recorded
()¶ Pattern matches in test manifests’ support-files should be recorded.
-
test_test_manifests_duplicate_support_files
()¶ Ensure duplicate support-files in test manifests work.
-
test_test_manifests_files_written
()¶ Ensure test manifests get turned into files.
-
test_variable_passthru
()¶ Ensure variable passthru is written out correctly.
-
test_xpidl_generation
()¶ Ensure xpidl files and directories are written out.
-
mozbuild.test.backend.test_visualstudio module¶
-
class
mozbuild.test.backend.test_visualstudio.
TestVisualStudioBackend
(methodName='runTest')¶ Bases:
mozbuild.test.backend.common.BackendTester
-
test_basic
(*args, **kwargs)¶ Ensure we can consume our stub project.
-