[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:46:54 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 30243ea67ef0e14235c54e631ef3d94d6b3f5454
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Sep 24 19:45:57 2001 +0000
Added more tests to qchar-test
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/kwq/tests/qt/qchar-test.cpp b/WebCore/kwq/tests/qt/qchar-test.cpp
index 402af63..68b0d38 100644
--- a/WebCore/kwq/tests/qt/qchar-test.cpp
+++ b/WebCore/kwq/tests/qt/qchar-test.cpp
@@ -6,9 +6,9 @@ int main() {
char c_char = 'a';
uchar c_uchar = 'b';
- ushort c_ushort = 'd';
+ ushort c_ushort = 'D';
short c_short = ' ';
- uint c_uint = 'f';
+ uint c_uint = '3';
int c_int = '-';
QChar q0 = QChar();
@@ -33,6 +33,18 @@ int main() {
cout << q7.isPunct() << endl;
cout << q6.isSpace() << endl;
cout << q5.isSpace() << endl;
+ cout << q0.isNull() << endl;
+ cout << q1.isNull() << endl;
+ cout << q7.isNumber() << endl;
+ cout << q8.isNumber() << endl;
+ cout << q3.isPrint() << endl;
+ cout << q5.lower() << endl;
+ cout << q1.upper() << endl;
+
+ cout << (q2 <= c_char) << endl;
+ cout << (q2 >= c_char) << endl;
+ cout << (q2 <= q1) << endl;
+ cout << (q2 >= q1) << endl;
return 0;
}
diff --git a/WebCore/src/kwq/tests/qt/qchar-test.cpp b/WebCore/src/kwq/tests/qt/qchar-test.cpp
index 402af63..68b0d38 100644
--- a/WebCore/src/kwq/tests/qt/qchar-test.cpp
+++ b/WebCore/src/kwq/tests/qt/qchar-test.cpp
@@ -6,9 +6,9 @@ int main() {
char c_char = 'a';
uchar c_uchar = 'b';
- ushort c_ushort = 'd';
+ ushort c_ushort = 'D';
short c_short = ' ';
- uint c_uint = 'f';
+ uint c_uint = '3';
int c_int = '-';
QChar q0 = QChar();
@@ -33,6 +33,18 @@ int main() {
cout << q7.isPunct() << endl;
cout << q6.isSpace() << endl;
cout << q5.isSpace() << endl;
+ cout << q0.isNull() << endl;
+ cout << q1.isNull() << endl;
+ cout << q7.isNumber() << endl;
+ cout << q8.isNumber() << endl;
+ cout << q3.isPrint() << endl;
+ cout << q5.lower() << endl;
+ cout << q1.upper() << endl;
+
+ cout << (q2 <= c_char) << endl;
+ cout << (q2 >= c_char) << endl;
+ cout << (q2 <= q1) << endl;
+ cout << (q2 >= q1) << endl;
return 0;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list