platform_build_soong/python
Colin Cross cec8171420 Add integration testing infrastructure
Fix mutator registration for tests to allow different tests
in the same package to register different mutators.

Allow tests to track the resulting ModuleBuildParams objects
to use in assertions, and provide helpers for getting them.
For example:
    config := android.TestConfig(buildDir)
    ctx := android.NewTestContext()
    ctx.RegisterModuleType(...)
    ctx.MockFileSystem(...)
    ctx.ParseBlueprintsFile("Android.bp")
    ctx.PrepareBuildActions(config)
    ctx.Register()
    // Get the Inputs value passed to the javac rule for the foo module
    inputs := ctx.ModuleForTests("foo".Rule("javac").Inputs

Test: java_test.go
Change-Id: I10c82967f5f3586d2c176f169906b571ed82fc73
2017-07-14 14:19:51 -07:00
..
scripts Supported python build in host side. 2017-05-05 13:27:56 -07:00
androidmk.go Add python_test_host module. 2017-05-17 11:26:00 -07:00
binary.go Refactor factories 2017-06-30 21:08:36 +00:00
builder.go Fix the issue "\n" didn't get interpreted properly. 2017-05-16 15:10:29 -07:00
installer.go Add python_test_host module. 2017-05-17 11:26:00 -07:00
library.go Refactor factories 2017-06-30 21:08:36 +00:00
python.go Refactor factories 2017-06-30 21:08:36 +00:00
python_test.go Add integration testing infrastructure 2017-07-14 14:19:51 -07:00
test.go Refactor factories 2017-06-30 21:08:36 +00:00