Skip to content

Commit acc5924

Browse files
committed
remove clm from version/framework specific tests
1 parent be4dc67 commit acc5924

21 files changed

+33
-164
lines changed

tests/integration/external/drupal6/test_span_externals.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@
6262
"timestamp": "??"
6363
},
6464
{},
65-
{
66-
"code.lineno": "??",
67-
"code.filepath": "??",
68-
"code.function": "drupal_http_request"
69-
}
65+
{}
7066
],
7167
[
7268
{

tests/integration/external/drupal6/test_spans_post.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@
6262
"parentId": "??"
6363
},
6464
{},
65-
{
66-
"code.lineno": "??",
67-
"code.filepath": "??",
68-
"code.function": "drupal_http_request"
69-
}
65+
{}
7066
],
7167
[
7268
{

tests/integration/external/drupal7/test_spans_post.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
/*SKIPIF
1616
<?php
1717
require("skipif.inc");
18-
19-
if (version_compare(PHP_VERSION, "7.0", "<")) {
20-
die("skip: CLM for PHP 5 not supported\n");
21-
}
2218
*/
2319

2420
/*EXPECT_SPAN_EVENTS
@@ -62,11 +58,7 @@
6258
"parentId": "??"
6359
},
6460
{},
65-
{
66-
"code.lineno": "??",
67-
"code.filepath": "??",
68-
"code.function": "drupal_http_request"
69-
}
61+
{}
7062
],
7163
[
7264
{

tests/integration/external/drupal7/test_spans_sets_external_span_correctly.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
/*SKIPIF
1616
<?php
1717
require("skipif.inc");
18-
19-
if (version_compare(PHP_VERSION, "7.0", "<")) {
20-
die("skip: CLM for PHP 5 not supported\n");
21-
}
2218
*/
2319

2420
/*EXPECT_SPAN_EVENTS
@@ -62,11 +58,7 @@
6258
"timestamp": "??"
6359
},
6460
{},
65-
{
66-
"code.lineno": "??",
67-
"code.filepath": "??",
68-
"code.function": "drupal_http_request"
69-
}
61+
{}
7062
],
7163
[
7264
{

tests/integration/jit/function/test_span_events_are_created_upon_caught_error.php84.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,7 @@
138138
{},
139139
{
140140
"error.message": "foo",
141-
"error.class": "E_USER_WARNING",
142-
"code.lineno": "??",
143-
"code.filepath": "__FILE__",
144-
"code.function": "??"
141+
"error.class": "E_USER_WARNING"
145142
}
146143
],
147144
[
@@ -159,11 +156,7 @@
159156
"parentId": "??"
160157
},
161158
{},
162-
{
163-
"code.lineno": "??",
164-
"code.filepath": "__FILE__",
165-
"code.function": "??"
166-
}
159+
{}
167160
]
168161
]
169162
]

tests/integration/jit/function/test_span_events_are_created_upon_uncaught_error.php84.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@
105105
{},
106106
{
107107
"error.message": "foo",
108-
"error.class": "E_USER_ERROR",
109-
"code.lineno": "??",
110-
"code.filepath": "__FILE__",
111-
"code.function": "??"
108+
"error.class": "E_USER_ERROR"
112109
}
113110
]
114111
]

tests/integration/jit/function/test_span_events_are_created_upon_uncaught_handled_exception.php84.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@
141141
{},
142142
{
143143
"error.message": "Uncaught exception 'RuntimeException' with message 'oops' in __FILE__:??",
144-
"error.class": "RuntimeException",
145-
"code.lineno": "??",
146-
"code.filepath": "__FILE__",
147-
"code.function": "a"
144+
"error.class": "RuntimeException"
148145
}
149146
],
150147
[
@@ -162,11 +159,7 @@
162159
"parentId": "??"
163160
},
164161
{},
165-
{
166-
"code.lineno": "??",
167-
"code.filepath": "__FILE__",
168-
"code.function": "{closure:__FILE__:??}"
169-
}
162+
{}
170163
]
171164
]
172165
]

tests/integration/jit/function/test_span_events_are_created_upon_uncaught_handled_exception_invalid_handler.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@
151151
{},
152152
{
153153
"error.message": "Uncaught exception 'RuntimeException' with message 'oops' in __FILE__:??",
154-
"error.class": "RuntimeException",
155-
"code.lineno": "??",
156-
"code.filepath": "__FILE__",
157-
"code.function": "a"
154+
"error.class": "RuntimeException"
158155
}
159156
],
160157
[
@@ -172,11 +169,7 @@
172169
"parentId": "??"
173170
},
174171
{},
175-
{
176-
"code.lineno": "??",
177-
"code.filepath": "__FILE__",
178-
"code.function": "{closure}"
179-
}
172+
{}
180173
]
181174
]
182175
]

tests/integration/jit/tracing/test_span_events_are_created_upon_caught_error.php84.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@
137137
{},
138138
{
139139
"error.message": "foo",
140-
"error.class": "E_USER_WARNING",
141-
"code.lineno": "??",
142-
"code.filepath": "__FILE__",
143-
"code.function": "??"
140+
"error.class": "E_USER_WARNING"
144141
}
145142
],
146143
[
@@ -158,11 +155,7 @@
158155
"parentId": "??"
159156
},
160157
{},
161-
{
162-
"code.lineno": "??",
163-
"code.filepath": "__FILE__",
164-
"code.function": "??"
165-
}
158+
{}
166159
]
167160
]
168161
]

tests/integration/jit/tracing/test_span_events_are_created_upon_uncaught_error.php84.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@
105105
{},
106106
{
107107
"error.message": "foo",
108-
"error.class": "E_USER_WARNING",
109-
"code.lineno": "??",
110-
"code.filepath": "__FILE__",
111-
"code.function": "??"
108+
"error.class": "E_USER_WARNING"
112109
}
113110
]
114111
]

0 commit comments

Comments
 (0)