You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tx.executeSql('SELECT TYPEOF(data1) AS t1, TYPEOF(data2) AS t2, TYPEOF(data3) AS t3, TYPEOF(data4) AS t4, TYPEOF(data5) AS t5 FROM tt',[],function(ignored,rs3){
858
+
expect(rs3).toBeDefined();
859
+
expect(rs3.rows).toBeDefined();
860
+
expect(rs3.rows.length).toBe(1);
861
+
862
+
varresultRow3=rs3.rows.item(0);
863
+
expect(resultRow3.t1).toBe('text');
864
+
expect(resultRow3.t2).toBe('text');
865
+
expect(resultRow3.t3).toBe('real');
866
+
expect(resultRow3.t4).toBe('real');
867
+
expect(resultRow3.t5).toBe('real');
868
+
869
+
// Close (plugin only) & finish:
870
+
(isWebSql) ? done() : db.close(done,done);
871
+
});
872
+
873
+
});
874
+
});
875
+
});
876
+
},function(error){
877
+
// NOT EXPECTED:
878
+
expect(false).toBe(true);
879
+
expect(error.message).toBe('---');
880
+
// Close (plugin only) & finish:
881
+
(isWebSql) ? done() : db.close(done,done);
882
+
});
883
+
},MYTIMEOUT);
884
+
829
885
it(suiteName+"executeSql parameter as array",function(done){
0 commit comments