<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuji_w6e</author_name>
  <author_url>https://blog.hatena.ne.jp/shuji_w6e/</author_url>
  <blog_title>やさしいデスマーチ</blog_title>
  <blog_url>https://shuji-w6e.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>gae</anon>
    <anon>slim3</anon>
  </categories>
  <description>slim3ではGAEの環境に依存するような単体テストもかなり簡単に行う事ができます。例えば、Bigtableへのアクセスはテストの実行毎にリセットされる、グローバルトランザクションに対応など至れりつくせりです。ところが、画像を加工してサムネイルを作る時などに使用する ImagesServiceですが、これを単体テストで実行しようとすると例外が発生します。内部的には、画像の作成や一部の軽い処理はImplで行っているようですが、拡大縮小などの変換処理は各アプリでやるのではなく、外部サービスとして呼び出しているようです。これらのテスト環境でのエミュレートは、org.slim3.tester.AppE…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuji-w6e.hatenadiary.org%2Fentry%2F20100510%2F1273494422&quot; title=&quot; 単体テストで ImagesService#applyTransform を使う方法 - やさしいデスマーチ&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>2010-05-10 21:27:02</published>
  <title> 単体テストで ImagesService#applyTransform を使う方法</title>
  <type>rich</type>
  <url>https://shuji-w6e.hatenadiary.org/entry/20100510/1273494422</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
