maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject svn commit: r1618853 - /maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy
Date Tue, 19 Aug 2014 12:54:04 GMT
Author: rfscholte
Date: Tue Aug 19 12:54:03 2014
New Revision: 1618853

URL: http://svn.apache.org/r1618853
Log:
Ensure IT fails for the right reason

Added:
    maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy

Added: maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy?rev=1618853&view=auto
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy (added)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/it/check-fail/verify.groovy Tue Aug 19
12:54:03 2014
@@ -0,0 +1,22 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+def buildLog = new File( basedir, 'build.log' )
+
+assert buildLog.text.contains( "[INFO] There are 3 checkstyle errors." )



Mime
View raw message