aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.examples.test/src/test/resources/verify-offline.groovy
blob: 0f00234bb5e198e8f3adcdb69fc1e7a0815a0af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*******************************************************************************
 * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Mirko Friedenhagen - initial API and implementation
 *
 *******************************************************************************/
File realBaseDir = new File(basedir, "../../../target/it-offline/build");
assert new File(realBaseDir, "target/site/jacoco/index.html").exists();
assert !new File(realBaseDir, "target/site/jacoco-it/index.html").exists();
assert new File(realBaseDir, "build.log").getText().contains(":restore-instrumented-classes");
return true;