diff --git a/library/persistence/store_mysql_fake/src/cms_storage_store_mysql.e b/library/persistence/store_mysql_fake/src/cms_storage_store_mysql.e new file mode 100644 index 0000000..73fde13 --- /dev/null +++ b/library/persistence/store_mysql_fake/src/cms_storage_store_mysql.e @@ -0,0 +1,22 @@ +note + description: "Summary description for {CMS_STORAGE_STORE_MYSQL}." + date: "$Date$" + revision: "$Revision$" + +class + CMS_STORAGE_STORE_MYSQL + +inherit + CMS_STORAGE_NULL + +create + make + +feature + + make + do + default_create + end + +end -- class CMS_STORAGE_STORE_MYSQL diff --git a/library/persistence/store_mysql_fake/src/cms_storage_store_mysql_builder.e b/library/persistence/store_mysql_fake/src/cms_storage_store_mysql_builder.e new file mode 100644 index 0000000..b39a23b --- /dev/null +++ b/library/persistence/store_mysql_fake/src/cms_storage_store_mysql_builder.e @@ -0,0 +1,36 @@ +note + description: "[ + Interface responsible to instantiate CMS_STORAGE_STORE_MYSQL object. + ]" + author: "$Author$" + date: "$Date$" + revision: "$Revision$" + +class + CMS_STORAGE_STORE_MYSQL_BUILDER + +inherit + CMS_STORAGE_NULL_BUILDER + redefine + storage + end + +create + make + +feature {NONE} + + make + do + end + +feature + + storage (a_setup: CMS_SETUP; a_error_handler: ERROR_HANDLER): detachable CMS_STORAGE_NULL + -- CMS Storage object based on CMS setup `a_setup`. + do + a_error_handler.add_custom_error (0, "Could not connect to the MySQL storage", Void) + end + +end -- class CMS_STORAGE_STORE_MYSQL_BUILDER + diff --git a/library/persistence/store_mysql_fake/store_mysql-safe.ecf b/library/persistence/store_mysql_fake/store_mysql-safe.ecf new file mode 100644 index 0000000..39d3d01 --- /dev/null +++ b/library/persistence/store_mysql_fake/store_mysql-safe.ecf @@ -0,0 +1,3 @@ + + + diff --git a/library/persistence/store_mysql_fake/store_mysql.ecf b/library/persistence/store_mysql_fake/store_mysql.ecf new file mode 100644 index 0000000..8f66b24 --- /dev/null +++ b/library/persistence/store_mysql_fake/store_mysql.ecf @@ -0,0 +1,26 @@ + + + CMS Eiffel Store MySQL persistence solution FAKE!!! + + + + + + + + + + + + + + + + /.svn$ + /CVS$ + /EIFGENs$ + + + +