195 pdfsam Foundations Of Ajax (2005)

172 CHAPTER 6 ■ TESTING JAVASCRIPT WITH JSUNIT function tearDown() { document.getElementById("value1").value = ""; doc...

0 downloads 87 Views 520KB Size
172

CHAPTER 6 ■ TESTING JAVASCRIPT WITH JSUNIT

function tearDown() { document.getElementById("value1").value = ""; document.getElementById("value2").value = ""; }
As you might expect, the results are pretty typical (see Figure 6-6).

Figure 6-6. Running the setUp()/tearDown() example