<!DOCTYPE html> <html lang='en'> <head> <title>RSpec results</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Pragma" content="no-cache" /> <style type="text/css"> body { margin: 0; padding: 0; background: #fff; font-size: 80%; } </style> <script type="text/javascript"> // <![CDATA[ function addClass(element_id, classname) { document.getElementById(element_id).className += (" " + classname); } function removeClass(element_id, classname) { var elem = document.getElementById(element_id); var classlist = elem.className.replace(classname,''); elem.className = classlist; } function moveProgressBar(percentDone) { document.getElementById("rspec-header").style.width = percentDone +"%"; } function makeRed(element_id) { removeClass(element_id, 'passed'); removeClass(element_id, 'not_implemented'); addClass(element_id,'failed'); } function makeYellow(element_id) { var elem = document.getElementById(element_id); if (elem.className.indexOf("failed") == -1) { // class doesn't includes failed if (elem.className.indexOf("not_implemented") == -1) { // class doesn't include not_implemented removeClass(element_id, 'passed'); addClass(element_id,'not_implemented'); } } } function apply_filters() { var passed_filter = document.getElementById('passed_checkbox').checked; var failed_filter = document.getElementById('failed_checkbox').checked; var pending_filter = document.getElementById('pending_checkbox').checked; assign_display_style("example passed", passed_filter); assign_display_style("example failed", failed_filter); assign_display_style("example not_implemented", pending_filter); assign_display_style_for_group("example_group passed", passed_filter); assign_display_style_for_group("example_group not_implemented", pending_filter, pending_filter || passed_filter); assign_display_style_for_group("example_group failed", failed_filter, failed_filter || pending_filter || passed_filter); } function get_display_style(display_flag) { var style_mode = 'none'; if (display_flag == true) { style_mode = 'block'; } return style_mode; } function assign_display_style(classname, display_flag) { var style_mode = get_display_style(display_flag); var elems = document.getElementsByClassName(classname) for (var i=0; i<elems.length;i++) { elems[i].style.display = style_mode; } } function assign_display_style_for_group(classname, display_flag, subgroup_flag) { var display_style_mode = get_display_style(display_flag); var subgroup_style_mode = get_display_style(subgroup_flag); var elems = document.getElementsByClassName(classname) for (var i=0; i<elems.length;i++) { var style_mode = display_style_mode; if ((display_flag != subgroup_flag) && (elems[i].getElementsByTagName('dt')[0].innerHTML.indexOf(", ") != -1)) { elems[i].style.display = subgroup_style_mode; } else { elems[i].style.display = display_style_mode; } } } // ]]> </script> <style type="text/css"> #rspec-header { background: #65C400; color: #fff; height: 4em; } .rspec-report h1 { margin: 0px 10px 0px 10px; padding: 10px; font-family: "Lucida Grande", Helvetica, sans-serif; font-size: 1.8em; position: absolute; } #label { float:left; } #display-filters { float:left; padding: 28px 0 0 40%; font-family: "Lucida Grande", Helvetica, sans-serif; } #summary { float:right; padding: 5px 10px; font-family: "Lucida Grande", Helvetica, sans-serif; text-align: right; } #summary p { margin: 0 0 0 2px; } #summary #totals { font-size: 1.2em; } .example_group { margin: 0 10px 5px; background: #fff; } dl { margin: 0; padding: 0 0 5px; font: normal 11px "Lucida Grande", Helvetica, sans-serif; } dt { padding: 3px; background: #65C400; color: #fff; font-weight: bold; } dd { margin: 5px 0 5px 5px; padding: 3px 3px 3px 18px; } dd .duration { padding-left: 5px; text-align: right; right: 0px; float:right; } dd.example.passed { border-left: 5px solid #65C400; border-bottom: 1px solid #65C400; background: #DBFFB4; color: #3D7700; } dd.example.not_implemented { border-left: 5px solid #FAF834; border-bottom: 1px solid #FAF834; background: #FCFB98; color: #131313; } dd.example.pending_fixed { border-left: 5px solid #0000C2; border-bottom: 1px solid #0000C2; color: #0000C2; background: #D3FBFF; } dd.example.failed { border-left: 5px solid #C20000; border-bottom: 1px solid #C20000; color: #C20000; background: #FFFBD3; } dt.not_implemented { color: #000000; background: #FAF834; } dt.pending_fixed { color: #FFFFFF; background: #C40D0D; } dt.failed { color: #FFFFFF; background: #C40D0D; } #rspec-header.not_implemented { color: #000000; background: #FAF834; } #rspec-header.pending_fixed { color: #FFFFFF; background: #C40D0D; } #rspec-header.failed { color: #FFFFFF; background: #C40D0D; } .backtrace { color: #000; font-size: 12px; } a { color: #BE5C00; } /* Ruby code, style similar to vibrant ink */ .ruby { font-size: 12px; font-family: monospace; color: white; background-color: black; padding: 0.1em 0 0.2em 0; } .ruby .keyword { color: #FF6600; } .ruby .constant { color: #339999; } .ruby .attribute { color: white; } .ruby .global { color: white; } .ruby .module { color: white; } .ruby .class { color: white; } .ruby .string { color: #66FF00; } .ruby .ident { color: white; } .ruby .method { color: #FFCC00; } .ruby .number { color: white; } .ruby .char { color: white; } .ruby .comment { color: #9933CC; } .ruby .symbol { color: white; } .ruby .regex { color: #44B4CC; } .ruby .punct { color: white; } .ruby .escape { color: white; } .ruby .interp { color: white; } .ruby .expr { color: white; } .ruby .offending { background-color: gray; } .ruby .linenum { width: 75px; padding: 0.1em 1em 0.2em 0; color: #000000; background-color: #FFFBD3; } </style> </head> <body> <div class="rspec-report"> <div id="rspec-header"> <div id="label"> <h1>RSpec Code Examples</h1> </div> <div id="display-filters"> <input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="1" /> <label for="passed_checkbox">Passed</label> <input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="2" /> <label for="failed_checkbox">Failed</label> <input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked="checked" onchange="apply_filters()" value="3" /> <label for="pending_checkbox">Pending</label> </div> <div id="summary"> <p id="totals"> </p> <p id="duration"> </p> </div> </div> <div class="results"> <div id="div_group_1" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_1" class="passed">Auth::Middleware</dt> <script type="text/javascript">makeYellow('rspec-header');</script> <script type="text/javascript">makeYellow('div_group_1');</script> <script type="text/javascript">makeYellow('example_group_1');</script> <script type="text/javascript">moveProgressBar('0.9');</script> <dd class="example not_implemented"><span class="not_implemented_spec_name">should allow for valid ticket authentication (PENDING: this will fail in cloud test mode)</span></dd> <script type="text/javascript">moveProgressBar('1.9');</script> <dd class="example passed"><span class="passed_spec_name">should return a 403 for invalid ticket authentication</span><span class='duration'>0.00621s</span></dd> </dl> </div> <div id="div_group_2" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_2" class="passed">Config services</dt> </dl> </div> <div id="div_group_3" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_3" class="passed">GET /config/v1/services</dt> <script type="text/javascript">moveProgressBar('2.9');</script> <dd class="example passed"><span class="passed_spec_name">will default to an empty list if the system config file is missing</span><span class='duration'>0.08293s</span></dd> <script type="text/javascript">moveProgressBar('3.9');</script> <dd class="example passed"><span class="passed_spec_name">will return the contents of the SERVICE_CONFIGURATION config file</span><span class='duration'>0.02335s</span></dd> </dl> </div> <div id="div_group_4" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_4" class="passed">HelixSync changes</dt> </dl> </div> <div id="div_group_5" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_5" class="passed">GET /helix-sync/v1/:project_id/last-change</dt> </dl> </div> <div id="div_group_6" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_6" class="passed">HVE projects</dt> <script type="text/javascript">moveProgressBar('4.9');</script> <dd class="example passed"><span class="passed_spec_name">can fetch the latest change for the project</span><span class='duration'>0.07573s</span></dd> </dl> </div> <div id="div_group_7" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_7" class="passed">GET /helix-sync/v1/:project_id/pending</dt> </dl> </div> <div id="div_group_8" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_8" class="passed">default value</dt> <script type="text/javascript">moveProgressBar('5.9');</script> <dd class="example passed"><span class="passed_spec_name">returns the default value if no change found</span><span class='duration'>0.03413s</span></dd> </dl> </div> <div id="div_group_9" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_9" class="passed">POST /helix-sync/v1/:project_id/submit</dt> </dl> </div> <div id="div_group_10" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_10" class="passed">locked client</dt> <script type="text/javascript">moveProgressBar('6.9');</script> <dd class="example passed"><span class="passed_spec_name">times out and fails if the client is already locked</span><span class='duration'>0.04135s</span></dd> </dl> </div> <div id="div_group_11" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_11" class="passed">HelixSync clients</dt> </dl> </div> <div id="div_group_12" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_12" class="passed">POST /helix-sync/v1/:project/clients/device</dt> </dl> </div> <div id="div_group_13" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_13" class="passed">no implementation</dt> <script type="text/javascript">makeYellow('rspec-header');</script> <script type="text/javascript">makeYellow('div_group_13');</script> <script type="text/javascript">makeYellow('example_group_13');</script> <script type="text/javascript">moveProgressBar('7.9');</script> <dd class="example not_implemented"><span class="not_implemented_spec_name">returns a 404 (PENDING: cloud does not need the HVE... setting)</span></dd> </dl> </div> <div id="div_group_14" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_14" class="passed">HVE projects</dt> <script type="text/javascript">moveProgressBar('8.9');</script> <dd class="example passed"><span class="passed_spec_name">can create a project</span><span class='duration'>0.04676s</span></dd> </dl> </div> <div id="div_group_15" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_15" class="passed">POST /helix-sync/v1/:project/clients/shelf</dt> </dl> </div> <div id="div_group_16" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_16" class="passed">no implementation</dt> <script type="text/javascript">makeYellow('rspec-header');</script> <script type="text/javascript">makeYellow('div_group_16');</script> <script type="text/javascript">makeYellow('example_group_16');</script> <script type="text/javascript">moveProgressBar('9.9');</script> <dd class="example not_implemented"><span class="not_implemented_spec_name">returns a 404 (PENDING: cloud does not need the HVE... setting)</span></dd> </dl> </div> <div id="div_group_17" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_17" class="passed">HVE projects</dt> <script type="text/javascript">moveProgressBar('10.8');</script> <dd class="example passed"><span class="passed_spec_name">can create a project</span><span class='duration'>0.04985s</span></dd> </dl> </div> <div id="div_group_18" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_18" class="passed">HelixVersioningEngine branches</dt> </dl> </div> <div id="div_group_19" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_19" class="passed">POST /p4/v78/branches</dt> <script type="text/javascript">moveProgressBar('11.8');</script> <dd class="example passed"><span class="passed_spec_name">can create a test branch</span><span class='duration'>0.03527s</span></dd> </dl> </div> <div id="div_group_20" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_20" class="passed">GET /p4/v78/branches</dt> <script type="text/javascript">moveProgressBar('12.8');</script> <dd class="example passed"><span class="passed_spec_name">can find the new branch in an array of branches</span><span class='duration'>0.02731s</span></dd> </dl> </div> <div id="div_group_21" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_21" class="passed">PATCH /p4/v78/branches/[branch]</dt> <script type="text/javascript">moveProgressBar('13.8');</script> <dd class="example passed"><span class="passed_spec_name">can update the branch description</span><span class='duration'>0.03320s</span></dd> </dl> </div> <div id="div_group_22" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_22" class="passed">GET /p4/v78/branches/[branch]</dt> <script type="text/javascript">moveProgressBar('14.8');</script> <dd class="example passed"><span class="passed_spec_name">can load the new branch with a View</span><span class='duration'>0.02711s</span></dd> </dl> </div> <div id="div_group_23" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_23" class="passed">DELETE /p4/v78/branches/[branch]</dt> <script type="text/javascript">moveProgressBar('15.8');</script> <dd class="example passed"><span class="passed_spec_name">can delete the branch</span><span class='duration'>0.03683s</span></dd> </dl> </div> <div id="div_group_24" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_24" class="passed">HelixVersioningEngine changes</dt> </dl> </div> <div id="div_group_25" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_25" class="passed">GET /p4/v78/changes</dt> <script type="text/javascript">moveProgressBar('16.8');</script> <dd class="example passed"><span class="passed_spec_name">should list change 1</span><span class='duration'>0.02661s</span></dd> <script type="text/javascript">moveProgressBar('17.8');</script> <dd class="example passed"><span class="passed_spec_name">can limit the test results to 1 with the max parameter</span><span class='duration'>0.04885s</span></dd> <script type="text/javascript">moveProgressBar('18.8');</script> <dd class="example passed"><span class="passed_spec_name">can limit the change results by user</span><span class='duration'>0.02289s</span></dd> <script type="text/javascript">moveProgressBar('19.8');</script> <dd class="example passed"><span class="passed_spec_name">can limit the change results by status</span><span class='duration'>0.01702s</span></dd> <script type="text/javascript">moveProgressBar('20.7');</script> <dd class="example passed"><span class="passed_spec_name">can limit the change results by a files query</span><span class='duration'>0.01892s</span></dd> </dl> </div> <div id="div_group_26" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_26" class="passed">POST /p4/v78/changes</dt> <script type="text/javascript">makeYellow('rspec-header');</script> <script type="text/javascript">makeYellow('div_group_26');</script> <script type="text/javascript">makeYellow('example_group_26');</script> <script type="text/javascript">moveProgressBar('21.7');</script> <dd class="example not_implemented"><span class="not_implemented_spec_name">can branch files (PENDING: this code is really specific to classic depots, rewrite for cloud)</span></dd> <script type="text/javascript">moveProgressBar('22.7');</script> <dd class="example passed"><span class="passed_spec_name">can add files</span><span class='duration'>0.04000s</span></dd> </dl> </div> <div id="div_group_27" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_27" class="passed">GET /p4/v78/changes/[change]</dt> <script type="text/javascript">moveProgressBar('23.7');</script> <dd class="example passed"><span class="passed_spec_name">can describe file lists in submitted changes</span><span class='duration'>0.01842s</span></dd> </dl> </div> <div id="div_group_28" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_28" class="passed">POST /p4/v78/changes/[change]</dt> <script type="text/javascript">moveProgressBar('24.7');</script> <dd class="example passed"><span class="passed_spec_name">can submit a changelist with shelved changes on a normal client</span><span class='duration'>0.04905s</span></dd> <script type="text/javascript">moveProgressBar('25.7');</script> <dd class="example passed"><span class="passed_spec_name">can submit a changelist with shelved changes on a normal client</span><span class='duration'>0.04903s</span></dd> </dl> </div> <div id="div_group_29" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_29" class="passed">HelixVersioningEngine clients</dt> </dl> </div> <div id="div_group_30" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_30" class="passed">POST /p4/v78/clients</dt> <script type="text/javascript">moveProgressBar('26.7');</script> <dd class="example passed"><span class="passed_spec_name">can create a test client</span><span class='duration'>0.01844s</span></dd> </dl> </div> <div id="div_group_31" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_31" class="passed">GET /p4/v78/clients</dt> <script type="text/javascript">moveProgressBar('27.7');</script> <dd class="example passed"><span class="passed_spec_name">can find the new client in an array of clients</span><span class='duration'>0.01896s</span></dd> </dl> </div> <div id="div_group_32" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_32" class="passed">PATCH /p4/v78/clients/[client]</dt> <script type="text/javascript">moveProgressBar('28.7');</script> <dd class="example passed"><span class="passed_spec_name">can update the client description</span><span class='duration'>0.02100s</span></dd> </dl> </div> <div id="div_group_33" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_33" class="passed">GET /p4/v78/clients/[client]</dt> <script type="text/javascript">moveProgressBar('29.7');</script> <dd class="example passed"><span class="passed_spec_name">can load the new client with a View</span><span class='duration'>0.01948s</span></dd> </dl> </div> <div id="div_group_34" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_34" class="passed">DELETE /p4/v78/clients/[client]</dt> <script type="text/javascript">moveProgressBar('30.6');</script> <dd class="example passed"><span class="passed_spec_name">can delete the client</span><span class='duration'>0.02696s</span></dd> </dl> </div> <div id="div_group_35" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_35" class="passed">HelixVersioningEngine commands</dt> </dl> </div> <div id="div_group_36" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_36" class="passed">GET /p4/v78/commands/:command</dt> <script type="text/javascript">moveProgressBar('31.6');</script> <dd class="example passed"><span class="passed_spec_name">should return a 403 for commands that are not whitelisted</span><span class='duration'>0.01571s</span></dd> <script type="text/javascript">moveProgressBar('32.6');</script> <dd class="example passed"><span class="passed_spec_name">should return a 403 for commands that are missing required args</span><span class='duration'>0.01574s</span></dd> <script type="text/javascript">moveProgressBar('33.6');</script> <dd class="example passed"><span class="passed_spec_name">should allow you to run a whitelisted command, specified via a string</span><span class='duration'>0.01738s</span></dd> <script type="text/javascript">moveProgressBar('34.6');</script> <dd class="example passed"><span class="passed_spec_name">should allow you to run a whitelisted command if you specify a required argument via an array</span><span class='duration'>0.02004s</span></dd> </dl> </div> <div id="div_group_37" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_37" class="passed">POST /p4/v78/commands/:command</dt> <script type="text/javascript">moveProgressBar('35.6');</script> <dd class="example passed"><span class="passed_spec_name">should return a 403 for commands that are not whitelisted</span><span class='duration'>0.01554s</span></dd> </dl> </div> <div id="div_group_38" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_38" class="passed">HelixVersioningEngine counters</dt> </dl> </div> <div id="div_group_39" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_39" class="passed">PUT /p4/v78/counters/[counter]</dt> <script type="text/javascript">moveProgressBar('36.6');</script> <dd class="example passed"><span class="passed_spec_name">can create a numerical counter</span><span class='duration'>0.01702s</span></dd> <script type="text/javascript">moveProgressBar('37.6');</script> <dd class="example passed"><span class="passed_spec_name">can create a text counter</span><span class='duration'>0.01685s</span></dd> </dl> </div> <div id="div_group_40" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_40" class="passed">GET /p4/v78/counters</dt> <script type="text/javascript">moveProgressBar('38.6');</script> <dd class="example passed"><span class="passed_spec_name">can include our test counters in the list</span><span class='duration'>0.01772s</span></dd> </dl> </div> <div id="div_group_41" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_41" class="passed">GET /p4/v78/counters/[counter]</dt> <script type="text/javascript">moveProgressBar('39.6');</script> <dd class="example passed"><span class="passed_spec_name">can list our numerical counter</span><span class='duration'>0.01682s</span></dd> <script type="text/javascript">moveProgressBar('40.5');</script> <dd class="example passed"><span class="passed_spec_name">can list the text counter</span><span class='duration'>0.01739s</span></dd> </dl> </div> <div id="div_group_42" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_42" class="passed">POST /p4/v78/counters/[counter]/increment</dt> <script type="text/javascript">moveProgressBar('41.5');</script> <dd class="example passed"><span class="passed_spec_name">can increment the numerical counter</span><span class='duration'>0.02446s</span></dd> </dl> </div> <div id="div_group_43" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_43" class="passed">DELETE /p4/v78/counters/[counter]</dt> <script type="text/javascript">moveProgressBar('42.5');</script> <dd class="example passed"><span class="passed_spec_name">can delete our test counters</span><span class='duration'>0.03288s</span></dd> </dl> </div> <div id="div_group_44" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_44" class="passed">HelixVersioningEngine depots</dt> </dl> </div> <div id="div_group_45" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_45" class="passed">POST /p4/v78/depots</dt> <script type="text/javascript">moveProgressBar('43.5');</script> <dd class="example passed"><span class="passed_spec_name">can create a new depot</span><span class='duration'>0.01722s</span></dd> </dl> </div> <div id="div_group_46" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_46" class="passed">GET /p4/v78/depots</dt> <script type="text/javascript">moveProgressBar('44.5');</script> <dd class="example passed"><span class="passed_spec_name">returns the new depot in an array of depots</span><span class='duration'>0.01669s</span></dd> </dl> </div> <div id="div_group_47" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_47" class="passed">GET /p4/v78/depots/[depot]</dt> <script type="text/javascript">moveProgressBar('45.5');</script> <dd class="example passed"><span class="passed_spec_name">can fetch the new depot</span><span class='duration'>0.01695s</span></dd> </dl> </div> <div id="div_group_48" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_48" class="passed">PATCH /p4/v78/depots/[depot]</dt> <script type="text/javascript">moveProgressBar('46.5');</script> <dd class="example passed"><span class="passed_spec_name">can update the description</span><span class='duration'>0.02610s</span></dd> </dl> </div> <div id="div_group_49" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_49" class="passed">DELETE /p4/v78/depots/[depot]</dt> <script type="text/javascript">moveProgressBar('47.5');</script> <dd class="example passed"><span class="passed_spec_name">can delete the depot</span><span class='duration'>0.02446s</span></dd> </dl> </div> <div id="div_group_50" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_50" class="passed">HelixVersioningEngine files</dt> </dl> </div> <div id="div_group_51" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_51" class="passed">GET /p4/v78/files</dt> <script type="text/javascript">moveProgressBar('48.5');</script> <dd class="example passed"><span class="passed_spec_name">can list depots at the root level</span><span class='duration'>0.01615s</span></dd> <script type="text/javascript">moveProgressBar('49.5');</script> <dd class="example passed"><span class="passed_spec_name">can list dirs levels greater than 1</span><span class='duration'>0.01773s</span></dd> <script type="text/javascript">moveProgressBar('50.4');</script> <dd class="example passed"><span class="passed_spec_name">can list files at levels greater than 1</span><span class='duration'>0.01757s</span></dd> </dl> </div> <div id="div_group_52" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_52" class="passed">PATCH /p4/v78/files</dt> <script type="text/javascript">moveProgressBar('51.4');</script> <dd class="example passed"><span class="passed_spec_name">can edit and add a new file</span><span class='duration'>0.04754s</span></dd> </dl> </div> <div id="div_group_53" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_53" class="passed">DELETE /p4/v78/files</dt> <script type="text/javascript">moveProgressBar('52.4');</script> <dd class="example passed"><span class="passed_spec_name">can delete a file</span><span class='duration'>0.04088s</span></dd> </dl> </div> <div id="div_group_54" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_54" class="passed">HelixVersioningEngine groups</dt> </dl> </div> <div id="div_group_55" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_55" class="passed">POST /p4/v78/groups</dt> <script type="text/javascript">moveProgressBar('53.4');</script> <dd class="example passed"><span class="passed_spec_name">can create a test group</span><span class='duration'>0.01789s</span></dd> </dl> </div> <div id="div_group_56" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_56" class="passed">GET /p4/v78/groups</dt> <script type="text/javascript">moveProgressBar('54.4');</script> <dd class="example passed"><span class="passed_spec_name">can find the new group in an array of groups</span><span class='duration'>0.01651s</span></dd> </dl> </div> <div id="div_group_57" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_57" class="passed">PATCH /p4/v78/groups/[group]</dt> <script type="text/javascript">moveProgressBar('55.4');</script> <dd class="example passed"><span class="passed_spec_name">can update the users list</span><span class='duration'>0.02039s</span></dd> </dl> </div> <div id="div_group_58" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_58" class="passed">GET /p4/v78/groups/[group]</dt> <script type="text/javascript">moveProgressBar('56.4');</script> <dd class="example passed"><span class="passed_spec_name">can load the new group with a View</span><span class='duration'>0.01743s</span></dd> </dl> </div> <div id="div_group_59" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_59" class="passed">DELETE /p4/v78/groups/[group]</dt> <script type="text/javascript">moveProgressBar('57.4');</script> <dd class="example passed"><span class="passed_spec_name">can delete the group</span><span class='duration'>0.02664s</span></dd> </dl> </div> <div id="div_group_60" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_60" class="passed">HelixVersioningEngine jobs</dt> </dl> </div> <div id="div_group_61" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_61" class="passed">POST /p4/v78/jobs</dt> <script type="text/javascript">moveProgressBar('58.4');</script> <dd class="example passed"><span class="passed_spec_name">can create a new job</span><span class='duration'>0.01916s</span></dd> </dl> </div> <div id="div_group_62" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_62" class="passed">GET /p4/v78/jobs</dt> <script type="text/javascript">moveProgressBar('59.4');</script> <dd class="example passed"><span class="passed_spec_name">returns the new job in an array of jobs</span><span class='duration'>0.01895s</span></dd> </dl> </div> <div id="div_group_63" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_63" class="passed">GET /p4/v78/jobs/[job]</dt> <script type="text/javascript">moveProgressBar('60.3');</script> <dd class="example passed"><span class="passed_spec_name">can fetch the new job</span><span class='duration'>0.01837s</span></dd> </dl> </div> <div id="div_group_64" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_64" class="passed">PATCH /p4/v78/jobs/[job]</dt> <script type="text/javascript">moveProgressBar('61.3');</script> <dd class="example passed"><span class="passed_spec_name">can update the description</span><span class='duration'>0.02647s</span></dd> </dl> </div> <div id="div_group_65" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_65" class="passed">DELETE /p4/v78/jobs/[job]</dt> <script type="text/javascript">moveProgressBar('62.3');</script> <dd class="example passed"><span class="passed_spec_name">can delete the job</span><span class='duration'>0.02647s</span></dd> </dl> </div> <div id="div_group_66" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_66" class="passed">HelixVersioningEngine labels</dt> </dl> </div> <div id="div_group_67" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_67" class="passed">POST /p4/v78/labels</dt> <script type="text/javascript">moveProgressBar('63.3');</script> <dd class="example passed"><span class="passed_spec_name">can create a test label</span><span class='duration'>0.01828s</span></dd> </dl> </div> <div id="div_group_68" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_68" class="passed">GET /p4/v78/labels</dt> <script type="text/javascript">moveProgressBar('64.3');</script> <dd class="example passed"><span class="passed_spec_name">can find the new label in an array of labels</span><span class='duration'>0.01701s</span></dd> </dl> </div> <div id="div_group_69" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_69" class="passed">PATCH /p4/v78/labels/[label]</dt> <script type="text/javascript">moveProgressBar('65.3');</script> <dd class="example passed"><span class="passed_spec_name">can update the users list</span><span class='duration'>0.01928s</span></dd> </dl> </div> <div id="div_group_70" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_70" class="passed">GET /p4/v78/labels/[label]</dt> <script type="text/javascript">moveProgressBar('66.3');</script> <dd class="example passed"><span class="passed_spec_name">can load the new label with a View</span><span class='duration'>0.01804s</span></dd> </dl> </div> <div id="div_group_71" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_71" class="passed">DELETE /p4/v78/labels/[label]</dt> <script type="text/javascript">moveProgressBar('67.3');</script> <dd class="example passed"><span class="passed_spec_name">can delete the label</span><span class='duration'>0.02673s</span></dd> </dl> </div> <div id="div_group_72" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_72" class="passed">HelixVersioningEngine login</dt> </dl> </div> <div id="div_group_73" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_73" class="passed">POST /p4/v78/login</dt> <script type="text/javascript">moveProgressBar('68.3');</script> <dd class="example passed"><span class="passed_spec_name">can create ... the same ticket</span><span class='duration'>0.01347s</span></dd> </dl> </div> <div id="div_group_74" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_74" class="passed">HelixVersioningEngine protections</dt> </dl> </div> <div id="div_group_75" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_75" class="passed">GET /p4/v78/protections</dt> <script type="text/javascript">moveProgressBar('69.3');</script> <dd class="example passed"><span class="passed_spec_name">should return an array with at least two protections</span><span class='duration'>0.01819s</span></dd> </dl> </div> <div id="div_group_76" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_76" class="passed">PUT /p4/v78/protections</dt> <script type="text/javascript">moveProgressBar('70.2');</script> <dd class="example passed"><span class="passed_spec_name">should add a protections entry for the user jdoe</span><span class='duration'>0.03494s</span></dd> <script type="text/javascript">moveProgressBar('71.2');</script> <dd class="example passed"><span class="passed_spec_name">should remove the protections entry for user jdoe</span><span class='duration'>0.03314s</span></dd> </dl> </div> <div id="div_group_77" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_77" class="passed">HelixVersioningEngine servers</dt> </dl> </div> <div id="div_group_78" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_78" class="passed">POST /p4/v78/servers</dt> <script type="text/javascript">moveProgressBar('72.2');</script> <dd class="example passed"><span class="passed_spec_name">can create a test server</span><span class='duration'>0.01793s</span></dd> </dl> </div> <div id="div_group_79" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_79" class="passed">GET /p4/v78/servers</dt> <script type="text/javascript">moveProgressBar('73.2');</script> <dd class="example passed"><span class="passed_spec_name">can find the new server in an array of servers</span><span class='duration'>0.01693s</span></dd> </dl> </div> <div id="div_group_80" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_80" class="passed">PATCH /p4/v78/servers/[server]</dt> <script type="text/javascript">moveProgressBar('74.2');</script> <dd class="example passed"><span class="passed_spec_name">can update the users list</span><span class='duration'>0.01717s</span></dd> </dl> </div> <div id="div_group_81" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_81" class="passed">GET /p4/v78/servers/[server]</dt> <script type="text/javascript">moveProgressBar('75.2');</script> <dd class="example passed"><span class="passed_spec_name">can load the new server with a View</span><span class='duration'>0.01712s</span></dd> </dl> </div> <div id="div_group_82" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_82" class="passed">DELETE /p4/v78/servers/[server]</dt> <script type="text/javascript">moveProgressBar('76.2');</script> <dd class="example passed"><span class="passed_spec_name">can delete the server</span><span class='duration'>0.02474s</span></dd> </dl> </div> <div id="div_group_83" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_83" class="passed">HelixVersioningEngine streams</dt> </dl> </div> <div id="div_group_84" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_84" class="passed">POST /p4/v78/streams</dt> <script type="text/javascript">moveProgressBar('77.2');</script> <dd class="example passed"><span class="passed_spec_name">can create //stream-test/main-WMVWRZKR</span><span class='duration'>0.01841s</span></dd> </dl> </div> <div id="div_group_85" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_85" class="passed">GET /p4/v78/streams</dt> <script type="text/javascript">moveProgressBar('78.2');</script> <dd class="example passed"><span class="passed_spec_name">should list //stream-test/main-WMVWRZKR in stream defs</span><span class='duration'>0.01800s</span></dd> </dl> </div> <div id="div_group_86" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_86" class="passed">GET /p4/v78/streams/[stream]</dt> <script type="text/javascript">moveProgressBar('79.2');</script> <dd class="example passed"><span class="passed_spec_name">should fetch only main-WMVWRZKR</span><span class='duration'>0.01756s</span></dd> </dl> </div> <div id="div_group_87" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_87" class="passed">PATCH /p4/v78/streams/[stream]</dt> <script type="text/javascript">moveProgressBar('80.1');</script> <dd class="example passed"><span class="passed_spec_name">should update the stream description</span><span class='duration'>0.02624s</span></dd> </dl> </div> <div id="div_group_88" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_88" class="passed">DELETE /p4/v78/streams/[stream]</dt> <script type="text/javascript">moveProgressBar('81.1');</script> <dd class="example passed"><span class="passed_spec_name">should delete the stream</span><span class='duration'>0.02670s</span></dd> </dl> </div> <div id="div_group_89" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_89" class="passed">HelixVersioningEngine triggers</dt> <script type="text/javascript">moveProgressBar('82.1');</script> <dd class="example passed"><span class="passed_spec_name">should add a triggers entry</span><span class='duration'>0.03822s</span></dd> <script type="text/javascript">moveProgressBar('83.1');</script> <dd class="example passed"><span class="passed_spec_name">should remove the triggers entry</span><span class='duration'>0.03394s</span></dd> </dl> </div> <div id="div_group_90" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_90" class="passed">HelixVersioningEngine users</dt> </dl> </div> <div id="div_group_91" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_91" class="passed">GET /p4/v78/users</dt> <script type="text/javascript">moveProgressBar('84.1');</script> <dd class="example passed"><span class="passed_spec_name">should list jdoe and super users</span><span class='duration'>0.01706s</span></dd> </dl> </div> <div id="div_group_92" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_92" class="passed">GET /p4/v78/users/:user</dt> <script type="text/javascript">moveProgressBar('85.1');</script> <dd class="example passed"><span class="passed_spec_name">should return the user mmustermann</span><span class='duration'>0.01755s</span></dd> </dl> </div> <div id="div_group_93" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_93" class="passed">POST /p4/v78/users</dt> <script type="text/javascript">moveProgressBar('86.1');</script> <dd class="example passed"><span class="passed_spec_name">should create a new user</span><span class='duration'>0.03163s</span></dd> </dl> </div> <div id="div_group_94" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_94" class="passed">PATCH /p4/v78/users/:user</dt> <script type="text/javascript">moveProgressBar('87.1');</script> <dd class="example passed"><span class="passed_spec_name">should update a user email</span><span class='duration'>0.02768s</span></dd> <script type="text/javascript">moveProgressBar('88.1');</script> <dd class="example passed"><span class="passed_spec_name">should return a 404 if you attempt to patch an invalid user</span><span class='duration'>0.01735s</span></dd> </dl> </div> <div id="div_group_95" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_95" class="passed">DELETE /p4/v78/users/:user</dt> <script type="text/javascript">moveProgressBar('89.1');</script> <dd class="example passed"><span class="passed_spec_name">should delete the user</span><span class='duration'>0.03358s</span></dd> </dl> </div> <div id="div_group_96" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_96" class="passed">HelixWebServices</dt> <script type="text/javascript">moveProgressBar('90.0');</script> <dd class="example passed"><span class="passed_spec_name">should return a 500 status with a system error</span><span class='duration'>0.02048s</span></dd> <script type="text/javascript">moveProgressBar('91.0');</script> <dd class="example passed"><span class="passed_spec_name">should return a 400 status with a user error</span><span class='duration'>0.02190s</span></dd> <script type="text/javascript">makeYellow('rspec-header');</script> <script type="text/javascript">makeYellow('div_group_96');</script> <script type="text/javascript">makeYellow('example_group_96');</script> <script type="text/javascript">moveProgressBar('92.0');</script> <dd class="example not_implemented"><span class="not_implemented_spec_name">should not allow "rsh:" in P4PORT (PENDING: rsh is not detected unless you hit a require_p4, so /status is not enough for cloud)</span></dd> </dl> </div> <div id="div_group_97" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_97" class="passed">HWSStrings</dt> </dl> </div> <div id="div_group_98" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_98" class="passed">#component_encode,#component_decode</dt> <script type="text/javascript">moveProgressBar('93.0');</script> <dd class="example passed"><span class="passed_spec_name">ensure a string doesn't have a forward slash</span><span class='duration'>0.00018s</span></dd> <script type="text/javascript">moveProgressBar('94.0');</script> <dd class="example passed"><span class="passed_spec_name">ensure a string with a forward slash can be decoded back</span><span class='duration'>0.00014s</span></dd> </dl> </div> <div id="div_group_99" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_99" class="passed">GitFusionStrings</dt> </dl> </div> <div id="div_group_100" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_100" class="passed">#encode,#decode</dt> <script type="text/javascript">moveProgressBar('95.0');</script> <dd class="example passed"><span class="passed_spec_name">ensure a repo name doesn't have a forward slash</span><span class='duration'>0.00014s</span></dd> <script type="text/javascript">moveProgressBar('96.0');</script> <dd class="example passed"><span class="passed_spec_name">ensure a repo name with a forward slash can be decoded back</span><span class='duration'>0.00012s</span></dd> </dl> </div> <div id="div_group_101" class="example_group passed"> <dl style="margin-left: 0px;"> <dt id="example_group_101" class="passed">Projects</dt> </dl> </div> <div id="div_group_102" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_102" class="passed">POST /projects/v1/login</dt> <script type="text/javascript">moveProgressBar('97.0');</script> <dd class="example passed"><span class="passed_spec_name">should generate and return the p4 ticket</span><span class='duration'>0.00787s</span></dd> </dl> </div> <div id="div_group_103" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_103" class="passed">GET /projects/v1</dt> </dl> </div> <div id="div_group_104" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_104" class="passed">HVE Projects</dt> <script type="text/javascript">moveProgressBar('98.0');</script> <dd class="example passed"><span class="passed_spec_name">will list project ids with no details value</span><span class='duration'>0.02082s</span></dd> <script type="text/javascript">moveProgressBar('99.0');</script> <dd class="example passed"><span class="passed_spec_name">will list project data with details enabled</span><span class='duration'>0.02180s</span></dd> </dl> </div> <div id="div_group_105" class="example_group passed"> <dl style="margin-left: 15px;"> <dt id="example_group_105" class="passed">GET /projects/v1/:id</dt> </dl> </div> <div id="div_group_106" class="example_group passed"> <dl style="margin-left: 30px;"> <dt id="example_group_106" class="passed">HVE Projects</dt> <script type="text/javascript">moveProgressBar('100.0');</script> <dd class="example passed"><span class="passed_spec_name">will list project data for the indicated id</span><span class='duration'>0.02232s</span></dd> </dl> </div> <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>2.61832 seconds</strong>";</script> <script type="text/javascript">document.getElementById('totals').innerHTML = "101 examples, 0 failures, 5 pending";</script> </div> </div> </body> </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 16275 | Doug Scheirer | Merge from main | ||
#4 | 16196 | Doug Scheirer | Merge from main | ||
#3 | 16148 | Doug Scheirer | Merge from main | ||
#2 | 16114 | Doug Scheirer | Merge from main | ||
#1 | 16079 | Doug Scheirer | Merge from main | ||
//guest/perforce_software/helix-web-services/main/build/test/helix_web_services_cloud_specs.html | |||||
#2 | 16077 | tjuricek |
HWS/NOARCH/2015.1.main/201510051630 Includes changes to trust behavior |
||
#1 | 16075 | tjuricek |
HWS/NOARCH/2015.1.main/201510051543 This includes a first implementation of the Helix Cloud integration with Helix Sync. |