Skip to content

Commit

Permalink
use camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Aug 23, 2024
1 parent 849cc25 commit ee06c0a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void setUp() throws ServletException, IOException {
}

@Test
void test_send_no_parent() {
void testSendNoParent() {
response.sendError(0);
response.sendError(0, "");
response.sendRedirect("");
Expand All @@ -64,7 +64,7 @@ void test_send_no_parent() {
}

@Test
void test_send_with_parent() {
void testSendWithParent() {
runWithSpan(
"parent",
() -> {
Expand Down Expand Up @@ -107,7 +107,7 @@ void test_send_with_parent() {
}

@Test
void test_send_with_exception() throws ServletException, IOException {
void testSendWithException() throws ServletException, IOException {
RuntimeException ex = new RuntimeException("some error");
TestResponse response =
new TestResponse() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected boolean assertParentOnRedirect() {
}

@Test
void snippet_injection_with_ServletOutputStream() {
void snippetInjectionWithServletOutputStream() {
ExperimentalSnippetHolder.setSnippet(
"\n <script type=\"text/javascript\"> Test Test</script>");
AggregatedHttpRequest request = request(HTML_SERVLET_OUTPUT_STREAM, "GET");
Expand Down Expand Up @@ -185,7 +185,7 @@ void snippet_injection_with_ServletOutputStream() {
}

@Test
void snippet_injection_with_PrintWriter() {
void snippetInjectionWithPrintWriter() {
ExperimentalSnippetHolder.setSnippet("\n <script type=\"text/javascript\"> Test </script>");
AggregatedHttpRequest request = request(HTML_PRINT_WRITER, "GET");
AggregatedHttpResponse response = client.execute(request).aggregate().join();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void setUp() throws ServletException, IOException {
}

@Test
void test_send_no_parent() throws IOException {
void testSendNoParent() throws IOException {
response.sendError(0);
response.sendError(0, "");
response.sendRedirect("");
Expand All @@ -63,7 +63,7 @@ void test_send_no_parent() throws IOException {
}

@Test
void test_send_with_parent() throws IOException {
void testSendWithParent() throws IOException {
runWithSpan(
"parent",
() -> {
Expand Down Expand Up @@ -106,7 +106,7 @@ void test_send_with_parent() throws IOException {
}

@Test
void test_send_with_exception() throws ServletException, IOException {
void testSendWithException() throws ServletException, IOException {
TestResponse response =
new TestResponse() {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void access_log_has_ids_for__count_requests(int count) {
}

@Test
void access_log_has_ids_for_error_request() {
void accessLogHasIdsForErrorRequest() {
Assumptions.assumeTrue(testError());

AggregatedHttpRequest request = request(ACCESS_LOG_ERROR, "GET");
Expand Down

0 comments on commit ee06c0a

Please sign in to comment.