edu.cmu.cs.crystal.cfg.eclipse
Class If

java.lang.Object
  extended by edu.cmu.cs.crystal.cfg.eclipse.If

public class If
extends Object

Author:
Ciera Jaspan

Constructor Summary
If()
           
 
Method Summary
 void emptyElse(int a, int b)
           
 void emptyElseTest()
           
 int returning(int a, int b)
           
 int returningEmptyElse(boolean cond, int a, int b)
           
 void returningEmptyElseTest()
           
 void returningTest()
           
static void setup()
           
 void simple(boolean cond, int a, int b)
           
 void simpleTest()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

If

public If()
Method Detail

setup

public static void setup()
                  throws CoreException
Throws:
CoreException

simpleTest

public void simpleTest()
                throws Exception
Throws:
Exception

simple

public void simple(boolean cond,
                   int a,
                   int b)

emptyElseTest

public void emptyElseTest()
                   throws Exception
Throws:
Exception

emptyElse

public void emptyElse(int a,
                      int b)

returningTest

public void returningTest()
                   throws Exception
Throws:
Exception

returning

public int returning(int a,
                     int b)

returningEmptyElseTest

public void returningEmptyElseTest()
                            throws Exception
Throws:
Exception

returningEmptyElse

public int returningEmptyElse(boolean cond,
                              int a,
                              int b)