Пример #1
0
 void tearDown() {
   if(!d->closed_p(state)->true_p()) d->close(state);
   destroy();
 }
Пример #2
0
 void test_closed_p() {
   TS_ASSERT_EQUALS(d->closed_p(state), Qtrue);
   String* path = String::create(state, ".");
   d->open(state, path);
   TS_ASSERT_EQUALS(d->closed_p(state), Qfalse);
 }
Пример #3
0
 void tearDown() {
   if(!d->closed_p(state)->true_p()) d->close(state);
   delete state;
 }