Package j2meunit.framework

Examples of j2meunit.framework.TestSuite


  //~ Methods ----------------------------------------------------------------

  public Test suite()
  {
    TestSuite suite = new TestSuite();

    suite.addTest(new MicroSafeModelStorageTest().suite());

    return suite;
  }
View Full Code Here


   *
   * @see TestCase#suite()
   */
  public Test suite()
  {
    TestSuite aSuite = new TestSuite();

    aSuite.addTest(new MicroSafeModelStorageTest("testModelStorage",
                           new TestMethod()
                           {
                             public void run(TestCase tc)
                             {
                               ((MicroSafeModelStorageTest)
View Full Code Here

   *
   * @return The test suite
   */
  public Test suite()
  {
    TestSuite suite = new TestSuite();

    suite.addTest(new HierarchicalStorageTest().suite());
    suite.addTest(new IntArrayTest().suite());
    suite.addTest(new PropertiesTest().suite());

    return suite;
  }
View Full Code Here

    assertEquals("0.01", JsSystem.formatNumber(JsObject.ID_TO_FIXED, 0.012345, 2));
    assertEquals("0.0", JsSystem.formatNumber(JsObject.ID_TO_FIXED, 0.000012345, 1));
  }
 
  public Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new TextUtilTest("testExp") {
      public void runTest() {
        testExp();
      }
    });
    suite.addTest(new TextUtilTest("testLn") {
      public void runTest() {
        testLn();
      }
    });
    suite.addTest(new TextUtilTest("testAvg") {
      public void runTest() {
        testAvg();
      }
    });
    suite.addTest(new TextUtilTest("testFormatNumber") {
      public void runTest() {
        testFormatNumber();
      }
    });
    return suite;
View Full Code Here

   *
   * @see TestCase#suite()
   */
  public Test suite()
  {
    TestSuite aSuite = new TestSuite();

    aSuite.addTest(new IntArrayTest("testArrayAccess", new TestMethod()
      {
        public void run(TestCase tc)
        {
          ((IntArrayTest) tc).testArrayAccess();
        }
View Full Code Here

   *
   * @see TestCase#suite()
   */
  public Test suite()
  {
    TestSuite aSuite = new TestSuite();

    aSuite.addTest(new HierarchicalStorageTest("testHierarchicalStorage",
                             new TestMethod()
      {
        public void run(TestCase tc)
        {
          ((HierarchicalStorageTest) tc).testHierarchicalStorage();
        }
      }));

    aSuite.addTest(new HierarchicalStorageTest("testStoreNodeHierarchy",
                             new TestMethod()
      {
        public void run(TestCase tc)
        {
          ((HierarchicalStorageTest) tc).testStoreNodeHierarchy();
View Full Code Here

   *
   * @see TestCase#suite()
   */
  public Test suite()
  {
    TestSuite aSuite = new TestSuite();

    aSuite.addTest(new PropertiesTest("testLoadProperties",
                      new TestMethod()
                      {
                        public void run(TestCase tc)
                          throws IOException
                        {
View Full Code Here

TOP

Related Classes of j2meunit.framework.TestSuite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.