API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.test.internal. InterfaceTestTest View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.jot.test.internal;

import net.jot.test.*;
import net.jot.testing.JOTTestable;
import net.jot.testing.JOTTester;

/**
 * Internal Test case for interface method of unit testing
 * @author thibautc
 */
public class InterfaceTestTest implements JOTTestable
{
    private static int add(int i1,int i2)
    {
        return i1+i2;
    }
    
    public void jotTest() throws Throwable
    {
        TestTest test=new TestTest();
        JOTTester.checkIf("Test Interface Test", add(1,3)==4);
    }
}

Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar