Beispiel #1
0
 void tearDown() {
   if(!d->closed_p(state)->true_p()) d->close(state);
   destroy();
 }
Beispiel #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);
 }
Beispiel #3
0
 void tearDown() {
   if(!d->closed_p(state)->true_p()) d->close(state);
   delete state;
 }