Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 117204 Details for
Bug 254458
Patch for eswt junit test to adapt to different platforms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch file for eSWT mobile junit test
Patch of mobile.test.txt (text/plain), 2.75 KB, created by
Sam Lo
on 2008-11-06 10:10:19 EST
(
hide
)
Description:
Patch file for eSWT mobile junit test
Filename:
MIME Type:
Creator:
Sam Lo
Created:
2008-11-06 10:10:19 EST
Size:
2.75 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ercp.swt.mobile.tests.tck >Index: .classpath >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.ercp/org.eclipse.ercp.swt.mobile.tests.tck/.classpath,v >retrieving revision 1.1 >diff -u -r1.1 .classpath >--- .classpath 24 May 2005 13:56:24 -0000 1.1 >+++ .classpath 6 Nov 2008 10:37:07 -0000 >@@ -1,11 +1,10 @@ > <?xml version="1.0" encoding="UTF-8"?> > <classpath> >- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="src" path="src"/> >- <classpathentry kind="lib" path="S:/epoc32/wins/c/ppro-apps/junit.jar"/> >- <classpathentry kind="lib" path="S:/epoc32/wins/c/system/JAVAEXT/eswt-core.jar"/> >- <classpathentry kind="lib" path="S:/epoc32/wins/c/system/JAVAEXT/eswt-expanded.jar"/> >- <classpathentry kind="lib" path="S:/epoc32/wins/c/system/JAVAEXT/eswt-mobile.jar"/> >- <classpathentry kind="src" path="/org.eclipse.ercp.swt.core.tests"/> >+ <classpathentry exported="true" kind="src" path="/org.eclipse.ercp.swt.core.tests"/> >+ <classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/> >+ <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> >+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.eclipse.ercp.swt.mobile.win"/> >+ <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.eclipse.ercp.swt.core.win"/> > <classpathentry kind="output" path="bin"/> > </classpath> >Index: src/org/eclipse/ercp/swt/mobile/tests/junit/Test_org_eclipse_ercp_swt_mobile_Screen.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.ercp/org.eclipse.ercp.swt.mobile.tests.tck/src/org/eclipse/ercp/swt/mobile/tests/junit/Test_org_eclipse_ercp_swt_mobile_Screen.java,v >retrieving revision 1.1 >diff -u -r1.1 Test_org_eclipse_ercp_swt_mobile_Screen.java >--- src/org/eclipse/ercp/swt/mobile/tests/junit/Test_org_eclipse_ercp_swt_mobile_Screen.java 5 Jul 2005 14:00:25 -0000 1.1 >+++ src/org/eclipse/ercp/swt/mobile/tests/junit/Test_org_eclipse_ercp_swt_mobile_Screen.java 6 Nov 2008 10:37:07 -0000 >@@ -388,8 +388,9 @@ > > for (int i = 0; i < screens.length; i++) { > Screen screen = screens[i]; >- int[] orientationValues = {Screen.PORTRAIT, Screen.LANDSCAPE}; >- String[] orientationValuesName = {"PORTRAIT", "LANDSCAPE"}; >+ //I adjust the order of orientationValues. Since most devices are default portrait mode, thus I made Screen.PORTRAIT as second one >+ int[] orientationValues = {Screen.LANDSCAPE, Screen.PORTRAIT}; >+ String[] orientationValuesName = {"LANDSCAPE", "PORTRAIT"}; > > for (int j = 0; j < orientationValues.length; j++) { > try {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254458
:
117201
|
117202
| 117204 |
118556
|
118557
|
118558
|
118559
|
118560