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
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
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 Archive
Alchemy Viewer
Commits
6370ce54
Commit
6370ce54
authored
9 years ago
by
Browse files
Options
Downloads
Patches
Plain Diff
remove more bad tests from instancetracker tests
parent
3fd50983
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/tests/llinstancetracker_test.cpp
+1
-49
1 addition, 49 deletions
indra/llcommon/tests/llinstancetracker_test.cpp
with
1 addition
and
49 deletions
indra/llcommon/tests/llinstancetracker_test.cpp
+
1
−
49
View file @
6370ce54
...
@@ -190,55 +190,7 @@ namespace tut
...
@@ -190,55 +190,7 @@ namespace tut
}
}
template
<
>
template
<
>
template
<
>
template
<
>
void
object
::
test
<
6
>
()
void
object
::
test
<
5
>
()
{
#if defined(LL_CPP11)
skip
(
"Skip on c++11 for now. Exceptions in destructors are unsafe by default."
);
#endif
set_test_name
(
"delete Keyed with outstanding key_iter"
);
std
::
string
what
;
Keyed
*
keyed
=
new
Keyed
(
"delete Keyed with outstanding key_it"
);
{
WrapLLErrs
wrapper
;
Keyed
::
key_iter
i
(
Keyed
::
beginKeys
());
try
{
delete
keyed
;
}
catch
(
const
WrapLLErrs
::
FatalException
&
e
)
{
what
=
e
.
what
();
}
}
ensure
(
!
what
.
empty
());
}
template
<
>
template
<
>
void
object
::
test
<
7
>
()
{
#if defined(LL_CPP11)
skip
(
"Skip on c++11 for now. Exceptions in destructors are unsafe by default."
);
#endif
set_test_name
(
"delete Unkeyed with outstanding instance_iter"
);
std
::
string
what
;
Unkeyed
*
unkeyed
=
new
Unkeyed
;
{
WrapLLErrs
wrapper
;
Unkeyed
::
instance_iter
i
(
Unkeyed
::
beginInstances
());
try
{
delete
unkeyed
;
}
catch
(
const
WrapLLErrs
::
FatalException
&
e
)
{
what
=
e
.
what
();
}
}
ensure
(
!
what
.
empty
());
}
template
<
>
template
<
>
void
object
::
test
<
8
>
()
{
{
set_test_name
(
"exception in subclass ctor"
);
set_test_name
(
"exception in subclass ctor"
);
typedef
std
::
set
<
Unkeyed
*>
InstanceSet
;
typedef
std
::
set
<
Unkeyed
*>
InstanceSet
;
...
...
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