示例#1
0
void
AuthorizerManager::turnOff(
	OperationContext& context)
{
	context.setStringData(DISABLED_KEY, "1");

}
void OperationContextTestCases::testStringData()
{
	OperationContext context;
	context.setStringData("key", "value");
	String val;
	unitAssertNoThrow(val = context.getStringData("key"));
	unitAssert(val == "value");
}