<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toshiyuki_saito</author_name>
  <author_url>https://blog.hatena.ne.jp/toshiyuki_saito/</author_url>
  <blog_title>個人事業主のつぶやき</blog_title>
  <blog_url>https://toshiyuki-saito.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>今回は、Testインターフェイスとその派生クラスについて見てみることにする。 クラス図で示したとおり、Testインターフェイスを実装しているクラスは2つある。 TestCaseクラスとTestSuiteクラスだ。 TestSuiteクラスはTestインターフェイスインスタンスをVector配列で持っている(オレンジの枠で囲ってある部分) これはつまり、「Compositeパターン」そのものだ。 Compositeパターンとは、容器と中身を同一視するパターンで、入れ子構造を表す時に非常に有効だ。 赤で囲ったaddtestメソッドでTestCaseクラスもしくはTestSuiteクラスをこのクラス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoshiyuki-saito.hatenadiary.org%2Fentry%2F20070305%2F1173103855&quot; title=&quot;JUnitでみるデザインパターン活用術 (2) - 個人事業主のつぶやき&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-03-05 23:10:55</published>
  <title>JUnitでみるデザインパターン活用術 (2)</title>
  <type>rich</type>
  <url>https://toshiyuki-saito.hatenadiary.org/entry/20070305/1173103855</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
