Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2009-04-24 06:43:45 +0000
committerAnton Leherbauer2009-04-24 06:43:45 +0000
commit56144f3f01e6c8c516923fef5507371797773303 (patch)
tree02975b3b15e4f4aac67c75848997f4e53cd7269d /core/org.eclipse.cdt.ui.tests
parent3cf528d8410e7cb9530347a2c0a9e695f52fee32 (diff)
downloadorg.eclipse.cdt-56144f3f01e6c8c516923fef5507371797773303.tar.gz
org.eclipse.cdt-56144f3f01e6c8c516923fef5507371797773303.tar.xz
org.eclipse.cdt-56144f3f01e6c8c516923fef5507371797773303.zip
Bug 272006 - [CodeFormatter] DBCS3.5: New Class wizard truncates first DBCS character in class name and namespace
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java20
2 files changed, 22 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.cdt.ui.tests/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 00000000000..3c7055fe9e9
--- /dev/null
+++ b/core/org.eclipse.cdt.ui.tests/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Thu Apr 23 17:28:18 CEST 2009
+eclipse.preferences.version=1
+encoding//ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java=UTF-8
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
index e439be50179..622a66b8bc9 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/CodeFormatterTest.java
@@ -1167,7 +1167,7 @@ public class CodeFormatterTest extends BaseUITestCase {
public void testFormatterProblemsWithTypename_Bug269590() throws Exception {
assertFormatterResult();
}
-
+
//void
//foo();
//int*
@@ -1180,4 +1180,22 @@ public class CodeFormatterTest extends BaseUITestCase {
public void testPreserveNewlineBetweenTypeAndFunctionDeclarator() throws Exception {
assertFormatterResult();
}
+
+ //class 大大大大
+ //{
+ //public:
+ // 大大大大();
+ // virtual ~大大大大();
+ //};
+
+ //class 大大大大
+ //{
+ //public:
+ // 大大大大();
+ // virtual ~大大大大();
+ //};
+ public void testFormatGeneratedClass_Bug272006() throws Exception {
+ assertFormatterResult();
+ }
+
}

Back to the top