7bbea08f66
This refactoring makes it easier to write advanced tests and gives full control over what's happening to the test code. It also forces description for every test. BUG=none Review-Url: https://codereview.chromium.org/2891213002 Cr-Commit-Position: refs/heads/master@{#45412}
33 lines
598 B
Plaintext
33 lines
598 B
Plaintext
Tests generated previews in Runtime.getProperties
|
|
p1 : Object
|
|
p2 : Object
|
|
p1 : {
|
|
"type": "object",
|
|
"description": "Object",
|
|
"overflow": false,
|
|
"properties": [
|
|
{
|
|
"name": "a",
|
|
"type": "number",
|
|
"value": "1"
|
|
}
|
|
]
|
|
}
|
|
p2 : {
|
|
"type": "object",
|
|
"description": "Object",
|
|
"overflow": false,
|
|
"properties": [
|
|
{
|
|
"name": "b",
|
|
"type": "string",
|
|
"value": "foo"
|
|
},
|
|
{
|
|
"name": "bb",
|
|
"type": "string",
|
|
"value": "bar"
|
|
}
|
|
]
|
|
}
|