| 1 |
/* |
| 2 |
* Licensed to the Apache Software Foundation (ASF) under one |
| 3 |
* or more contributor license agreements. See the NOTICE file |
| 4 |
* distributed with this work for additional information |
| 5 |
* regarding copyright ownership. The ASF licenses this file |
| 6 |
* to you under the Apache License, Version 2.0 (the |
| 7 |
* "License"); you may not use this file except in compliance |
| 8 |
* with the License. You may obtain a copy of the License at |
| 9 |
* |
| 10 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
* |
| 12 |
* Unless required by applicable law or agreed to in writing, |
| 13 |
* software distributed under the License is distributed on an |
| 14 |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 |
* KIND, either express or implied. See the License for the |
| 16 |
* specific language governing permissions and limitations |
| 17 |
* under the License. |
| 18 |
*/ |
| 19 |
File buildLog = new File( basedir, 'build.log' ) |
| 20 |
assert buildLog.text.contains( 'Started Server' ) |
| 21 |
|
| 22 |
assert buildLog.text.contains( '(1a) >> javax.servlet.ServletContextListener loaded from jar:' ) |
| 23 |
|
| 24 |
assert buildLog.text.contains( '/org/eclipse/jetty/toolchain/jetty-servlet-api/'+servletApiVersion+'/jetty-servlet-api-'+servletApiVersion+'.jar!/javax/servlet/ServletContextListener.class << (1b)' ) |
| 25 |
|
| 26 |
assert buildLog.text.contains( '(2a) >> mca.common.CommonService loaded from file:' ) |
| 27 |
assert buildLog.text.contains( 'common/target/classes/mca/common/CommonService.class << (2b)' ) |
| 28 |
|
| 29 |
assert buildLog.text.contains( '(3a) >> mca.module.ModuleApi loaded from file:' ) |
| 30 |
assert buildLog.text.contains( 'module/module-api/target/classes/mca/module/ModuleApi.class << (3b)' ) |
| 31 |
|
| 32 |
assert buildLog.text.contains( '(4a) >> mca.module.ModuleImpl loaded from file:' ) |
| 33 |
assert buildLog.text.contains( 'module/module-impl/target/classes/mca/module/ModuleImpl.class << (4b)' ) |
| 34 |
|
| 35 |
assert buildLog.text.contains( '(5a) >> mca.webapp.WebAppServletListener loaded from file:' ) |
| 36 |
assert buildLog.text.contains( 'webapp-war/target/classes/mca/webapp/WebAppServletListener.class << (5b)' ) |