Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
236cd7f5
Commit
236cd7f5
authored
Jul 18, 2016
by
Aleksey Konovalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved wchar tests
parent
f3b6b315
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
test-suite/handwritten-src/cpp/wchar_test_helpers.cpp
test-suite/handwritten-src/cpp/wchar_test_helpers.cpp
+2
-2
test-suite/handwritten-src/java/com/dropbox/djinni/test/WcharTest.java
...ndwritten-src/java/com/dropbox/djinni/test/WcharTest.java
+2
-2
test-suite/handwritten-src/objc/tests/DBWcharTests.m
test-suite/handwritten-src/objc/tests/DBWcharTests.m
+2
-2
No files found.
test-suite/handwritten-src/cpp/wchar_test_helpers.cpp
View file @
236cd7f5
...
...
@@ -3,8 +3,8 @@
namespace
testsuite
{
static
const
std
::
wstring
str1
=
L"some string with unicode \u263
a symbol
"
;
static
const
std
::
wstring
str2
=
L"another string with unicode \u263
b symbol
"
;
static
const
std
::
wstring
str1
=
L"some string with unicode \u263
A, \U0001F4A9 symbols
"
;
static
const
std
::
wstring
str2
=
L"another string with unicode \u263
B, \U0001F4A8 symbols
"
;
WcharTestRec
WcharTestHelpers
::
get_record
()
{
...
...
test-suite/handwritten-src/java/com/dropbox/djinni/test/WcharTest.java
View file @
236cd7f5
...
...
@@ -4,8 +4,8 @@ import junit.framework.TestCase;
public
class
WcharTest
extends
TestCase
{
private
static
final
String
STR1
=
"some string with unicode \u263
a symbol
"
;
private
static
final
String
STR2
=
"another string with unicode \u263
b symbol
"
;
private
static
final
String
STR1
=
"some string with unicode \u263
A, \uD83D\uDCA9 symbols
"
;
private
static
final
String
STR2
=
"another string with unicode \u263
B, \uD83D\uDCA8 symbols
"
;
public
void
test
()
{
assertEquals
(
WcharTestHelpers
.
getRecord
().
getS
(),
STR1
);
...
...
test-suite/handwritten-src/objc/tests/DBWcharTests.m
View file @
236cd7f5
...
...
@@ -21,8 +21,8 @@
-
(
void
)
test
{
NSString
*
str1
=
@"some string with unicode \u263
a symbol
"
;
NSString
*
str2
=
@"another string with unicode \u263
b symbol
"
;
NSString
*
str1
=
@"some string with unicode \u263
A, \U0001F4A9 symbols
"
;
NSString
*
str2
=
@"another string with unicode \u263
B, \U0001F4A8 symbols
"
;
XCTAssertEqualObjects
([[
DBWcharTestHelpers
getRecord
]
s
],
str1
);
XCTAssertEqualObjects
([
DBWcharTestHelpers
getString
],
str2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment