projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement wxGraphicsContext::GetSize() for Cairo.
[wxWidgets.git]
/
tests
/
longlong
/
longlongtest.cpp
diff --git
a/tests/longlong/longlongtest.cpp
b/tests/longlong/longlongtest.cpp
index a9142a6fb5dba21cd896c7ea448ed7dc8c9929ff..f7790a1658bd69d2fa9582408f7559d0134835f5 100644
(file)
--- a/
tests/longlong/longlongtest.cpp
+++ b/
tests/longlong/longlongtest.cpp
@@
-281,7
+281,7
@@
void LongLongTestCase::ToString()
for ( size_t n = 0; n < WXSIZEOF(testLongs); n++ )
{
wxLongLong a = testLongs[n];
for ( size_t n = 0; n < WXSIZEOF(testLongs); n++ )
{
wxLongLong a = testLongs[n];
- s1 = wxString::Format(
_
T("%ld"), testLongs[n]);
+ s1 = wxString::Format(
wx
T("%ld"), testLongs[n]);
s2 = a.ToString();
CPPUNIT_ASSERT( s1 == s2 );
s2 = a.ToString();
CPPUNIT_ASSERT( s1 == s2 );
@@
-303,25
+303,25
@@
void LongLongTestCase::ToString()
}
wxLongLong a(0x12345678, 0x87654321);
}
wxLongLong a(0x12345678, 0x87654321);
- CPPUNIT_ASSERT( a.ToString() ==
_
T("1311768467139281697") );
+ CPPUNIT_ASSERT( a.ToString() ==
wx
T("1311768467139281697") );
a.Negate();
a.Negate();
- CPPUNIT_ASSERT( a.ToString() ==
_
T("-1311768467139281697") );
+ CPPUNIT_ASSERT( a.ToString() ==
wx
T("-1311768467139281697") );
wxLongLong llMin(-2147483647L - 1L, 0);
wxLongLong llMin(-2147483647L - 1L, 0);
- CPPUNIT_ASSERT( llMin.ToString() ==
_
T("-9223372036854775808") );
+ CPPUNIT_ASSERT( llMin.ToString() ==
wx
T("-9223372036854775808") );
#if wxUSE_LONGLONG_WX
wxLongLongWx a1(a.GetHi(), a.GetLo());
#if wxUSE_LONGLONG_WX
wxLongLongWx a1(a.GetHi(), a.GetLo());
- CPPUNIT_ASSERT( a1.ToString() ==
_
T("-1311768467139281697") );
+ CPPUNIT_ASSERT( a1.ToString() ==
wx
T("-1311768467139281697") );
a1.Negate();
a1.Negate();
- CPPUNIT_ASSERT( a1.ToString() ==
_
T("1311768467139281697") );
+ CPPUNIT_ASSERT( a1.ToString() ==
wx
T("1311768467139281697") );
#endif
#if wxUSE_LONGLONG_NATIVE
wxLongLongNative a2(a.GetHi(), a.GetLo());
#endif
#if wxUSE_LONGLONG_NATIVE
wxLongLongNative a2(a.GetHi(), a.GetLo());
- CPPUNIT_ASSERT( a2.ToString() ==
_
T("-1311768467139281697") );
+ CPPUNIT_ASSERT( a2.ToString() ==
wx
T("-1311768467139281697") );
a2.Negate();
a2.Negate();
- CPPUNIT_ASSERT( a2.ToString() ==
_
T("1311768467139281697") );
+ CPPUNIT_ASSERT( a2.ToString() ==
wx
T("1311768467139281697") );
#endif
}
#endif
}