diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 14:34:42 +0000 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /spec/javascripts/reports/mock_data | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) | |
download | gitlab-ce-9f46488805e86b1bc341ea1620b866016c2ce5ed.tar.gz |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/javascripts/reports/mock_data')
6 files changed, 0 insertions, 225 deletions
diff --git a/spec/javascripts/reports/mock_data/mock_data.js b/spec/javascripts/reports/mock_data/mock_data.js deleted file mode 100644 index 0d90253bad2..00000000000 --- a/spec/javascripts/reports/mock_data/mock_data.js +++ /dev/null @@ -1,8 +0,0 @@ -// eslint-disable-next-line import/prefer-default-export -export const issue = { - result: 'failure', - name: 'Test#sum when a is 1 and b is 2 returns summary', - execution_time: 0.009411, - system_output: - "Failure/Error: is_expected.to eq(3)\n\n expected: 3\n got: -1\n\n (compared using ==)\n./spec/test_spec.rb:12:in `block (4 levels) in \u003ctop (required)\u003e'", -}; diff --git a/spec/javascripts/reports/mock_data/new_and_fixed_failures_report.json b/spec/javascripts/reports/mock_data/new_and_fixed_failures_report.json deleted file mode 100644 index 6141e5433a6..00000000000 --- a/spec/javascripts/reports/mock_data/new_and_fixed_failures_report.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "status": "failed", - "summary": { "total": 11, "resolved": 2, "errored": 0, "failed": 2 }, - "suites": [ - { - "name": "rspec:pg", - "status": "failed", - "summary": { "total": 8, "resolved": 2, "errored": 0, "failed": 1 }, - "new_failures": [ - { - "status": "failed", - "name": "Test#subtract when a is 2 and b is 1 returns correct result", - "execution_time": 0.00908, - "system_output": "Failure/Error: is_expected.to eq(1)\n\n expected: 1\n got: 3\n\n (compared using ==)\n./spec/test_spec.rb:43:in `block (4 levels) in <top (required)>'" - } - ], - "resolved_failures": [ - { - "status": "success", - "name": "Test#sum when a is 1 and b is 2 returns summary", - "execution_time": 0.000318, - "system_output": null - }, - { - "status": "success", - "name": "Test#sum when a is 100 and b is 200 returns summary", - "execution_time": 0.000074, - "system_output": null - } - ], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - }, - { - "name": "java ant", - "status": "failed", - "summary": { "total": 3, "resolved": 0, "errored": 0, "failed": 1 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [ - { - "status": "failed", - "name": "sumTest", - "execution_time": 0.004, - "system_output": "junit.framework.AssertionFailedError: expected:<3> but was:<-1>\n\tat CalculatorTest.sumTest(Unknown Source)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n" - } - ], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - } - ] -} diff --git a/spec/javascripts/reports/mock_data/new_errors_report.json b/spec/javascripts/reports/mock_data/new_errors_report.json deleted file mode 100644 index cebf98fdb63..00000000000 --- a/spec/javascripts/reports/mock_data/new_errors_report.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "summary": { "total": 11, "resolved": 0, "errored": 2, "failed": 0 }, - "suites": [ - { - "name": "rspec:pg", - "summary": { "total": 8, "resolved": 0, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - }, - { - "name": "karma", - "summary": { "total": 3, "resolved": 0, "errored": 2, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [ - { - "result": "error", - "name": "Test#sum when a is 1 and b is 2 returns summary", - "execution_time": 0.009411, - "system_output": "Failed: Error in render: 'TypeError: Cannot read property 'status' of undefined'" - }, - { - "result": "error", - "name": "Test#sum when a is 100 and b is 200 returns summary", - "execution_time": 0.000162, - "system_output": "Failed: Error in render: 'TypeError: Cannot read property 'length' of undefined'" - } - ], - "resolved_errors": [], - "existing_errors": [] - } - ] -} diff --git a/spec/javascripts/reports/mock_data/new_failures_report.json b/spec/javascripts/reports/mock_data/new_failures_report.json deleted file mode 100644 index 8b9c12c6271..00000000000 --- a/spec/javascripts/reports/mock_data/new_failures_report.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "summary": { "total": 11, "resolved": 0, "errored": 0, "failed": 2 }, - "suites": [ - { - "name": "rspec:pg", - "summary": { "total": 8, "resolved": 0, "errored": 0, "failed": 2 }, - "new_failures": [ - { - "result": "failure", - "name": "Test#sum when a is 1 and b is 2 returns summary", - "execution_time": 0.009411, - "system_output": "Failure/Error: is_expected.to eq(3)\n\n expected: 3\n got: -1\n\n (compared using ==)\n./spec/test_spec.rb:12:in `block (4 levels) in <top (required)>'" - }, - { - "result": "failure", - "name": "Test#sum when a is 100 and b is 200 returns summary", - "execution_time": 0.000162, - "system_output": "Failure/Error: is_expected.to eq(300)\n\n expected: 300\n got: -100\n\n (compared using ==)\n./spec/test_spec.rb:21:in `block (4 levels) in <top (required)>'" - } - ], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - }, - { - "name": "java ant", - "summary": { "total": 3, "resolved": 0, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - } - ] -} diff --git a/spec/javascripts/reports/mock_data/no_failures_report.json b/spec/javascripts/reports/mock_data/no_failures_report.json deleted file mode 100644 index 7da9e0c6211..00000000000 --- a/spec/javascripts/reports/mock_data/no_failures_report.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "status": "success", - "summary": { "total": 11, "resolved": 0, "errored": 0, "failed": 0 }, - "suites": [ - { - "name": "rspec:pg", - "status": "success", - "summary": { "total": 8, "resolved": 0, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - }, - { - "name": "java ant", - "status": "success", - "summary": { "total": 3, "resolved": 0, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - } - ] -} diff --git a/spec/javascripts/reports/mock_data/resolved_failures.json b/spec/javascripts/reports/mock_data/resolved_failures.json deleted file mode 100644 index 49de6aa840b..00000000000 --- a/spec/javascripts/reports/mock_data/resolved_failures.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "status": "success", - "summary": { "total": 11, "resolved": 4, "errored": 0, "failed": 0 }, - "suites": [ - { - "name": "rspec:pg", - "status": "success", - "summary": { "total": 8, "resolved": 4, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [ - { - "status": "success", - "name": "Test#sum when a is 1 and b is 2 returns summary", - "execution_time": 0.000411, - "system_output": null, - "stack_trace": null - }, - { - "status": "success", - "name": "Test#sum when a is 100 and b is 200 returns summary", - "execution_time": 7.6e-5, - "system_output": null, - "stack_trace": null - } - ], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [ - { - "status": "success", - "name": "Test#sum when a is 4 and b is 4 returns summary", - "execution_time": 0.00342, - "system_output": null, - "stack_trace": null - }, - { - "status": "success", - "name": "Test#sum when a is 40 and b is 400 returns summary", - "execution_time": 0.0000231, - "system_output": null, - "stack_trace": null - } - ], - "existing_errors": [] - }, - { - "name": "java ant", - "status": "success", - "summary": { "total": 3, "resolved": 0, "errored": 0, "failed": 0 }, - "new_failures": [], - "resolved_failures": [], - "existing_failures": [], - "new_errors": [], - "resolved_errors": [], - "existing_errors": [] - } - ] -} |