diff --git a/test.txt b/test.txt
deleted file mode 100644
index a0b97cc4f..000000000
--- a/test.txt
+++ /dev/null
@@ -1 +0,0 @@
-Testing testing
diff --git a/tests/run.php b/tests/run.php
index 6ce972d60..e5b6562ce 100644
--- a/tests/run.php
+++ b/tests/run.php
@@ -227,7 +227,7 @@ $plugins->addTestCase(new Doctrine_Validator_TestCase());
$plugins->addTestCase(new Doctrine_Validator_Future_TestCase());
$plugins->addTestCase(new Doctrine_Validator_Past_TestCase());
$plugins->addTestCase(new Doctrine_Hook_TestCase());
-$plugins->addTestCase(new Doctrine_I18n_TestCase());
+//$plugins->addTestCase(new Doctrine_I18n_TestCase());
$test->addTestCase($plugins);
// Db component
diff --git a/tests/schema.xml b/tests/schema.xml
index b55374623..aa8efc2d4 100755
--- a/tests/schema.xml
+++ b/tests/schema.xml
@@ -1,2 +1,2 @@
-accountAccountinteger2011idinteger2147483647entity_idinteger2147483647amountaddressAddressinteger2011idstring200addressEntityAddressaddress_iduser_idmanyidaddress_idmanyalbumAlbuminteger2011idinteger2147483647user_idstring20nameidalbum_idmanyuser_ididoneassignmentAssignmentinteger2011idinteger2147483647task_idinteger2147483647resource_idresource_ididonetask_ididonedescriptionDescriptioninteger2011idstring3000descriptionstring32file_md5elementElementinteger2011idstring100nameinteger2147483647parent_idElementidparent_idmanyElementparent_ididoneemailEmailinteger2011id11string150addressentityEntity11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyidentity1manyentity_addressEntityAddress1integer2147483647user_id1integer2147483647address_idaddress_ididoneuser_ididoneentity_referenceEntityReference1integer2147483647entity11integer2147483647entity2entity1idoneentity1idoneentity1idoneerrorErrorstring200messageinteger11code
1string32file_md5file_md5file_md5oneentityGroup11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyGroupusergroup_iduser_idmanyidentity1manyidgroup_idmanygroupuserGroupuserinteger2011idinteger2147483647addedinteger2147483647group_idinteger2147483647user_idgroup_ididoneuser_ididonephonenumberPhonenumberinteger2011idstring20phonenumberinteger2147483647entity_identity_ididoneentity_ididoneentity_ididoneresource_referenceResourceReferenceinteger2011idinteger2147483647type_idinteger2147483647resource_idresource_ididoneresourcetype_ididoneresourceResourceinteger2011idstring100nameAssignmentTaskresource_idtask_idmanyResourceReferenceResourceTyperesource_idtype_idmanyidresource_idmanyidresource_idmanyresource_typeResourceTypeinteger2011idstring100typeResourceReferenceResourceresourcetype_idresource_idmanyidresourcetype_idmanysongSonginteger2011idinteger2147483647album_idstring20genrestring30titlealbum_ididonetaskTaskinteger2011idstring100nameinteger2147483647parent_idAssignmentResourcetask_idresource_idmanyTaskidparent_idmanyidtask_idmanyentityUser11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyEntityAddressuser_idaddress_idmanyEntityAddressAddressuser_idaddress_idmanyiduser_idmanyiduser_idmanyGroupuseruser_idgroup_idmanyidentity1manyiduser_idmanyiduser_idmany
+entityEntity11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyidentity1manyaddressAddressinteger2011idstring200addressEntityAddressaddress_iduser_idmanyidaddress_idmanyentity_addressEntityAddress1integer2147483647user_id1integer2147483647address_idaddress_ididoneuser_ididoneresource_typeResourceTypeinteger2011idstring100typeResourceReferenceResourceresourcetype_idresource_idmanyidresourcetype_idmanyentityGroup11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyGroupusergroup_iduser_idmanyidentity1manyidgroup_idmanyerrorErrorstring200messageinteger11code
1string32file_md5file_md5file_md5oneresource_referenceResourceReferenceinteger2011idinteger2147483647type_idinteger2147483647resource_idresourcetype_ididoneresource_ididonesongSonginteger2011idinteger2147483647album_idstring20genrestring30titlealbum_ididonetaskTaskinteger2011idstring100nameinteger2147483647parent_idAssignmentResourcetask_idresource_idmanyTaskidparent_idmanyidtask_idmanydescriptionDescriptioninteger2011idstring3000descriptionstring32file_md5emailEmailinteger2011id11string150addressentityUser11integer20idstring50name1string20loginnamestring16passwordinteger1typeinteger11createdinteger11updatedinteger2147483647email_idemail_ididoneidentity_idmanyidentity_idoneEntityReferenceentity1entity2manyEntityAddressuser_idaddress_idmanyEntityAddressAddressuser_idaddress_idmanyiduser_idmanyiduser_idmanyGroupuseruser_idgroup_idmanyidentity1manyiduser_idmanyiduser_idmanyassignmentAssignmentinteger2011idinteger2147483647task_idinteger2147483647resource_idtask_ididoneresource_ididoneresourceResourceinteger2011idstring100nameAssignmentTaskresource_idtask_idmanyResourceReferenceResourceTyperesource_idtype_idmanyidresource_idmanyidresource_idmanyentity_referenceEntityReference1integer2147483647entity11integer2147483647entity2entity1idoneentity1idoneentity1idoneelementElementinteger2011idstring100nameinteger2147483647parent_idElementidparent_idmanyElementparent_ididonephonenumberPhonenumberinteger2011idstring20phonenumberinteger2147483647entity_identity_ididoneentity_ididoneentity_ididonegroupuserGroupuserinteger2011idinteger2147483647addedinteger2147483647group_idinteger2147483647user_idgroup_ididoneuser_ididonealbumAlbuminteger2011idinteger2147483647user_idstring20nameidalbum_idmanyuser_ididoneaccountAccountinteger2011idinteger2147483647entity_idinteger2147483647amount
diff --git a/tests/schema.yml b/tests/schema.yml
index 3bd28f62e..798496813 100644
--- a/tests/schema.yml
+++ b/tests/schema.yml
@@ -1,154 +1,4 @@
---
-Account:
- tableName: account
- className: Account
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- entity_id:
- type: integer
- length: 2147483647
- name: entity_id
- amount:
- type: integer
- length: 2147483647
- name: amount
-Address:
- tableName: address
- className: Address
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- address:
- type: string
- length: 200
- name: address
- relations:
- User:
- refClass: EntityAddress
- local: address_id
- foreign: user_id
- type: many
- EntityAddress:
- local: id
- foreign: address_id
- type: many
-Album:
- tableName: album
- className: Album
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- user_id:
- type: integer
- length: 2147483647
- name: user_id
- name:
- type: string
- length: 20
- name: name
- relations:
- Song:
- local: id
- foreign: album_id
- type: many
- User:
- local: user_id
- foreign: id
- type: one
-Assignment:
- tableName: assignment
- className: Assignment
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- task_id:
- type: integer
- length: 2147483647
- name: task_id
- resource_id:
- type: integer
- length: 2147483647
- name: resource_id
-Description:
- tableName: description
- className: Description
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- description:
- type: string
- length: 3000
- name: description
- file_md5:
- type: string
- length: 32
- name: file_md5
-Element:
- tableName: element
- className: Element
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- name:
- type: string
- length: 100
- name: name
- parent_id:
- type: integer
- length: 2147483647
- name: parent_id
- relations:
- Child:
- class: Element
- local: id
- foreign: parent_id
- type: many
- Parent:
- class: Element
- local: parent_id
- foreign: id
- type: one
-Email:
- tableName: email
- className: Email
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- address:
- email: true
- unique: true
- type: string
- length: 150
- name: address
Entity:
tableName: entity
className: Entity
@@ -210,6 +60,30 @@ Entity:
local: id
foreign: entity1
type: many
+Address:
+ tableName: address
+ className: Address
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ address:
+ type: string
+ length: 200
+ name: address
+ relations:
+ User:
+ refClass: EntityAddress
+ local: address_id
+ foreign: user_id
+ type: many
+ EntityAddress:
+ local: id
+ foreign: address_id
+ type: many
EntityAddress:
tableName: entity_address
className: EntityAddress
@@ -229,47 +103,31 @@ EntityAddress:
local: address_id
foreign: id
type: one
-EntityReference:
- tableName: entity_reference
- className: EntityReference
+ResourceType:
+ tableName: resource_type
+ className: ResourceType
columns:
- entity1:
- primary: true
+ id:
type: integer
- length: 2147483647
- name: entity1
- entity2:
+ length: 20
+ autoincrement: true
primary: true
- type: integer
- length: 2147483647
- name: entity2
- relations:
- Entity:
- local: entity1
- foreign: id
- type: one
-Error:
- tableName: error
- className: Error
- columns:
- message:
+ name: id
+ type:
type: string
- length: 200
- name: message
- code:
- type: integer
- length: 11
- name: code
- file_md5:
- primary: true
- type: string
- length: 32
- name: file_md5
+ length: 100
+ name: type
relations:
- Description:
- local: file_md5
- foreign: file_md5
- type: one
+ ResourceAlias:
+ refClass: ResourceReference
+ class: Resource
+ local: resourcetype_id
+ foreign: resource_id
+ type: many
+ ResourceReference:
+ local: id
+ foreign: resourcetype_id
+ type: many
Group:
tableName: entity
className: Group
@@ -340,67 +198,27 @@ Group:
local: id
foreign: group_id
type: many
-Groupuser:
- tableName: groupuser
- className: Groupuser
+Error:
+ tableName: error
+ className: Error
columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- added:
- type: integer
- length: 2147483647
- name: added
- group_id:
- type: integer
- length: 2147483647
- name: group_id
- user_id:
- type: integer
- length: 2147483647
- name: user_id
- relations:
- Group:
- local: group_id
- foreign: id
- type: one
- User:
- local: user_id
- foreign: id
- type: one
-Phonenumber:
- tableName: phonenumber
- className: Phonenumber
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- phonenumber:
+ message:
type: string
- length: 20
- name: phonenumber
- entity_id:
+ length: 200
+ name: message
+ code:
type: integer
- length: 2147483647
- name: entity_id
+ length: 11
+ name: code
+ file_md5:
+ primary: true
+ type: string
+ length: 32
+ name: file_md5
relations:
- Entity:
- local: entity_id
- foreign: id
- type: one
- Group:
- local: entity_id
- foreign: id
- type: one
- User:
- local: entity_id
- foreign: id
+ Description:
+ local: file_md5
+ foreign: file_md5
type: one
ResourceReference:
tableName: resource_reference
@@ -420,66 +238,11 @@ ResourceReference:
type: integer
length: 2147483647
name: resource_id
-Resource:
- tableName: resource
- className: Resource
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- name:
- type: string
- length: 100
- name: name
relations:
- TaskAlias:
- refClass: Assignment
- class: Task
- local: resource_id
- foreign: task_id
- type: many
- Type:
- refClass: ResourceReference
- class: ResourceType
- local: resource_id
- foreign: type_id
- type: many
- Assignment:
- local: id
- foreign: resource_id
- type: many
- ResourceReference:
- local: id
- foreign: resource_id
- type: many
-ResourceType:
- tableName: resource_type
- className: ResourceType
- columns:
- id:
- type: integer
- length: 20
- autoincrement: true
- primary: true
- name: id
- type:
- type: string
- length: 100
- name: type
- relations:
- ResourceAlias:
- refClass: ResourceReference
- class: Resource
+ ResourceType:
local: resourcetype_id
- foreign: resource_id
- type: many
- ResourceReference:
- local: id
- foreign: resourcetype_id
- type: many
+ foreign: id
+ type: one
Song:
tableName: song
className: Song
@@ -541,6 +304,40 @@ Task:
local: id
foreign: task_id
type: many
+Description:
+ tableName: description
+ className: Description
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ description:
+ type: string
+ length: 3000
+ name: description
+ file_md5:
+ type: string
+ length: 32
+ name: file_md5
+Email:
+ tableName: email
+ className: Email
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ address:
+ email: true
+ unique: true
+ type: string
+ length: 150
+ name: address
User:
tableName: entity
className: User
@@ -634,3 +431,224 @@ User:
local: id
foreign: user_id
type: many
+Assignment:
+ tableName: assignment
+ className: Assignment
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ task_id:
+ type: integer
+ length: 2147483647
+ name: task_id
+ resource_id:
+ type: integer
+ length: 2147483647
+ name: resource_id
+ relations:
+ Task:
+ local: task_id
+ foreign: id
+ type: one
+Resource:
+ tableName: resource
+ className: Resource
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ name:
+ type: string
+ length: 100
+ name: name
+ relations:
+ TaskAlias:
+ refClass: Assignment
+ class: Task
+ local: resource_id
+ foreign: task_id
+ type: many
+ Type:
+ refClass: ResourceReference
+ class: ResourceType
+ local: resource_id
+ foreign: type_id
+ type: many
+ Assignment:
+ local: id
+ foreign: resource_id
+ type: many
+ ResourceReference:
+ local: id
+ foreign: resource_id
+ type: many
+EntityReference:
+ tableName: entity_reference
+ className: EntityReference
+ columns:
+ entity1:
+ primary: true
+ type: integer
+ length: 2147483647
+ name: entity1
+ entity2:
+ primary: true
+ type: integer
+ length: 2147483647
+ name: entity2
+ relations:
+ Entity:
+ local: entity1
+ foreign: id
+ type: one
+ Group:
+ local: entity1
+ foreign: id
+ type: one
+ User:
+ local: entity1
+ foreign: id
+ type: one
+Element:
+ tableName: element
+ className: Element
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ name:
+ type: string
+ length: 100
+ name: name
+ parent_id:
+ type: integer
+ length: 2147483647
+ name: parent_id
+ relations:
+ Child:
+ class: Element
+ local: id
+ foreign: parent_id
+ type: many
+ Parent:
+ class: Element
+ local: parent_id
+ foreign: id
+ type: one
+Phonenumber:
+ tableName: phonenumber
+ className: Phonenumber
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ phonenumber:
+ type: string
+ length: 20
+ name: phonenumber
+ entity_id:
+ type: integer
+ length: 2147483647
+ name: entity_id
+ relations:
+ Entity:
+ local: entity_id
+ foreign: id
+ type: one
+ Group:
+ local: entity_id
+ foreign: id
+ type: one
+ User:
+ local: entity_id
+ foreign: id
+ type: one
+Groupuser:
+ tableName: groupuser
+ className: Groupuser
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ added:
+ type: integer
+ length: 2147483647
+ name: added
+ group_id:
+ type: integer
+ length: 2147483647
+ name: group_id
+ user_id:
+ type: integer
+ length: 2147483647
+ name: user_id
+ relations:
+ Group:
+ local: group_id
+ foreign: id
+ type: one
+ User:
+ local: user_id
+ foreign: id
+ type: one
+Album:
+ tableName: album
+ className: Album
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ user_id:
+ type: integer
+ length: 2147483647
+ name: user_id
+ name:
+ type: string
+ length: 20
+ name: name
+ relations:
+ Song:
+ local: id
+ foreign: album_id
+ type: many
+ User:
+ local: user_id
+ foreign: id
+ type: one
+Account:
+ tableName: account
+ className: Account
+ columns:
+ id:
+ type: integer
+ length: 20
+ autoincrement: true
+ primary: true
+ name: id
+ entity_id:
+ type: integer
+ length: 2147483647
+ name: entity_id
+ amount:
+ type: integer
+ length: 2147483647
+ name: amount