×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: XML
Posted by: user46556
Added: Dec 24, 2016 11:37 AM
Views: 12
Tags: no tags
  1.  Error reading included file Templates/UnitTests/Templates/Licenses/license-default.txt
  2. package com.thoughtworks.xstream.tools.benchmark;
  3.  
  4. import junit.framework.TestCase;
  5.  
  6. /**
  7.  *
  8.  * @author mikepipo
  9.  */
  10.  
  11.  
  12. public class HarnessTest extends TestCase {
  13.    
  14. //    public HarnessTest(String testName) {
  15.         super(testName);
  16.     }
  17.    
  18.     @Override
  19.     protected void setUp() throws Exception {
  20.         super.setUp();
  21.     }
  22.    
  23.     @Override
  24.     protected void tearDown() throws Exception {
  25.         super.tearDown();
  26.     }
  27.  
  28.     /**
  29.      * Test of addProduct method, of class Harness.
  30.      */
  31.     public void testAddProduct() {
  32.         System.out.println("addProduct");
  33.         Product product = null;
  34.         Harness instance = new Harness();
  35.         instance.addProduct(product);
  36.         // TODO review the generated test code and remove the default call to fail.
  37.         fail("The test case is a prototype.");
  38.     }
  39.  
  40.     /**
  41.      * Test of addTarget method, of class Harness.
  42.      */
  43.     public void testAddTarget() {
  44.         System.out.println("addTarget");
  45.         Target target = null;
  46.         Harness instance = new Harness();
  47.         instance.addTarget(target);
  48.         // TODO review the generated test code and remove the default call to fail.
  49.         fail("The test case is a prototype.");
  50.     }
  51.  
  52.     /**
  53.      * Test of addMetric method, of class Harness.
  54.      */
  55.     public void testAddMetric() {
  56.         System.out.println("addMetric");
  57.         Metric metric = null;
  58.         Harness instance = new Harness();
  59.         instance.addMetric(metric);
  60.         // TODO review the generated test code and remove the default call to fail.
  61.         fail("The test case is a prototype.");
  62.     }
  63.  
  64.     /**
  65.      * Test of run method, of class Harness.
  66.      */
  67.     public void testRun() {
  68.         System.out.println("run");
  69.         Reporter reporter = null;
  70.         Harness instance = new Harness();
  71.         instance.run(reporter);
  72.         // TODO review the generated test code and remove the default call to fail.
  73.         fail("The test case is a prototype.");
  74.     }
  75.    
  76. }
  77.