setUseValuesFromTriggerTime() public method

public setUseValuesFromTriggerTime ( bool value ) : int
value bool
return int
 public void test_Event_setUseValuesFromTriggerTime2()
 {
     Event e = new  Event(2,2);
       int i = e.setUseValuesFromTriggerTime(false);
       assertTrue( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE );
       e = null;
 }
Esempio n. 2
0
 public void test_L3_Event_hasRequiredAttributes()
 {
     Event e = new  Event(3,1);
       assertEquals( true, e.hasRequiredAttributes() );
       Delay d = e.createDelay();
       assertEquals( false, e.hasRequiredAttributes() );
       e.setUseValuesFromTriggerTime(true);
       assertEquals( true, e.hasRequiredAttributes() );
       e = null;
 }
 public void test_Event_setUseValuesFromTriggerTime1()
 {
     Event e = new  Event(2,4);
       int i = e.setUseValuesFromTriggerTime(false);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( e.getUseValuesFromTriggerTime() == false );
       i = e.setUseValuesFromTriggerTime(true);
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( e.getUseValuesFromTriggerTime() == true );
       e = null;
 }
Esempio n. 4
0
 public void test_Event_setUseValuesFromTriggerTime()
 {
     Event object1 = new  Event(2,4);
       object1.setUseValuesFromTriggerTime(false);
       assertTrue( object1.getUseValuesFromTriggerTime() == false );
       object1.setUseValuesFromTriggerTime(true);
       assertTrue( object1.getUseValuesFromTriggerTime() == true );
       object1 = null;
 }