Skip to content

Commit

Permalink
Adding files from previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 28, 2010
1 parent db5c44e commit a857e45
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
31 changes: 31 additions & 0 deletions cake/tests/test_app/libs/session/test_app_lib_session.php
@@ -0,0 +1,31 @@
<?php
/**
* Test suite app/libs session handler
*
*/
class TestAppLibSession implements CakeSessionHandlerInterface {

public static function open() {
return true;
}

public static function close() {

}

public static function read($id) {

}

public static function write($id, $data) {

}

public static function destroy($id) {

}

public static function gc($expires = null) {

}
}
@@ -0,0 +1,30 @@
<?php
/**
* Test suite plugin session handler
*/
class TestPluginSession implements CakeSessionHandlerInterface {

public static function open() {
return true;
}

public static function close() {

}

public static function read($id) {

}

public static function write($id, $data) {

}

public static function destroy($id) {

}

public static function gc($expires = null) {

}
}

0 comments on commit a857e45

Please sign in to comment.