@@ -59,11 +59,20 @@ public void getPluginsShouldReturnTheListOfInstalledPluginsForJenkins20() {
59
59
// TODO: The list of plugins is contained in the plugin.txt
60
60
// which should be read and used as base of comparison.
61
61
// instead of maintaining at two locations.
62
- Plugin [] expectedPlugins = { createPlugin ("token-macro" , "1.12.1" ), createPlugin ("testng-plugin" , "1.10" ),
63
- createPlugin ("job-dsl" , "1.41" ), createPlugin ("junit" , "1.10" ), createPlugin ("jacoco" , "1.0.19" ),
64
- createPlugin ("config-file-provider" , "2.10.0" ), createPlugin ("timestamper" , "1.7.2" ),
65
- createPlugin ("credentials" , "1.24" ), createPlugin ("throttle-concurrents" , "1.9.0" ),
66
- createPlugin ("cloudbees-folder" , "5.12" ), };
62
+ //@formatter:off
63
+ Plugin [] expectedPlugins = {
64
+ createPlugin ("token-macro" , "1.12.1" ),
65
+ createPlugin ("testng-plugin" , "1.10" ),
66
+ createPlugin ("job-dsl" , "1.41" ),
67
+ createPlugin ("junit" , "1.10" ),
68
+ createPlugin ("jacoco" , "1.0.19" ),
69
+ createPlugin ("config-file-provider" , "2.10.0" ),
70
+ createPlugin ("timestamper" , "1.7.2" ),
71
+ createPlugin ("credentials" , "1.24" ),
72
+ createPlugin ("throttle-concurrents" , "1.9.0" ),
73
+ createPlugin ("cloudbees-folder" , "5.12" ),
74
+ };
75
+ //@formatter:on
67
76
List <Plugin > plugins = pluginManager .getPlugins ();
68
77
69
78
for (Plugin plugin : plugins ) {
@@ -91,19 +100,37 @@ public void getPluginsShouldReturnTheListOfInstalledPluginsFor1651() {
91
100
// TODO: The list of plugins is contained in the plugin.txt
92
101
// which should be read and used as base of comparison.
93
102
// instead of maintaining at two locations.
94
- Plugin [] expectedPlugins = { createPlugin ("token-macro" , "1.12.1" ), createPlugin ("translation" , "1.10" ),
95
- createPlugin ("testng-plugin" , "1.10" ), createPlugin ("matrix-project" , "1.4.1" ),
96
- createPlugin ("job-dsl" , "1.41" ), createPlugin ("windows-slaves" , "1.0" ),
97
- createPlugin ("antisamy-markup-formatter" , "1.1" ), createPlugin ("junit" , "1.10" ),
98
- createPlugin ("maven-plugin" , "2.7.1" ), createPlugin ("external-monitor-job" , "1.4" ),
99
- createPlugin ("jacoco" , "1.0.19" ), createPlugin ("pam-auth" , "1.1" ), createPlugin ("ldap" , "1.11" ),
100
- createPlugin ("script-security" , "1.13" ), createPlugin ("mailer" , "1.11" ), createPlugin ("cvs" , "2.11" ),
101
- createPlugin ("ant" , "1.2" ), createPlugin ("config-file-provider" , "2.10.0" ),
102
- createPlugin ("ssh-credentials" , "1.10" ), createPlugin ("matrix-auth" , "1.1" ),
103
- createPlugin ("javadoc" , "1.1" ), createPlugin ("timestamper" , "1.7.2" ),
104
- createPlugin ("credentials" , "1.24" ), createPlugin ("throttle-concurrents" , "1.9.0" ),
105
- createPlugin ("subversion" , "1.54" ), createPlugin ("ssh-slaves" , "1.9" ),
106
- createPlugin ("cloudbees-folder" , "5.12" ), };
103
+ //@formatter:off
104
+ Plugin [] expectedPlugins = {
105
+ createPlugin ("token-macro" , "1.12.1" ),
106
+ createPlugin ("translation" , "1.10" ),
107
+ createPlugin ("testng-plugin" , "1.10" ),
108
+ createPlugin ("matrix-project" , "1.4.1" ),
109
+ createPlugin ("job-dsl" , "1.41" ),
110
+ createPlugin ("windows-slaves" , "1.0" ),
111
+ createPlugin ("antisamy-markup-formatter" , "1.1" ),
112
+ createPlugin ("junit" , "1.10" ),
113
+ createPlugin ("maven-plugin" , "2.7.1" ),
114
+ createPlugin ("external-monitor-job" , "1.4" ),
115
+ createPlugin ("jacoco" , "1.0.19" ),
116
+ createPlugin ("pam-auth" , "1.1" ),
117
+ createPlugin ("ldap" , "1.11" ),
118
+ createPlugin ("script-security" , "1.13" ),
119
+ createPlugin ("mailer" , "1.11" ),
120
+ createPlugin ("cvs" , "2.11" ),
121
+ createPlugin ("ant" , "1.2" ),
122
+ createPlugin ("config-file-provider" , "2.10.0" ),
123
+ createPlugin ("ssh-credentials" , "1.10" ),
124
+ createPlugin ("matrix-auth" , "1.1" ),
125
+ createPlugin ("javadoc" , "1.1" ),
126
+ createPlugin ("timestamper" , "1.7.2" ),
127
+ createPlugin ("credentials" , "1.24" ),
128
+ createPlugin ("throttle-concurrents" , "1.9.0" ),
129
+ createPlugin ("subversion" , "1.54" ),
130
+ createPlugin ("ssh-slaves" , "1.9" ),
131
+ createPlugin ("cloudbees-folder" , "5.12" ),
132
+ };
133
+ //@formatter:on
107
134
List <Plugin > plugins = pluginManager .getPlugins ();
108
135
109
136
for (Plugin plugin : plugins ) {
0 commit comments