1<html xmlns="https://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 2<head profile="https://gmpg.org/xfn/11"> 3 4<title>DojoCampus » » May</title> 5<link href="/css/layout.css" rel="stylesheet" type="text/css"> 6<link href="/css/dojoc.css" rel="stylesheet" type="text/css"> 7<link href="/css/wp.css" rel="stylesheet" type="text/css">
8<script type="text/javascript" src="/dojotoolkit/dojo/dojo.js" djconfig="isDebug: false, parseOnLoad: true"></script>
8 9 10<!-- FIXME: lets move these to /js and /css --> 11 12 13 14<meta name="generator" content="WordPress 2.8.4"> <!-- leave this for stats --> 15<link rel="stylesheet" href="/content/wp-content/themes/dojoc/style.css" type="text/css" media="screen"> 16<link rel="alternate" type="application/rss+xml" title="DojoCampus RSS Feed" href="/index.html"> 17<link rel="pingback" href="https://dojocampus.org/content/xmlrpc.php"> 18<style type="text/css" media="screen"> 19 #page { background: url("../../../content/wp-content/themes/dojoc/images/kubrickbg-ltr.jpg") repeat-y top; border: none; } 20</style> 21
22<script type="text/javascript" src="/content/wp-includes/js/jquery/jquery.js"></script>
22 23<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://dojocampus.org/content/xmlrpc.php?rsd"> 24<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://dojocampus.org/content/wp-includes/wlwmanifest.xml"> 25<link rel="index" title="DojoCampus" href="https://dojocampus.org/content"> 26 27 <meta name="keywords" content="Dojo, dojo.beer(), Training, test fixture, Barcelona, doh, wavemaker, dojo.back, mobile2.0, unit testing, dojo changeurl"> 28</head> 29<body> 30<div id="container"> 31 <div id="menu-customer"> 32 </div> 33 <div id="logo"><a href="/index.html"><img src="/images/logo.png" alt="Dojocampus.com" width="280" height="35" border="0"></a></div> 34<div id="teaser"> 35 <div id="current-page"><a href="/index.html">Home</a> | <a href="/content/category/dojo-cookies.html">Dojo Cookies</a> </div> 36 <div id="teaser-b"></div> 37 </div> 38 <div id="content_dojoc"> 39<hr> 40 <div id="content" class="narrowcolumn"> 41 42 <div class="navigation"> 43 <div class="alignleft"></div> 44 <div class="alignright"></div> 45 </div> 46 <div class="post" id="post-207"> 47 <div class="dojoc-container dojoc-article-intro"> 48 <div class="dojoc-container-content"> 49 <div class="dojoc-container-top"></div> 50 <div class="dojoc-container-container"> 51 <div class="dojoc-article-intro-read"><a href="/content/2009/05/07/a-simple-doh-test-fixture.html" rel="bookmark" title="Permanent Link to A simple DOH test fixture"><img src="/images/course/icn-play.gif" width="29" height="29" border="0" align="absmiddle"> Read more</a></div> 52 <h4 class="dojoc-info-header"><a href="/content/2009/05/07/a-simple-doh-test-fixture.html" rel="bookmark" title="Permanent Link to A simple DOH test fixture">A simple DOH test fixture</a></h4> 53 <p></p><p>To make unit test writing a useful and painless exercise, you need efficiency and repeatability. In this cookie I’ll introduce a simple test fixture class for use with Dojo’s unit test harness (DOH) that will mean less typing for you, and get you thinking about how to structure and write useful unit tests for your javascript.<br> 54 <a href="/../../../content/2009/05/07/a-simple-doh-test-fixture.html#more-207" class="more-link">Read the rest of this entry »</a></p> 55 56 57 </div> 58 </div> 59 <div class="dojoc-container-bottom"><div></div></div> 60 </div> 61 </div> 62 <div class="navigation"> 63 <div class="alignleft"></div> 64 <div class="alignright"></div> 65 </div> 66 </div> 67 <div id="sidebar"> 68 <ul> 69 70 71 72 <li> 73 <div class="dojoc-info dojoc-articles-info"> 74 <div class="dojoc-info-content"> 75 <div class="dojoc-info-top"></div> 76 <h4 class="dojoc-info-header" style="padding-bottom: 10px;"> 77 Campus Tags</h4> 78 <div style="display: block; position: relative; clear: both; float: none;"> 79<!-- Generated by Simple Tags 1.6.6 - https://wordpress.org/extend/plugins/simple-tags --> 80 <div class="st-tag-cloud"> 81 82<a href="/content/tag/fun.html" id="tag-link-17" class="st-tags t3" rel="tag nofollow" style="font-size:17.11px; color:#404b40;">Fun</a> 83 84 85 86 87 88<a href="/content/tag/dojodeclare.html" id="tag-link-50" class="st-tags t8" rel="tag nofollow" style="font-size:29.89px; color:#608a60;">dojo.declare</a> 89<a href="/content/tag/widgets.html" id="tag-link-86" class="st-tags t5" rel="tag nofollow" style="font-size:22.22px; color:#4d644d;">Widgets</a> 90 91 92 93 94 95<a href="/content/tag/dojoconnect.html" id="tag-link-49" class="st-tags t3" rel="tag nofollow" style="font-size:17.11px; color:#404b40;">dojo.connect</a> 96 97 98<a href="/content/tag/dojodnd.html" id="tag-link-135" class="st-tags t4" rel="tag nofollow" style="font-size:19.67px; color:#465846;">dojo.dnd</a> 99 100 101 102<a href="/content/tag/templates.html" id="tag-link-89" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">templates</a> 103 104<a href="/content/tag/theming.html" id="tag-link-21" class="st-tags t3" rel="tag nofollow" style="font-size:17.11px; color:#404b40;">Theming</a> 105<a href="/content/tag/subclass.html" id="tag-link-37" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">subclass</a> 106 107 108 109 110 111 112 113 114 115 116<a href="/content/tag/tabs.html" id="tag-link-25" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">Tabs</a> 117 118 119<a href="/content/tag/dom.html" id="tag-link-40" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">DOM</a> 120 121<a href="/content/tag/dojomoduleurl.html" id="tag-link-155" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">dojo.moduleUrl</a> 122 123 124 125<a href="/content/tag/dojobyid.html" id="tag-link-110" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">dojo.byId()</a> 126 127 128 129 130 131 132 133<a href="/content/tag/dojodata.html" id="tag-link-85" class="st-tags t3" rel="tag nofollow" style="font-size:17.11px; color:#404b40;">dojo.data</a> 134 135 136 137 138 139 140<a href="/content/tag/dojoforeach.html" id="tag-link-29" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">
140dojo.forEach()</a> 141 142<a href="/content/tag/dnd.html" id="tag-link-32" class="st-tags t5" rel="tag nofollow" style="font-size:22.22px; color:#4d644d;">DnD</a> 143 144 145 146<a href="/content/tag/unobtrusive.html" id="tag-link-92" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">unobtrusive</a> 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162<a href="/content/tag/dojohitch.html" id="tag-link-60" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">dojo.hitch</a> 163<a href="/content/tag/dijit.html" id="tag-link-24" class="st-tags t10" rel="tag nofollow" style="font-size:35px; color:#6ea36e;">Dijit</a> 164 165 166 167<a href="/content/tag/css-dijit.html" id="tag-link-109" class="st-tags t1" rel="tag nofollow" style="font-size:12px; color:#333333;">css dijit</a> 168 169<a href="/content/tag/dojostyle.html" id="tag-link-141" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">dojo.style</a> 170 171 172 173<a href="/content/tag/style.html" id="tag-link-96" class="st-tags t2" rel="tag nofollow" style="font-size:14.56px; color:#393f39;">style</a> 174 175 176 177 178 179<a href="/content/tag/dojoquery.html" id="tag-link-34" class="st-tags t9" rel="tag nofollow" style="font-size:32.44px; color:#679667;">dojo.query</a> 180</div> 181 </div> 182 <p> </p> 183 </div> 184 <div class="dojoc-info-bottom"><div></div></div> 185 </div> 186 </li> 187 <li> 188 <div class="dojoc-info dojoc-articles-info"> 189 <div class="dojoc-info-content"> 190 <div class="dojoc-info-top"></div> 191 192 193 194 <h4>Browse</h4> 195 <ul> 196 197 198 199 200 201 202 203 204 <li><a href="/content/2008/11.html" title="November">November</a></li> 205 206 207 208 <li><a href="/content/2008/07.html" title="July">July</a></li> 209 <li><a href="/content/2008/06.html" title="June">June</a></li> 210 211 212 <li><a href="/content/2008/03.html" title="March">March</a></li> 213 <li><a href="/content/2008/02.html" title="February">February</a></li> 214 </ul> 215 <h4>Categories</h4> 216 <ul> 217 218 219 220 <li class="cat-item cat-item-16"><a href="/content/category/dojo-cookies.html" title="View all posts filed under Dojo Cookies">Dojo Cookies</a> 221</li> 222 223 224</li> 225 226 <li class="cat-item cat-item-5"><a href="/content/category/tutorials.html" title="View all posts filed under Tutorials">Tutorials</a> 227<ul class="children"> 228 229 <li class="cat-item cat-item-6"><a href="/content/category/tutorials/beginners-tutorials.html" title="View all posts filed under Beginners">Beginners</a> 230</li> 231 <li class="cat-item cat-item-123"><a href="/content/category/tutorials/intermediate.html" title="View all posts filed under Intermediate">Intermediate</a> 232</li> 233</ul> 234</li> 235 236 237 </ul> 238 </div> 239 <div class="dojoc-info-bottom"><div></div></div> 240 </div> 241 </li> 242 </ul> 243 </div> 244<hr> 245 </div> 246 247</div></body> 248</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.