Class CandidateItemOfferTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.broadleafcommerce.core.offer.domain.CandidateItemOfferTest
All Implemented Interfaces:
junit.framework.Test

public class CandidateItemOfferTest extends junit.framework.TestCase
Author:
jfischer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
     
    void
     
    void
     

    Methods inherited from class junit.framework.TestCase

    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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CandidateItemOfferTest

      public CandidateItemOfferTest()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • testCalculateSavingsForOrderItem

      public void testCalculateSavingsForOrderItem() throws Exception
      Throws:
      Exception
    • testCalculateMaximumNumberOfUses

      public void testCalculateMaximumNumberOfUses() throws Exception
      Throws:
      Exception
    • testCalculateMaxUsesForItemCriteria

      public void testCalculateMaxUsesForItemCriteria() throws Exception
      Throws:
      Exception