Class ProductTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
io.cryptolens.ProductTest
All Implemented Interfaces:
junit.framework.Test

public class ProductTest extends junit.framework.TestCase
Unit test for simple App.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProductTest(String testName)
    Create the test case
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    static junit.framework.Test
     
    void
    Rigourous Test :-)
    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, setUp, tearDown, toString

    Methods inherited from class java.lang.Object

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

    • ProductTest

      public ProductTest(String testName)
      Create the test case
      Parameters:
      testName - name of the test case
  • Method Details

    • suite

      public static junit.framework.Test suite()
      Returns:
      the suite of tests being tested
    • init

      public void init() throws Exception
      Throws:
      Exception
    • testApp

      public void testApp() throws Exception
      Rigourous Test :-)
      Throws:
      Exception
    • testGetProducts

      public void testGetProducts() throws Exception
      Throws:
      Exception