20 #include "ns3/object.h"
21 #include "ns3/boolean.h"
22 #include "ns3/integer.h"
23 #include "ns3/uinteger.h"
24 #include "ns3/config.h"
26 #include "ns3/string.h"
27 #include "ns3/random-variable-stream.h"
28 #include "ns3/double.h"
29 #include "ns3/object-vector.h"
30 #include "ns3/object-map.h"
31 #include "ns3/traced-value.h"
32 #include "ns3/callback.h"
33 #include "ns3/trace-source-accessor.h"
34 #include "ns3/pointer.h"
35 #include "ns3/object-factory.h"
36 #include "ns3/nstime.h"
105 .SetParent<Object> ()
106 .HideFromDocumentation ()
107 .AddAttribute (
"TestBoolName",
"help text",
111 .AddAttribute (
"TestBoolA",
"help text",
116 .AddAttribute (
"TestInt16",
"help text",
119 MakeIntegerChecker<int16_t> ())
120 .AddAttribute (
"TestInt16WithBounds",
"help text",
123 MakeIntegerChecker<int16_t> (-5, 10))
124 .AddAttribute (
"TestInt16SetGet",
"help text",
128 MakeIntegerChecker<int16_t> ())
129 .AddAttribute (
"TestUint8",
"help text",
132 MakeUintegerChecker<uint8_t> ())
133 .AddAttribute (
"TestEnum",
"help text",
139 .AddAttribute (
"TestRandom",
"help text",
140 StringValue (
"ns3::ConstantRandomVariable[Constant=1.0]"),
142 MakePointerChecker <RandomVariableStream>())
143 .AddAttribute (
"TestFloat",
"help text",
146 MakeDoubleChecker<float> ())
147 .AddAttribute (
"TestVector1",
"help text",
150 MakeObjectVectorChecker<Derived> ())
151 .AddAttribute (
"TestVector2",
"help text",
155 MakeObjectVectorChecker<Derived> ())
156 .AddAttribute (
"TestMap1",
"help text",
159 MakeObjectMapChecker<Derived> ())
160 .AddAttribute (
"IntegerTraceSource1",
"help text",
163 MakeIntegerChecker<int8_t> ())
164 .AddAttribute (
"IntegerTraceSource2",
"help text",
168 MakeIntegerChecker<int8_t> ())
169 .AddAttribute (
"UIntegerTraceSource",
"help text",
172 MakeIntegerChecker<uint8_t> ())
173 .AddAttribute (
"DoubleTraceSource",
"help text",
176 MakeDoubleChecker<double> ())
177 .AddAttribute (
"BoolTraceSource",
"help text",
181 .AddAttribute (
"EnumTraceSource",
"help text",
185 .AddAttribute (
"ValueClassSource",
"help text",
189 .AddTraceSource (
"Source1",
"help test",
191 "ns3::TracedValue::Int8Callback")
192 .AddTraceSource (
"Source2",
"help text",
194 "ns3::AttributeObjectTest::NumericTracedCallback")
195 .AddTraceSource (
"ValueSource",
"help text",
197 "ns3::ValueClassTest::TracedValueCallback")
198 .AddAttribute (
"Pointer",
"help text",
201 MakePointerChecker<Derived> ())
202 .AddAttribute (
"PointerInitialized",
"help text",
205 MakePointerChecker<Derived> ())
206 .AddAttribute (
"PointerInitialized2",
"help text",
209 MakePointerChecker<Derived> ())
210 .AddAttribute (
"Callback",
"help text",
214 .AddAttribute (
"TestTimeWithBounds",
"help text",
235 void AddToVector1 (
void) { m_vector1.push_back (CreateObject<Derived> ()); }
236 void AddToVector2 (
void) { m_vector2.push_back (CreateObject<Derived> ()); }
240 void InvokeCb (
double a,
int b,
float c) { m_cb (a,b,c); }
244 if (!m_cbValue.IsNull ()) {
270 std::map <uint32_t, Ptr<Derived> >
m_map1;
275 typedef void (* NumericTracedCallback) (
const double,
const int,
const float);
294 template <
typename T>
302 virtual void DoRun (
void);
304 bool CheckGetCodePaths (
Ptr<Object> p, std::string attributeName, std::string expectedString, T expectedValue);
307 template <
typename T>
313 template <
typename T>
318 template <
typename T>
bool
321 std::string attributeName,
322 std::string expectedString,
332 bool ok2 = stringValue.
Get () == expectedString;
338 bool ok4 = expectedValue.Get () == actualValue.Get ();
340 return ok1 && ok2 && ok3 && ok4;
352 p = CreateObject<AttributeObjectTest> ();
360 p = CreateObject<AttributeObjectTest> ();
363 ok = CheckGetCodePaths (p,
"TestBoolName",
"true",
BooleanValue (
true));
372 p = CreateObject<AttributeObjectTest> ();
375 ok = CheckGetCodePaths (p,
"TestBoolName",
"false",
BooleanValue (
false));
384 ok = CheckGetCodePaths (p,
"TestBoolName",
"true",
BooleanValue (
true));
385 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
393 ok = CheckGetCodePaths (p,
"TestBoolName",
"false",
BooleanValue (
false));
394 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
399 p = CreateObject<AttributeObjectTest> ();
411 ok = CheckGetCodePaths (p,
"TestBoolA",
"true",
BooleanValue (
true));
412 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (getter/setter) via StringValue");
420 ok = CheckGetCodePaths (p,
"TestBoolA",
"false",
BooleanValue (
false));
421 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (getter/setter) via StringValue");
430 p = CreateObject<AttributeObjectTest> ();
437 ok = CheckGetCodePaths (p,
"TestInt16",
"-2",
IntegerValue (-2));
446 ok = CheckGetCodePaths (p,
"TestInt16",
"-5",
IntegerValue (-5));
447 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
455 ok = CheckGetCodePaths (p,
"TestInt16",
"2",
IntegerValue (2));
456 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
464 ok = CheckGetCodePaths (p,
"TestInt16",
"-32768",
IntegerValue (-32768));
465 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (most negative) via StringValue");
472 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via StringValue to -32769");
474 ok = CheckGetCodePaths (p,
"TestInt16",
"-32768",
IntegerValue (-32768));
483 ok = CheckGetCodePaths (p,
"TestInt16",
"32767",
IntegerValue (32767));
484 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (most positive) via StringValue");
491 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via StringValue to 32768");
493 ok = CheckGetCodePaths (p,
"TestInt16",
"32767",
IntegerValue (32767));
503 ok = CheckGetCodePaths (p,
"TestInt16WithBounds",
"10",
IntegerValue (10));
504 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (positive limit) via StringValue");
510 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to 11");
512 ok = CheckGetCodePaths (p,
"TestInt16WithBounds",
"10",
IntegerValue (10));
521 ok = CheckGetCodePaths (p,
"TestInt16WithBounds",
"-5",
IntegerValue (-5));
522 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (negative limit) via StringValue");
528 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to -6");
530 ok = CheckGetCodePaths (p,
"TestInt16WithBounds",
"-5",
IntegerValue (-5));
540 p = CreateObject<AttributeObjectTest> ();
547 ok = CheckGetCodePaths (p,
"TestUint8",
"1",
UintegerValue (1));
556 ok = CheckGetCodePaths (p,
"TestUint8",
"0",
UintegerValue (0));
557 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
565 ok = CheckGetCodePaths (p,
"TestUint8",
"255",
UintegerValue (255));
566 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (positive limit) via UintegerValue");
575 ok = CheckGetCodePaths (p,
"TestUint8",
"255",
UintegerValue (255));
585 ok = CheckGetCodePaths (p,
"TestUint8",
"255",
UintegerValue (255));
586 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
593 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via StringValue to 256");
595 ok = CheckGetCodePaths (p,
"TestUint8",
"255",
UintegerValue (255));
602 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via StringValue to -1");
611 p = CreateObject<AttributeObjectTest> ();
618 ok = CheckGetCodePaths (p,
"TestFloat",
"-1.1",
DoubleValue ((
float)-1.1));
627 ok = CheckGetCodePaths (p,
"TestFloat",
"2.3",
DoubleValue ((
float)2.3));
628 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via DoubleValue");
637 p = CreateObject<AttributeObjectTest> ();
654 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via EnumValue");
663 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() via StringValue");
692 p = CreateObject<AttributeObjectTest> ();
701 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"+5000000000.0ns",
TimeValue (
Seconds (5)));
702 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (5s) via TimeValue");
707 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"+3000000000.0ns",
TimeValue (
Seconds (3)));
708 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (3s) via StringValue");
722 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"+10000000000.0ns",
TimeValue (
Seconds (10)));
723 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (positive limit) via StringValue");
731 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"+10000000000.0ns",
TimeValue (
Seconds (10)));
740 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"-5000000000.0ns",
TimeValue (
Seconds (-5)));
741 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Attribute not set properly by SetAttributeFailSafe() (negative limit) via StringValue");
749 ok = CheckGetCodePaths (p,
"TestTimeWithBounds",
"-5000000000.0ns",
TimeValue (
Seconds (-5)));
770 virtual void DoRun (
void);
790 p = CreateObject<AttributeObjectTest> ();
821 virtual void DoRun (
void);
835 p = CreateObject<AttributeObjectTest> ();
886 virtual void DoRun (
void);
900 p = CreateObject<AttributeObjectTest> ();
952 virtual void DoRun (
void);
967 p = CreateObject<AttributeObjectTest> ();
993 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to 128");
999 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to -129");
1024 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to 128");
1030 NS_TEST_ASSERT_MSG_EQ (ok,
false,
"Unexpectedly could SetAttributeFailSafe() via IntegerValue to -129");
1044 virtual void DoRun (
void);
1061 p = CreateObject<AttributeObjectTest> ();
1080 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Could not TraceConnectWithoutContext() \"Source1\" to NodifySource1()");
1097 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Could not TraceConnectWithoutContext() \"Source1\" to NodifySource1()");
1116 virtual void DoRun (
void);
1134 p = CreateObject<AttributeObjectTest> ();
1190 virtual void DoRun (
void);
1208 p = CreateObject<AttributeObjectTest> ();
1219 NS_TEST_ASSERT_MSG_EQ (derived, 0,
"Unexpectedly found non-null pointer in newly initialized PointerValue Attribute");
1225 derived = Create<Derived> ();
1227 NS_TEST_ASSERT_MSG_EQ (ok,
true,
"Could not SetAttributeFailSafe() a PointerValue of the correct type");
1245 NS_TEST_ASSERT_MSG_EQ (storedBase, stored,
"Retreived Ptr<Object> does not match stored Ptr<Derived>");
1253 NS_TEST_ASSERT_MSG_EQ (x, 0,
"Unexpectedly retreived unrelated Ptr<type> from stored Ptr<Derived>");
1263 p2->GetAttribute (
"PointerInitialized", ptr2);
1265 NS_TEST_ASSERT_MSG_NE (storedPtr, storedPtr2,
"ptr and ptr2 both have PointerInitialized pointing to the same object");
1267 p2->GetAttribute (
"PointerInitialized", ptr3);
1269 NS_TEST_ASSERT_MSG_NE (storedPtr, storedPtr3,
"ptr and ptr3 both have PointerInitialized pointing to the same object");
1275 factory.
SetTypeId (
"ns3::AttributeObjectTest");
1276 factory.
Set (
"PointerInitialized",
StringValue (
"ns3::Derived"));
1288 NS_TEST_ASSERT_MSG_NE (storedPtr4, storedPtr5,
"aotPtr and aotPtr2 are unique, but their Derived member is not");
1308 virtual void DoRun (
void);
1328 p = CreateObject<AttributeObjectTest> ();
void InvokeCbValue(int8_t a)
int16_t m_int16WithBounds
TracedValue< enum Test_e > m_enumSrc
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
Simulation virtual time values and global simulation resolution.
virtual ~RandomVariableStreamAttributeTestCase()
std::string Get(void) const
Ptr< Derived > m_ptrInitialized2
Ptr< const AttributeAccessor > MakeValueClassTestAccessor(T1 a1)
TypeId AddConstructor(void)
AttributeValue implementation for Boolean.
TracedValue< uint8_t > m_uintSrc
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
bool CheckGetCodePaths(Ptr< Object > p, std::string attributeName, std::string expectedString, T expectedValue)
virtual ~AttributeObjectTest(void)
Ptr< Derived > m_ptrInitialized
Hold variables of type string.
Ptr< Derived > DoGetVector(uint32_t i) const
virtual void DoRun(void)
Implementation to actually run this TestCase.
void NotifySource2(double a, int b, float c)
#define ATTRIBUTE_HELPER_CPP(type)
Define the attribute value, accessor and checkers for class type.
virtual void DoRun(void)
Implementation to actually run this TestCase.
Ptr< const AttributeAccessor > MakeEnumAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
Ptr< const AttributeAccessor > MakeBooleanAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
std::vector< Ptr< Derived > > m_vector2
bool IsNull(void) const
Check for null implementation.
Ptr< const AttributeAccessor > MakeObjectVectorAccessor(U T::*memberVariable)
MakeAccessorHelper implementation for ObjectVector.
Hold a signed integer type.
void SetTypeId(TypeId tid)
Set the TypeId of the Objects to be created by this factory.
bool SetAttributeFailSafe(std::string name, const AttributeValue &value)
Set a single attribute without raising errors.
bool DoGetTestB(void) const
Callback< void, int8_t > m_cbValue
ObjectMapAttributeTestCase(std::string description)
RandomVariableStreamAttributeTestCase(std::string description)
std::map< uint32_t, Ptr< Derived > > m_map1
bool GetAttributeFailSafe(std::string name, AttributeValue &value) const
Get the value of an attribute without raising erros.
IntegerTraceSourceAttributeTestCase(std::string description)
void NotifyCallbackValue(int8_t a)
virtual ~CallbackValueTestCase()
AttributeValue implementation for Callback.
Ptr< const TraceSourceAccessor > MakeTraceSourceAccessor(T a)
Create a TraceSourceAccessor which will control access to the underlying trace source.
Ptr< const AttributeChecker > MakeTimeChecker(const Time min, const Time max)
Helper to make a Time checker with bounded range.
Ptr< const AttributeAccessor > MakeIntegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
bool SetDefaultFailSafe(std::string fullName, const AttributeValue &value)
virtual void DoRun(void)
Implementation to actually run this TestCase.
std::vector< Ptr< Derived > > m_vector1
AttributeValue implementation for ValueClassTest.
Ptr< Object > Get(uint32_t i) const
Get a specific Object.
TracedCallbackTestCase(std::string description)
Ptr< const AttributeAccessor > MakePointerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
Hold variables of type enum.
TracedValue< int8_t > m_intSrc2
void AddTestCase(TestCase *testCase, enum TestDuration duration)
Add an individual child TestCase to this test suite.
AttributeValue implementation for Time.
Ptr< Object > Create(void) const
Create an Object instance of the configured TypeId.
int16_t DoGetInt16(void) const
Hold an unsigned integer type.
void NotifySource2(double a, int b, float c)
virtual void DoRun(void)
Implementation to actually run this TestCase.
#define NS_TEST_ASSERT_MSG_EQ(actual, limit, msg)
Test that an actual and expected (limit) value are equal and report and abort if not.
IntegerTraceSourceTestCase(std::string description)
Ptr< const AttributeAccessor > MakeCallbackAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
virtual void DoRun(void)
Implementation to actually run this TestCase.
void NotifySource1(int8_t old, int8_t n)
bool TraceDisconnectWithoutContext(std::string name, const CallbackBase &cb)
Disconnect from a TraceSource a Callback previously connected without a context.
Callback< R > MakeCallback(R(T::*memPtr)(void), OBJ objPtr)
TracedValue< int8_t > m_intSrc1
virtual ~PointerAttributeTestCase()
void AddToMap1(uint32_t i)
TracedCallback< double, int, float > m_cb
void DoSetInt16(int16_t v)
AttributeObjectTest(void)
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
bool TraceConnectWithoutContext(std::string name, const CallbackBase &cb)
Connect a TraceSource to a Callback without a context.
TracedValue< ValueClassTest > m_valueSrc
void SetDefault(std::string name, const AttributeValue &value)
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Callback< void, int8_t > m_cbValue
Hold objects of type Ptr.
Ptr< const AttributeChecker > MakeBooleanChecker(void)
virtual ~AttributeTestCase()
ObjectVectorAttributeTestCase(std::string description)
virtual void DoRun(void)
Implementation to actually run this TestCase.
void Set(std::string name, const AttributeValue &value)
Set an attribute to be set during construction.
Ptr< const AttributeAccessor > MakeTimeAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
virtual ~ObjectMapAttributeTestCase()
void GetAttribute(std::string name, AttributeValue &value) const
Get the value of an attribute, raising fatal errors if unsuccessful.
static AttributesTestSuite attributesTestSuite
Ptr< const AttributeChecker > MakeCallbackChecker(void)
void InvokeCb(double a, int b, float c)
int8_t DoGetIntSrc(void) const
TracedValue< double > m_doubleSrc
Ptr< const AttributeAccessor > MakeDoubleAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
Ptr< const AttributeChecker > MakeEnumChecker(int v1, std::string n1, int v2, std::string n2, int v3, std::string n3, int v4, std::string n4, int v5, std::string n5, int v6, std::string n6, int v7, std::string n7, int v8, std::string n8, int v9, std::string n9, int v10, std::string n10, int v11, std::string n11, int v12, std::string n12, int v13, std::string n13, int v14, std::string n14, int v15, std::string n15, int v16, std::string n16, int v17, std::string n17, int v18, std::string n18, int v19, std::string n19, int v20, std::string n20, int v21, std::string n21, int v22, std::string n22)
Make an EnumChecker pre-configured with a set of allowed values by name.
Instantiate subclasses of ns3::Object.
AttributeTestCase(std::string description)
virtual void DoRun(void)
Implementation to actually run this TestCase.
static TypeId GetTypeId(void)
uint32_t DoGetVectorN(void) const
#define NS_TEST_ASSERT_MSG_NE(actual, limit, msg)
Test that an actual and expected (limit) value are not equal and report and abort if not...
bool DoSetIntSrc(int8_t v)
Time Seconds(double value)
Construct a Time in the indicated unit.
void NotifyCallbackValue(int8_t a)
virtual ~ObjectVectorAttributeTestCase()
virtual ~TracedCallbackTestCase()
static TypeId GetTypeId(void)
Ptr< const AttributeAccessor > MakeObjectMapAccessor(U T::*memberVariable)
MakeAccessorHelper implementation for ObjectVector.
Ptr< RandomVariableStream > m_random
Test class for TracedValue callbacks.
uint32_t GetN(void) const
Get the number of Objects.
A base class which provides memory management and object aggregation.
void InvokeCbValue(int8_t a)
Container for a set of ns3::Object pointers.
TracedValue< bool > m_boolSrc
PointerAttributeTestCase(std::string description)
This class can be used to hold variables of floating point type such as 'double' or 'float'...
Ptr< T > GetObject(void) const
Get a pointer to the requested aggregated Object.
Ptr< const AttributeAccessor > MakeUintegerAccessor(T1 a1)
Create an AttributeAccessor for a class data member, or a lone class get functor or set method...
a unique identifier for an interface.
Ptr< const AttributeChecker > MakeValueClassTestChecker(void)
CallbackValueTestCase(std::string description)
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type.
virtual ~IntegerTraceSourceAttributeTestCase()
virtual ~IntegerTraceSourceTestCase()
Callback< void, int8_t > m_cbValue
virtual void DoRun(void)
Implementation to actually run this TestCase.
void InvokeCbValue(int8_t a)
virtual void DoRun(void)
Implementation to actually run this TestCase.