Merge "Get default sdk_test.go values from config"

am: 9820aa6cc8

Change-Id: I95da16462ea8c1d3d4eeeb6c0c8fb3b57d2dd059
This commit is contained in:
Colin Cross 2019-04-19 10:34:21 -07:00 committed by android-build-merger
commit 44619bfa34

View file

@ -15,13 +15,15 @@
package java
import (
"android/soong/android"
"path/filepath"
"reflect"
"strings"
"testing"
"github.com/google/blueprint/proptools"
"android/soong/android"
"android/soong/java/config"
)
var classpathTestcases = []struct {
@ -37,16 +39,16 @@ var classpathTestcases = []struct {
}{
{
name: "default",
bootclasspath: []string{"core.platform.api.stubs", "core-lambda-stubs"},
system: "core-platform-api-stubs-system-modules",
classpath: []string{"ext", "framework"},
bootclasspath: config.DefaultBootclasspathLibraries,
system: config.DefaultSystemModules,
classpath: config.DefaultLibraries,
},
{
name: "blank sdk version",
properties: `sdk_version: "",`,
bootclasspath: []string{"core.platform.api.stubs", "core-lambda-stubs"},
system: "core-platform-api-stubs-system-modules",
classpath: []string{"ext", "framework"},
bootclasspath: config.DefaultBootclasspathLibraries,
system: config.DefaultSystemModules,
classpath: config.DefaultLibraries,
},
{