public
Description: Fleegix.js provides an extremely lightweight, cross-browser set of JavaScript tools for building dynamic Web-app UIs.
Homepage: http://js.fleegix.org
Clone URL: git://github.com/mde/fleegix-js-javascript-toolkit.git
commit  c3f3468fc6b198035bce0632458bf15bfc9cc3cb
tree    00859ada505979fb6cabc55f6f553c59f09b1866
parent  f7c2afcdd3d62944d3c7b60501135cb429d298ee
100644 16 lines (12 sloc) 0.399 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fleegixMain.test_fleegixCookie = new function () {
  this.test_setGet = function () {
    fleegix.cookie.set('fooCookie', 'foo');
    var val = fleegix.cookie.get('fooCookie');
    jum.assertEquals('foo', val);
  };
 
  this.test_setDestroy = function () {
    fleegix.cookie.set('fooCookie', 'foo');
    var val = fleegix.cookie.destroy('fooCookie');
    jum.assertEquals(undefined, val);
  };
};