示例#1
0
TEST(AWorkObject, DefaultsFunctionToNullObject) {
   Work work;
   try {
      work.execute();
   }
   catch(...) {
      FAIL("unable to execute function");
   }
}
示例#2
0
 virtual void add(Work work) override { work.execute(); }