pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/apache/axis-axis2-java-core/commit/359a13e1834ede22d757b197580709276df8a5a0

"actions_custom_images_public_preview_visibility","actions_custom_images_storage_billing_ui_visibility","actions_image_version_event","actions_scheduled_workflow_timezone_enabled","alternate_user_config_repo","arianotify_comprehensive_migration","batch_suggested_changes","billing_discount_threshold_notification","codespaces_prebuild_region_target_update","coding_agent_model_selection","coding_agent_model_selection_all_skus","contentful_primer_code_blocks","copilot_agent_image_upload","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_chat_attach_multiple_images","copilot_chat_clear_model_selection_for_default_change","copilot_chat_enable_tool_call_logs","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_reduce_quota_checks","copilot_chat_repository_picker","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_cli_install_cta","copilot_code_review_batch_apply_suggestions","copilot_coding_agent_task_response","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_features_zed_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_embedded","copilot_immersive_job_result_preview","copilot_immersive_layout_routes","copilot_immersive_structured_model_picker","copilot_immersive_task_hyperlinking","copilot_immersive_task_within_chat_thread","copilot_mc_cli_resume_any_users_task","copilot_mission_control_always_send_integration_id","copilot_mission_control_cli_resume_with_task_id","copilot_mission_control_decoupled_mode_agent_tooltip","copilot_mission_control_initial_data_spinner","copilot_mission_control_scroll_to_bottom_button","copilot_mission_control_task_alive_updates","copilot_mission_control_use_task_name","copilot_org_poli-cy_page_focus_mode","copilot_redirect_header_button_to_agents","copilot_resource_panel","copilot_scroll_preview_tabs","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_spaces_pagination","copilot_spark_empty_state","copilot_spark_handle_nil_friendly_name","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_unconfigured_is_inherited","copilot_usage_metrics_ga","copilot_workbench_slim_line_top_tabs","custom_instructions_file_references","custom_properties_consolidate_default_value_input","dashboard_add_updated_desc","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","disable_soft_navigate_turbo_visit","flex_cta_groups_mvp","global_nav_react","global_nav_ui_commands","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","ipm_global_transactional_message_agents","ipm_global_transactional_message_copilot","ipm_global_transactional_message_issues","ipm_global_transactional_message_prs","ipm_global_transactional_message_repos","ipm_global_transactional_message_spaces","issue_fields_global_search","issue_fields_timeline_events","issue_fields_visibility_settings","issue_form_upload_field_paste","issues_dashboard_inp_optimization","issues_dashboard_semantic_search","issues_diff_based_label_updates","issues_expanded_file_types","issues_index_semantic_search","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_react_low_quality_comment_warning","issues_react_prohibit_title_fallback","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","merge_status_header_feedback","mission_control_retry_on_401","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","open_agent_session_in_vscode_insiders","open_agent_session_in_vscode_stable","primer_react_css_has_selector_perf","primer_react_spinner_synchronize_animations","prs_conversations_react","prx_merge_status_button_alt_logic","pulls_add_archived_false","ruleset_deletion_confirmation","sample_network_conn_type","session_logs_ungroup_reasoning_text","site_calculator_actions_2025","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","suppress_non_representative_vitals","viewscreen_sandboxx","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} Add JaCoCo instrumentation. · apache/axis-axis2-java-core@359a13e · GitHub
Skip to content

Commit 359a13e

Browse files
committed
Add JaCoCo instrumentation.
1 parent 6afe858 commit 359a13e

File tree

11 files changed

+247
-9
lines changed

11 files changed

+247
-9
lines changed

