summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/optional/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/optional/AllTests.cpp')
-rw-r--r--cpp/test/Ice/optional/AllTests.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/cpp/test/Ice/optional/AllTests.cpp b/cpp/test/Ice/optional/AllTests.cpp
index 6a5fb48be57..6d97a4401b3 100644
--- a/cpp/test/Ice/optional/AllTests.cpp
+++ b/cpp/test/Ice/optional/AllTests.cpp
@@ -907,24 +907,24 @@ allTests(Test::TestHelper* helper, bool)
cout << "ok" << endl;
cout << "testing tag marshalling... " << flush;
- BPtr b = ICE_MAKE_SHARED(B);
- BPtr b2 = ICE_DYNAMIC_CAST(B, initial->pingPong(b));
- test(!b2->ma);
- test(!b2->mb);
- test(!b2->mc);
-
- b->ma = 10;
- b->mb = 11;
- b->mc = 12;
- b->md = 13;
-
- b2 = ICE_DYNAMIC_CAST(B, initial->pingPong(b));
- test(b2->ma == 10);
- test(b2->mb == 11);
- test(b2->mc == 12);
- test(b2->md == 13);
-
{
+ BPtr b = ICE_MAKE_SHARED(B);
+ BPtr b2 = ICE_DYNAMIC_CAST(B, initial->pingPong(b));
+ test(!b2->ma);
+ test(!b2->mb);
+ test(!b2->mc);
+
+ b->ma = 10;
+ b->mb = 11;
+ b->mc = 12;
+ b->md = 13;
+
+ b2 = ICE_DYNAMIC_CAST(B, initial->pingPong(b));
+ test(b2->ma == 10);
+ test(b2->mb == 11);
+ test(b2->mc == 12);
+ test(b2->md == 13);
+
factory->setEnabled(true);
Ice::OutputStream out(communicator);
out.startEncapsulation();