org.apache.maven.plugins.enforcer
Class TestRequireProperty

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugins.enforcer.TestRequireProperty
All Implemented Interfaces:
Test

public class TestRequireProperty
extends TestCase

The Class TestRequireProperty.

Author:
Paul Gier

Constructor Summary
TestRequireProperty()
           
 
Method Summary
 void testId()
          Test id.
 void testRule()
          Test rule.
 void testRuleWithRegex()
          Test rule with regex.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRequireProperty

public TestRequireProperty()
Method Detail

testRule

public void testRule()
              throws EnforcerRuleException
Test rule.

Throws:
EnforcerRuleException - the enforcer rule exception

testRuleWithRegex

public void testRuleWithRegex()
                       throws EnforcerRuleException
Test rule with regex.

Throws:
EnforcerRuleException - the enforcer rule exception

testId

public void testId()
Test id.



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.