0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitWatch > tearDown()

Last updated at Posted at 2015-06-27

+- (void)tearDown;
+{
+    [super tearDown];
+    
+    for (VALValet *additionalValet in self.additionalValets) {
+        [additionalValet removeAllObjects];
+    }
+}
+

tearDown()はCode Completeだかで見た気がする。 setupしたリソースを最終的に解放する時に呼ばれていたと思う。

Tear down - refers to the process of freeing resources after they're no longer required.
...
Tear down -> means destroy objects! It's fundamentally related to Unit Testing frameworks... they have a tearDown() method into which is possible to release/destroy object used for the test

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?