~webapps/webapps-applications/precise

« back to all changes in this revision

Viewing changes to tests/GoogleReader.js

  • Committer: Ken VanDine
  • Date: 2012-03-09 21:17:01 UTC
  • mfrom: (80.1.94 webapps-applications)
  • Revision ID: ken.vandine@canonical.com-20120309211701-ul021ujf7ppegwd2
Tags: 0.9.1-0precise1
releasing version 0.9.1-0precise1

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    },
28
28
 
29
29
    validateCallLog: function (log) {
30
 
        if (log[0].func !== "Unity.init") {
31
 
            return false;
32
 
        }
33
 
        if (log[0].args[0].name !== "\"Google Reader\"") {
34
 
            return false;
35
 
        }
36
 
        if (log[1].func !== "Unity.MessagingIndicator.showIndicator") {
37
 
            return false;
38
 
        }
39
 
        if (log[2].func !== "Unity.addAction") {
 
30
        if (log[1].func !== "Unity.init") {
 
31
            return false;
 
32
        }
 
33
        if (log[1].args[0].name !== "\"Google Reader\"") {
 
34
            return false;
 
35
        }
 
36
        if (log[2].func !== "Unity.MessagingIndicator.showIndicator") {
 
37
            return false;
 
38
        }
 
39
        if (log[3].func !== "Unity.addAction") {
40
40
            return false;
41
41
        }
42
42
        if (log.length < 10) {