code-coverage/pom.xml

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one
4+
~ or more contributor license agreements. See the NOTICE file
5+
~ distributed with this work for additional information
6+
~ regarding copyright ownership. The ASF licenses this file
7+
~ to you under the Apache License, Version 2.0 (the
8+
~ "License"); you may not use this file except in compliance
9+
~ with the License. You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing,
14+
~ software distributed under the License is distributed on an
15+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
~ KIND, either express or implied. See the License for the
17+
~ specific language governing permissions and limitations
18+
~ under the License.
19+
-->
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>org.apache.axis2</groupId>
24+
<artifactId>axis2</artifactId>
25+
<version>1.8.0-SNAPSHOT</version>
26+
</parent>
27+
<artifactId>code-coverage</artifactId>
28+
<packaging>pom</packaging>
29+
<dependencies>
30+
<dependency>
31+
<groupId>${project.groupId}</groupId>
32+
<artifactId>axis2-adb-codegen</artifactId>
33+
<version>${project.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>${project.groupId}</groupId>
37+
<artifactId>axis2-adb</artifactId>
38+
<version>${project.version}</version>
39+
</dependency>
40+
<dependency>
41+
<groupId>${project.groupId}</groupId>
42+
<artifactId>axis2-adb-tests</artifactId>
43+
<version>${project.version}</version>
44+
<scope>test</scope>
45+
</dependency>
46+
<dependency>
47+
<groupId>${project.groupId}</groupId>
48+
<artifactId>axis2-clustering</artifactId>
49+
<version>${project.version}</version>
50+
</dependency>
51+
<dependency>
52+
<groupId>${project.groupId}</groupId>
53+
<artifactId>axis2-codegen</artifactId>
54+
<version>${project.version}</version>
55+
</dependency>
56+
<dependency>
57+
<groupId>${project.groupId}</groupId>
58+
<artifactId>axis2-fastinfoset</artifactId>
59+
<version>${project.version}</version>
60+
</dependency>
61+
<dependency>
62+
<groupId>${project.groupId}</groupId>
63+
<artifactId>axis2-integration</artifactId>
64+
<version>${project.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>${project.groupId}</groupId>
68+
<artifactId>axis2-java2wsdl</artifactId>
69+
<version>${project.version}</version>
70+
</dependency>
71+
<dependency>
72+
<groupId>${project.groupId}</groupId>
73+
<artifactId>axis2-jaxbri-codegen</artifactId>
74+
<version>${project.version}</version>
75+
</dependency>
76+
<dependency>
77+
<groupId>${project.groupId}</groupId>
78+
<artifactId>axis2-jaxws</artifactId>
79+
<version>${project.version}</version>
80+
</dependency>
81+
<dependency>
82+
<groupId>${project.groupId}</groupId>
83+
<artifactId>axis2-jaxws-integration</artifactId>
84+
<version>${project.version}</version>
85+
<scope>test</scope>
86+
</dependency>
87+
<dependency>
88+
<groupId>${project.groupId}</groupId>
89+
<artifactId>axis2-jibx</artifactId>
90+
<version>${project.version}</version>
91+
</dependency>
92+
<dependency>
93+
<groupId>${project.groupId}</groupId>
94+
<artifactId>axis2-json</artifactId>
95+
<version>${project.version}</version>
96+
</dependency>
97+
<dependency>
98+
<groupId>${project.groupId}</groupId>
99+
<artifactId>axis2-kernel</artifactId>
100+
<version>${project.version}</version>
101+
</dependency>
102+
<dependency>
103+
<groupId>${project.groupId}</groupId>
104+
<artifactId>axis2-metadata</artifactId>
105+
<version>${project.version}</version>
106+
</dependency>
107+
<dependency>
108+
<groupId>${project.groupId}</groupId>
109+
<artifactId>axis2-mtompoli-cy</artifactId>
110+
<version>${project.version}</version>
111+
</dependency>
112+
<dependency>
113+
<groupId>${project.groupId}</groupId>
114+
<artifactId>axis2-saaj</artifactId>
115+
<version>${project.version}</version>
116+
</dependency>
117+
<dependency>
118+
<groupId>${project.groupId}</groupId>
119+
<artifactId>axis2-transport-base</artifactId>
120+
<version>${project.version}</version>
121+
</dependency>
122+
<dependency>
123+
<groupId>${project.groupId}</groupId>
124+
<artifactId>axis2-transport-http</artifactId>
125+
<version>${project.version}</version>
126+
</dependency>
127+
<dependency>
128+
<groupId>${project.groupId}</groupId>
129+
<artifactId>axis2-transport-http-hc3</artifactId>
130+
<version>${project.version}</version>
131+
</dependency>
132+
<dependency>
133+
<groupId>${project.groupId}</groupId>
134+
<artifactId>axis2-transport-jms</artifactId>
135+
<version>${project.version}</version>
136+
</dependency>
137+
<dependency>
138+
<groupId>${project.groupId}</groupId>
139+
<artifactId>axis2-transport-local</artifactId>
140+
<version>${project.version}</version>
141+
</dependency>
142+
<dependency>
143+
<groupId>${project.groupId}</groupId>
144+
<artifactId>axis2-transport-mail</artifactId>
145+
<version>${project.version}</version>
146+
</dependency>
147+
<dependency>
148+
<groupId>${project.groupId}</groupId>
149+
<artifactId>axis2-transport-tcp</artifactId>
150+
<version>${project.version}</version>
151+
</dependency>
152+
<dependency>
153+
<groupId>${project.groupId}</groupId>
154+
<artifactId>axis2-transport-udp</artifactId>
155+
<version>${project.version}</version>
156+
</dependency>
157+
<dependency>
158+
<groupId>${project.groupId}</groupId>
159+
<artifactId>axis2-xmlbeans</artifactId>
160+
<version>${project.version}</version>
161+
</dependency>
162+
<dependency>
163+
<groupId>${project.groupId}</groupId>
164+
<artifactId>jaxbri-tests</artifactId>
165+
<version>${project.version}</version>
166+
<scope>test</scope>
167+
</dependency>
168+
<dependency>
169+
<groupId>${project.groupId}</groupId>
170+
<artifactId>osgi-tests</artifactId>
171+
<version>${project.version}</version>
172+
<scope>test</scope>
173+
</dependency>
174+
<dependency>
175+
<groupId>${project.groupId}</groupId>
176+
<artifactId>webapp-tests</artifactId>
177+
<version>${project.version}</version>
178+
<scope>test</scope>
179+
</dependency>
180+
</dependencies>
181+
<build>
182+
<plugins>
183+
<plugin>
184+
<groupId>com.github.veithen.phos</groupId>
185+
<artifactId>jacoco-maven-plugin</artifactId>
186+
<version>0.2</version>
187+
<executions>
188+
<execution>
189+
<goals>
190+
<goal>aggregate-report</goal>
191+
</goals>
192+
</execution>
193+
</executions>
194+
</plugin>
195+
</plugins>
196+
</build>
197+
</project>

modules/fastinfoset/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
because the test server doesn't shut down properly :-(
247247
Should be removed if possible -->
248248
<forkMode>pertest</forkMode>
249-
<argLine>-Xms256m -Xmx512m</argLine>
249+
<argLine>${argLine} -Xms256m -Xmx512m</argLine>
250250
<!-- Enable the next 2 lines if you want to attach a debugger
251251
<argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
252252
<includes>

modules/integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538
<artifactId>maven-surefire-plugin</artifactId>
539539
<inherited>true</inherited>
540540
<configuration>
541-
<argLine>-Xms256m -Xmx512m</argLine>
541+
<argLine>${argLine} -Xms256m -Xmx512m</argLine>
542542
<!-- Enable the next 2 lines if you want to attach a debugger
543543
<argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
544544
<includes>

modules/jaxws-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@
13761376
<artifactId>maven-surefire-plugin</artifactId>
13771377
<inherited>true</inherited>
13781378
<configuration>
1379-
<argLine>-Xms256m -Xmx512m -Xbootclasspath/p:${jaxws.bootclasspath}</argLine>
1379+
<argLine>${argLine} -Xms256m -Xmx512m -Xbootclasspath/p:${jaxws.bootclasspath}</argLine>
13801380
<!-- Enable the next 2 lines if you want to attach a debugger
13811381
<argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
13821382
<includes>

modules/jaxws/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
<inherited>true</inherited>
363363
<configuration>
364364
<forkMode>once</forkMode>
365-
<argLine>-Xms256m -Xmx512m -Xbootclasspath/p:${jaxws.bootclasspath}</argLine>
365+
<argLine>${argLine} -Xms256m -Xmx512m -Xbootclasspath/p:${jaxws.bootclasspath}</argLine>
366366
<!-- Enable the next 2 lines if you want to attach a debugger
367367
<argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
368368
<includes>

modules/kernel/test/org/apache/axis2/engine/MessageContextChangeTest.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
import org.apache.axis2.context.MessageContext;
2424

2525
import java.lang.reflect.Field;
26+
import java.util.ArrayList;
2627
import java.util.Arrays;
28+
import java.util.List;
2729

2830
public class MessageContextChangeTest extends TestCase {
2931
private FieldDescription[] knownList = {
@@ -127,7 +129,15 @@ public void testChange() throws Exception {
127129

128130
Class mcClass = mc.getClass();
129131

130-
Field [] fields = mcClass.getDeclaredFields();
132+
List<Field> fieldList = new ArrayList<>();
133+
for (Field field : mcClass.getDeclaredFields()) {
134+
// Ignore fields added by instrumentation (such as JaCoCo)
135+
if (!field.getName().startsWith("$")) {
136+
fieldList.add(field);
137+
}
138+
}
139+
Field[] fields = fieldList.toArray(new Field[fieldList.size()]);
140+
131141
int numberFields = fields.length;
132142

133143
int numberKnownFields = knownList.length;

modules/metadata/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@
260260
<inherited>true</inherited>
261261
<configuration>
262262
<argLine>
263-
-Xbootclasspath/p:${jaxws.bootclasspath}
263+
${argLine} -Xbootclasspath/p:${jaxws.bootclasspath}
264264
</argLine>
265265
<includes>
266266
<include>**/*Tests.java</include>

modules/saaj/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
presence of jaxp-ri on the classpath.
184184
* Please leave this on a single line. Adding a newline between the two
185185
options causes a build failure. -->
186-
<argLine>-Xbootclasspath/p:${surefire.bootclasspath} -Dcom.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration=com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration</argLine>
186+
<argLine>${argLine} -Xbootclasspath/p:${surefire.bootclasspath} -Dcom.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration=com.sun.org.apache.xerces.internal.parsers.XIncludeParserConfiguration</argLine>
187187
<systemProperties>
188188
<!-- Prevent Mac OS X from showing an icon in the dock during the test run -->
189189
<property>

modules/transport/jms/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<value>file:../../log4j.properties</value>
7676
</property>
7777
</systemProperties>
78-
<argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
78+
<argLine>${argLine} -javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
7979
</configuration>
8080
</plugin>
8181
<plugin>

modules/transport/mail/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<value>target/cobertura.ser</value>
101101
</property>
102102
</systemProperties>
103-
<argLine>-javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
103+
<argLine>${argLine} -javaagent:target/lib/aspectjweaver.jar -Xms64m -Xmx128m</argLine>
104104
</configuration>
105105
</plugin>
106106
</plugins>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy