~ubuntu-branches/ubuntu/saucy/maven-enforcer/saucy

« back to all changes in this revision

Viewing changes to enforcer-rules/src/test/java/org/apache/maven/plugins/enforcer/TestBannedDependencies.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-12 22:30:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110912223016-e2pk04avoq8bur7t
Tags: 1.0-1
* Team upload
* New upstream release.
* Add more Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.apache.maven.plugins.enforcer;
 
2
 
1
3
/*
2
4
 * Licensed to the Apache Software Foundation (ASF) under one
3
5
 * or more contributor license agreements.  See the NOTICE file
16
18
 * specific language governing permissions and limitations
17
19
 * under the License.
18
20
 */
19
 
package org.apache.maven.plugins.enforcer;
20
21
 
21
22
import java.io.IOException;
22
23
import java.util.ArrayList;
30
31
// TODO: Auto-generated Javadoc
31
32
/**
32
33
 * The Class TestBannedDependencies.
33
 
 * 
 
34
 *
34
35
 * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
35
36
 */
36
37
public class TestBannedDependencies
39
40
 
40
41
    /**
41
42
     * Test rule.
42
 
     * 
 
43
     *
43
44
     * @throws IOException Signals that an I/O exception has occurred.
44
45
     */
45
46
    public void testRule()
130
131
 
131
132
    /**
132
133
     * Test includes.
133
 
     * 
 
134
     *
134
135
     * @throws IOException Signals that an I/O exception has occurred.
135
136
     */
136
137
    public void testIncludes()
170
171
 
171
172
    /**
172
173
     * Simpler wrapper to execute and deal with the expected result.
173
 
     * 
 
174
     *
174
175
     * @param rule the rule
175
176
     * @param helper the helper
176
177
     * @param shouldFail the should fail