Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
b2937593
Commit
b2937593
authored
Jun 28, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: add new bt erp5_core_test with worklist-related tests.
parent
7607e899
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
190 additions
and
4 deletions
+190
-4
bt5/erp5_core_test/ModuleTemplateItem/organisation_module.xml
...erp5_core_test/ModuleTemplateItem/organisation_module.xml
+78
-0
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testSQLCachedWorklist.py
...Item/portal_components/test.erp5.testSQLCachedWorklist.py
+1
-1
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testSQLCachedWorklist.xml
...tem/portal_components/test.erp5.testSQLCachedWorklist.xml
+102
-0
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.py
...lateItem/portal_components/test.erp5.testWorkflowMixin.py
+0
-0
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.xml
...ateItem/portal_components/test.erp5.testWorkflowMixin.xml
+0
-0
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testWorklist.py
...tTemplateItem/portal_components/test.erp5.testWorklist.py
+0
-0
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testWorklist.xml
...TemplateItem/portal_components/test.erp5.testWorklist.xml
+0
-0
bt5/erp5_core_test/bt/dependency_list
bt5/erp5_core_test/bt/dependency_list
+1
-0
bt5/erp5_core_test/bt/license
bt5/erp5_core_test/bt/license
+1
-0
bt5/erp5_core_test/bt/template_format_version
bt5/erp5_core_test/bt/template_format_version
+1
-0
bt5/erp5_core_test/bt/template_module_id_list
bt5/erp5_core_test/bt/template_module_id_list
+1
-0
bt5/erp5_core_test/bt/template_test_id_list
bt5/erp5_core_test/bt/template_test_id_list
+3
-0
bt5/erp5_core_test/bt/title
bt5/erp5_core_test/bt/title
+1
-0
bt5/erp5_workflow_test/bt/template_test_id_list
bt5/erp5_workflow_test/bt/template_test_id_list
+1
-3
No files found.
bt5/erp5_core_test/ModuleTemplateItem/organisation_module.xml
0 → 100644
View file @
b2937593
<module>
<id>
organisation_module
</id>
<permission_list>
<permission
type=
'tuple'
>
<name>
Access contents information
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal content
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal folders
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Change local roles
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Copy or Move
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Delete objects
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
List folder contents
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Modify portal content
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View History
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
</permission_list>
<portal_type>
Organisation Module
</portal_type>
<title>
Organisations
</title>
</module>
\ No newline at end of file
product/ERP5/tests/
testSQLCachedWorklist.py
→
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.
testSQLCachedWorklist.py
View file @
b2937593
...
...
@@ -28,7 +28,7 @@
##############################################################################
import
unittest
from
Products.ERP5.tests
.testWorklist
import
TestWorklist
from
erp5.component.test
.testWorklist
import
TestWorklist
from
Products.ERP5Type.tests.utils
import
todo_erp5
class
TestSQLCachedWorklist
(
TestWorklist
):
...
...
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testSQLCachedWorklist.xml
0 → 100644
View file @
b2937593
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testSQLCachedWorklist
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testSQLCachedWorklist
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_
workflow
_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.py
→
bt5/erp5_
core
_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.py
View file @
b2937593
File moved
bt5/erp5_
workflow
_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.xml
→
bt5/erp5_
core
_test/TestTemplateItem/portal_components/test.erp5.testWorkflowMixin.xml
View file @
b2937593
File moved
bt5/erp5_
workflow
_test/TestTemplateItem/portal_components/test.erp5.testWorklist.py
→
bt5/erp5_
core
_test/TestTemplateItem/portal_components/test.erp5.testWorklist.py
View file @
b2937593
File moved
bt5/erp5_
workflow
_test/TestTemplateItem/portal_components/test.erp5.testWorklist.xml
→
bt5/erp5_
core
_test/TestTemplateItem/portal_components/test.erp5.testWorklist.xml
View file @
b2937593
File moved
bt5/erp5_core_test/bt/dependency_list
0 → 100644
View file @
b2937593
erp5_base
\ No newline at end of file
bt5/erp5_core_test/bt/license
0 → 100644
View file @
b2937593
GPL
\ No newline at end of file
bt5/erp5_core_test/bt/template_format_version
0 → 100644
View file @
b2937593
1
\ No newline at end of file
bt5/erp5_core_test/bt/template_module_id_list
0 → 100644
View file @
b2937593
organisation_module
\ No newline at end of file
bt5/erp5_core_test/bt/template_test_id_list
0 → 100644
View file @
b2937593
test.erp5.testWorkflowMixin
test.erp5.testWorklist
test.erp5.testSQLCachedWorklist
\ No newline at end of file
bt5/erp5_core_test/bt/title
0 → 100644
View file @
b2937593
erp5_core_test
\ No newline at end of file
bt5/erp5_workflow_test/bt/template_test_id_list
View file @
b2937593
test.erp5.testWorkflowAndDCWorkflow
\ No newline at end of file
test.erp5.testWorkflowMixin
test.erp5.testWorklist
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment