class SuperUser < UserModel @super = true @login = 'super' @password = 'superuser1A!' @skip = true end class MaxUser < UserModel def rank 10 end @login = 'mmustermann' @full_name = 'Max Mustermann' @password = 'mustermann1A!' end class JohnDoeUser < UserModel def rank 11 end @login = 'jdoe' @full_name = 'John Doe' @password = 'johndoe1A!' end class TriggersUser < UserModel def rank 12 end @login = 'triggers' @full_name = 'Trigger Account' @password = 'triggers1A!' end class Changelist1 < ChangelistModel def rank 1000 end @description = 'A few basic adds' @adds = [ FileDefinition.new( path: 'depot/main/My Project/README', content: <<-STOP.gsub(/^ {8}/, '') This is the readme for My Project STOP ), FileDefinition.new( path: 'depot/dev/Experimental/README', content: <<-STOP.gsub(/^ {8}/, '') This is an experimental project README. STOP ) ] end class Changelist2 < ChangelistModel def rank 1001 end @description = 'Edits' @user = 'jdoe' @edits = [ FileDefinition.new( path: 'depot/main/My Project/README', content: <<-STOP.gsub(/^ {8}/, '') This is the readme for My Project The README has been edited. STOP ) ] end class StreamTestDepot < DepotModel def rank 1001 end @depot = 'stream-test' @description = 'A test depot' @type = 'stream' end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 15741 | ptomiak | Branch HWS for my use. | ||
//guest/perforce_software/helix-web-services/main/source/helix_web_services_client/p4init.pkg/test.rb | |||||
#1 | 15622 | tjuricek |
Move source code to 'source/' subdirectory of branch. build/ will remain where it is. |
||
//guest/perforce_software/helix-web-services/main/helix_web_services_client/p4init.pkg/test.rb | |||||
#3 | 15144 | tjuricek |
Setup stream spec tests and documentation. Also revised the documentation folder http_p4_web_api -> helix_versioning_engine |
||
#2 | 15110 | tjuricek | Revise changes methods for new p4 connection handling, add server specs, remove model references in client, and update asciidoc documentation. | ||
#1 | 14893 | tjuricek |
Add an alternative test data setup that should work against the installed package server. Unlike the local p4d instance, the installer configuration already creates the super user and depots, and sets the system security, etc. We just need to seed the additional users. |