Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRalf Sternberg2011-02-06 16:11:41 +0000
committerRalf Sternberg2011-02-06 16:11:41 +0000
commitf148216dcb5f5520ef237a7a85c68006847782b7 (patch)
tree0fbdf679ed6cb429bf18da403827c8382fb99c1d /tests
parent7970ca5e11e32017842778cb4e2e9357d97fcdef (diff)
downloadorg.eclipse.rap-f148216dcb5f5520ef237a7a85c68006847782b7.tar.gz
org.eclipse.rap-f148216dcb5f5520ef237a7a85c68006847782b7.tar.xz
org.eclipse.rap-f148216dcb5f5520ef237a7a85c68006847782b7.zip
Changed encoding to UTF-8 - bug 335090: Change encoding of sources to UTF-8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335090
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.rap.core.tests.harness/.settings/org.eclipse.core.resources.prefs4
-rw-r--r--tests/org.eclipse.rap.rwt.q07.test/.settings/org.eclipse.core.resources.prefs4
-rw-r--r--tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA_Test.java4
-rw-r--r--tests/org.eclipse.rap.rwt.test.mockup/.settings/org.eclipse.core.resources.prefs4
-rw-r--r--tests/org.eclipse.rap.rwt.test/.settings/org.eclipse.core.resources.prefs6
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/internal/lifecycle/HtmlResponseWriter_Test.java10
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/lifecycle/WidgetUtil_Test.java2
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/ControlGC_Test.java4
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/DeviceGC_Test.java4
-rw-r--r--tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/ToolTip_Test.java4
-rw-r--r--tests/org.eclipse.rap.rwt.testfixture/.settings/org.eclipse.core.resources.prefs4
-rw-r--r--tests/org.eclipse.rap.rwt.themes.test/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--tests/org.eclipse.rap.ui.forms.test/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--tests/org.eclipse.rap.ui.tests.harness/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--tests/org.eclipse.rap.ui.tests.performance/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--tests/org.eclipse.rap.ui.tests/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--tests/org.eclipse.rwt.test.all/.settings/org.eclipse.core.resources.prefs4
17 files changed, 43 insertions, 26 deletions
diff --git a/tests/org.eclipse.rap.core.tests.harness/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.core.tests.harness/.settings/org.eclipse.core.resources.prefs
index f94afedf3f..1105ed5963 100644
--- a/tests/org.eclipse.rap.core.tests.harness/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rap.core.tests.harness/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Tue May 25 14:59:26 EDT 2004
-encoding/<project>=ISO-8859-1
+#Sun Feb 06 16:48:03 CET 2011
eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.rwt.q07.test/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.rwt.q07.test/.settings/org.eclipse.core.resources.prefs
index 828589b5d4..fca2afb3c4 100644
--- a/tests/org.eclipse.rap.rwt.q07.test/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rap.rwt.q07.test/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Tue Apr 24 13:44:30 CEST 2007
+#Sun Feb 06 16:46:52 CET 2011
eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA_Test.java b/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA_Test.java
index d3d72c66a9..85321407ff 100644
--- a/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA_Test.java
+++ b/tests/org.eclipse.rap.rwt.q07.test/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA_Test.java
@@ -1,12 +1,12 @@
/*******************************************************************************
- * Copyright (c) 2011 Rdiger Herrmann and others. All rights reserved.
+ * Copyright (c) 2011 Rüdiger Herrmann and others. All rights reserved.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Rdiger Herrmann - initial API and implementation
+ * Rüdiger Herrmann - initial API and implementation
******************************************************************************/
package org.eclipse.swt.internal.widgets.tooltipkit;
diff --git a/tests/org.eclipse.rap.rwt.test.mockup/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.rwt.test.mockup/.settings/org.eclipse.core.resources.prefs
index 828589b5d4..8e06fa7934 100644
--- a/tests/org.eclipse.rap.rwt.test.mockup/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rap.rwt.test.mockup/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Tue Apr 24 13:44:30 CEST 2007
+#Sun Feb 06 16:47:01 CET 2011
eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.rwt.test/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.rwt.test/.settings/org.eclipse.core.resources.prefs
index f55d838c32..1a6d25733d 100644
--- a/tests/org.eclipse.rap.rwt.test/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rap.rwt.test/.settings/org.eclipse.core.resources.prefs
@@ -1,6 +1,8 @@
-#Mon Nov 12 17:40:17 CET 2007
+#Sun Feb 06 16:29:14 CET 2011
eclipse.preferences.version=1
+encoding//src/org/eclipse/rwt/internal/resources/iso-resource.js=ISO-8859-1
+encoding//src/org/eclipse/rwt/internal/resources/utf-8-resource.js=UTF-8
encoding//src/org/eclipse/rwt/messages_utf8.properties=UTF-8
encoding//src/org/eclipse/rwt/messages_utf8_de.properties=UTF-8
encoding//src/org/eclipse/rwt/messages_utf8_it.properties=UTF-8
-encoding/<project>=ISO-8859-1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/internal/lifecycle/HtmlResponseWriter_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/internal/lifecycle/HtmlResponseWriter_Test.java
index ecda613d37..e3407e2e29 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/internal/lifecycle/HtmlResponseWriter_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/internal/lifecycle/HtmlResponseWriter_Test.java
@@ -240,18 +240,18 @@ public class HtmlResponseWriter_Test extends TestCase {
// script & style tags must not be encoded
writer = new HtmlResponseWriter();
writer.startElement( "style", null );
- writer.writeText( "?", null );
+ writer.writeText( "äöü?", null );
writer.endElement( "style" );
- assertEquals( "<style>?</style>", getContent( writer ) );
+ assertEquals( "<style>äöü?</style>", getContent( writer ) );
writer = new HtmlResponseWriter();
writer.startElement( "script", null );
- writer.writeText( "?", null );
+ writer.writeText( "äöü?", null );
writer.endElement( "script" );
- assertEquals( "<script>?</script>", getContent( writer ) );
+ assertEquals( "<script>äöü?</script>", getContent( writer ) );
// all other elements must be encoded
writer = new HtmlResponseWriter();
writer.startElement( "whaetever", null );
- writer.writeText( "?", null );
+ writer.writeText( "äöü?", null );
writer.endElement( "whaetever" );
assertEquals( "<whaetever>&auml;&ouml;&uuml;?</whaetever>",
getContent( writer ) );
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/lifecycle/WidgetUtil_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/lifecycle/WidgetUtil_Test.java
index bcfad81019..38a51f9905 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/lifecycle/WidgetUtil_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/rwt/lifecycle/WidgetUtil_Test.java
@@ -46,7 +46,7 @@ public class WidgetUtil_Test extends TestCase {
String withLeadingDash = "-Foo-Bar-23-42";
shell.setData( WidgetUtil.CUSTOM_VARIANT, withLeadingDash );
assertEquals( withLeadingDash, WidgetUtil.getVariant( shell ) );
- String withNonAscii = "Foo--23-42";
+ String withNonAscii = "Foo-üäöæ-23-42";
shell.setData( WidgetUtil.CUSTOM_VARIANT, withNonAscii );
assertEquals( withNonAscii, WidgetUtil.getVariant( shell ) );
String withSpaces = "Foo Bar 23 42 ";
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/ControlGC_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/ControlGC_Test.java
index bc4e87d736..8843577195 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/ControlGC_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/ControlGC_Test.java
@@ -1,11 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2011 Rdiger Herrmann and others. All rights reserved.
+ * Copyright (c) 2011 Rüdiger Herrmann and others. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Rdiger Herrmann - initial API and implementation
+ * Rüdiger Herrmann - initial API and implementation
******************************************************************************/
package org.eclipse.swt.graphics;
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/DeviceGC_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/DeviceGC_Test.java
index 7c1694c5cd..ffb5316673 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/DeviceGC_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/graphics/DeviceGC_Test.java
@@ -1,11 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2011 Rdiger Herrmann and others. All rights reserved.
+ * Copyright (c) 2011 Rüdiger Herrmann and others. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Rdiger Herrmann - initial API and implementation
+ * Rüdiger Herrmann - initial API and implementation
******************************************************************************/
package org.eclipse.swt.graphics;
diff --git a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/ToolTip_Test.java b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/ToolTip_Test.java
index 520123bbe3..d3732b2b6f 100644
--- a/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/ToolTip_Test.java
+++ b/tests/org.eclipse.rap.rwt.test/src/org/eclipse/swt/widgets/ToolTip_Test.java
@@ -1,11 +1,11 @@
/*******************************************************************************
- * Copyright (c) 2011 Rdiger Herrmann and others. All rights reserved.
+ * Copyright (c) 2011 Rüdiger Herrmann and others. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Rdiger Herrmann - initial API and implementation
+ * Rüdiger Herrmann - initial API and implementation
******************************************************************************/
package org.eclipse.swt.widgets;
diff --git a/tests/org.eclipse.rap.rwt.testfixture/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.rwt.testfixture/.settings/org.eclipse.core.resources.prefs
index 828589b5d4..756a6bbbec 100644
--- a/tests/org.eclipse.rap.rwt.testfixture/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rap.rwt.testfixture/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Tue Apr 24 13:44:30 CEST 2007
+#Sun Feb 06 16:47:07 CET 2011
eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.rwt.themes.test/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.rwt.themes.test/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..4a3f1fe297
--- /dev/null
+++ b/tests/org.eclipse.rap.rwt.themes.test/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Feb 06 16:47:14 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.ui.forms.test/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.ui.forms.test/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..413cdf6349
--- /dev/null
+++ b/tests/org.eclipse.rap.ui.forms.test/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Feb 06 16:48:14 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.ui.tests.harness/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.ui.tests.harness/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..37cdb8ef7f
--- /dev/null
+++ b/tests/org.eclipse.rap.ui.tests.harness/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Feb 06 16:48:31 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.ui.tests.performance/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.ui.tests.performance/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..b6542554ad
--- /dev/null
+++ b/tests/org.eclipse.rap.ui.tests.performance/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Feb 06 16:48:40 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rap.ui.tests/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rap.ui.tests/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..939470cd06
--- /dev/null
+++ b/tests/org.eclipse.rap.ui.tests/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Sun Feb 06 16:48:23 CET 2011
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/tests/org.eclipse.rwt.test.all/.settings/org.eclipse.core.resources.prefs b/tests/org.eclipse.rwt.test.all/.settings/org.eclipse.core.resources.prefs
index cc479927bc..94221c7dac 100644
--- a/tests/org.eclipse.rwt.test.all/.settings/org.eclipse.core.resources.prefs
+++ b/tests/org.eclipse.rwt.test.all/.settings/org.eclipse.core.resources.prefs
@@ -1,3 +1,3 @@
-#Mon Sep 14 12:03:37 CEST 2009
+#Sun Feb 06 16:47:21 CET 2011
eclipse.preferences.version=1
-encoding/<project>=ISO-8859-1
+encoding/<project>=UTF-8

Back to the top