You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/13 07:18:17 UTC

[royale-asjs] branch develop updated: fix mxtests

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b4e03cb  fix mxtests
b4e03cb is described below

commit b4e03cba343b8b895bff43c15ba4df4a7251ae8d
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Dec 12 23:17:50 2019 -0800

    fix mxtests
---
 frameworks/projects/MXRoyale/src/main/resources/defaults.css            | 2 +-
 mustella/tests/mxtests/basicTests/halo/scripts/DateFieldTestScript.mxml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/resources/defaults.css b/frameworks/projects/MXRoyale/src/main/resources/defaults.css
index 679ce2f..170fd47 100644
--- a/frameworks/projects/MXRoyale/src/main/resources/defaults.css
+++ b/frameworks/projects/MXRoyale/src/main/resources/defaults.css
@@ -196,7 +196,7 @@ DateChooser
 	IBeadModel:  ClassReference("org.apache.royale.html.beads.models.DateChooserModel");			
 	IBeadLayout: ClassReference("org.apache.royale.html.beads.layouts.VerticalFlexLayout");	
 	IBeadController: ClassReference("org.apache.royale.html.beads.controllers.DateChooserMouseController");
-	width:  280px;
+	width:  200px;
 	height: 240px;
 }
 
diff --git a/mustella/tests/mxtests/basicTests/halo/scripts/DateFieldTestScript.mxml b/mustella/tests/mxtests/basicTests/halo/scripts/DateFieldTestScript.mxml
index ea1969d..55387e8 100644
--- a/mustella/tests/mxtests/basicTests/halo/scripts/DateFieldTestScript.mxml
+++ b/mustella/tests/mxtests/basicTests/halo/scripts/DateFieldTestScript.mxml
@@ -65,7 +65,7 @@
 				<DispatchMouseEvent target="haloDateFieldTests.testDateField.dropdown" type="mouseOver" localX="89" localY="67" />
 				<DispatchMouseClickEvent target="haloDateFieldTests.testDateField.dropdown" localX="89" localY="67" />
 				<!--<AssertEvent target="haloDateFieldTests.testDateField" eventName="close" eventClass="mx.events::DropdownEvent" />-->
-				<AssertPropertyValue target="haloDateFieldTests.testDateField" propertyName="selectedDate" valueExpression="value = new Date(2005, 4, 3)" />
+				<AssertPropertyValue target="haloDateFieldTests.testDateField" propertyName="selectedDate" valueExpression="value = new Date(2005, 4, 4)" />
 			</body>
 		</TestCase>
 	</testCases>