mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
fix merge issue
This commit is contained in:
@ -25,10 +25,7 @@ import scrollViewModule = require("ui/scroll-view");
|
|||||||
|
|
||||||
// </snippet>
|
// </snippet>
|
||||||
|
|
||||||
var ASYNC = 0.3;
|
class ScrollLayoutTest extends testModule.UITest<scrollViewModule.ScrollView> {
|
||||||
var tmp: buttonModule.Button;
|
|
||||||
var newPage: page.Page;
|
|
||||||
|
|
||||||
public create(): scrollViewModule.ScrollView {
|
public create(): scrollViewModule.ScrollView {
|
||||||
return new scrollViewModule.ScrollView();
|
return new scrollViewModule.ScrollView();
|
||||||
}
|
}
|
||||||
@ -75,7 +72,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.height = 100;
|
btn.height = 100;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -91,7 +88,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.height = 500;
|
btn.height = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -107,7 +104,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.width = 100;
|
btn.width = 100;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -123,7 +120,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.width = 500;
|
btn.width = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -139,7 +136,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.height = 500;
|
btn.height = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -156,7 +153,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.height = 500;
|
btn.height = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -180,7 +177,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.width = 500;
|
btn.width = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
@ -197,7 +194,7 @@ var scrollView = new scrollViewModule.ScrollView();
|
|||||||
this.testView.width = 200;
|
this.testView.width = 200;
|
||||||
this.testView.height = 300;
|
this.testView.height = 300;
|
||||||
|
|
||||||
var btn = new button.Button();
|
let btn = new button.Button();
|
||||||
btn.text = "test";
|
btn.text = "test";
|
||||||
btn.width = 500;
|
btn.width = 500;
|
||||||
this.testView.content = btn;
|
this.testView.content = btn;
|
||||||
|
Reference in New Issue
Block a user