Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
09562e9e
Commit
09562e9e
authored
14 years ago
by
Andrew A. de Laix
Browse files
Options
Downloads
Plain Diff
merge max fixes from merov.
parents
f6fd4ad2
ae1435e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/cmake/JsonCpp.cmake
+1
-1
1 addition, 1 deletion
indra/cmake/JsonCpp.cmake
indra/llcommon/tests/llerror_test.cpp
+8
-8
8 additions, 8 deletions
indra/llcommon/tests/llerror_test.cpp
with
9 additions
and
9 deletions
indra/cmake/JsonCpp.cmake
+
1
−
1
View file @
09562e9e
...
...
@@ -14,7 +14,7 @@ else (STANDALONE)
debug json_vc100debug_libmt.lib
optimized json_vc100_libmt
)
elseif
(
DARWIN
)
set
(
JSONCPP_LIBRARIES libjson_linux-gcc-4.0.1_libmt
)
set
(
JSONCPP_LIBRARIES libjson_linux-gcc-4.0.1_libmt
.a
)
elseif
(
LINUX
)
set
(
JSONCPP_LIBRARIES libjson_linux-gcc-4.3.2_libmt
)
endif
(
WINDOWS
)
...
...
This diff is collapsed.
Click to expand it.
indra/llcommon/tests/llerror_test.cpp
+
8
−
8
View file @
09562e9e
...
...
@@ -48,7 +48,10 @@ namespace
{
static
bool
fatalWasCalled
;
void
fatalCall
(
const
std
::
string
&
)
{
fatalWasCalled
=
true
;
}
}
namespace
tut
{
class
TestRecorder
:
public
LLError
::
Recorder
{
public:
...
...
@@ -56,7 +59,7 @@ namespace
~
TestRecorder
()
{
LLError
::
removeRecorder
(
this
);
}
void
recordMessage
(
LLError
::
ELevel
level
,
const
std
::
string
&
message
)
const
std
::
string
&
message
)
{
mMessages
.
push_back
(
message
);
}
...
...
@@ -66,12 +69,12 @@ namespace
void
setWantsTime
(
bool
t
)
{
mWantsTime
=
t
;
}
bool
wantsTime
()
{
return
mWantsTime
;
}
std
::
string
message
(
int
n
)
{
std
::
ostringstream
test_name
;
test_name
<<
"testing message "
<<
n
<<
", not enough messages"
;
tut
::
ensure
(
test_name
.
str
(),
n
<
countMessages
());
return
mMessages
[
n
];
}
...
...
@@ -82,10 +85,7 @@ namespace
bool
mWantsTime
;
};
}
namespace
tut
{
struct
ErrorTestData
{
TestRecorder
mRecorder
;
...
...
@@ -381,7 +381,7 @@ namespace
}
typedef
std
::
string
(
*
LogFromFunction
)(
bool
);
void
testLogName
(
TestRecorder
&
recorder
,
LogFromFunction
f
,
void
testLogName
(
tut
::
TestRecorder
&
recorder
,
LogFromFunction
f
,
const
std
::
string
&
class_name
=
""
)
{
recorder
.
clearMessages
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment