test_class.declarator: FREQ_ERROR = 5
test_class.modifier: private final static
test_class.original_string: private final static int FREQ_ERROR = 5;
test_class.type: int
test_class.var_name: FREQ_ERROR
test_class.declarator: MAX_ERRORS = 1
test_class.modifier: private
test_class.original_string: private int MAX_ERRORS = 1;
test_class.type: int
test_class.var_name: MAX_ERRORS
test_class.declarator: timer
test_class.modifier: private
test_class.original_string: private Timer timer;
test_class.type: Timer
test_class.var_name: timer
test_class.declarator: gen
test_class.modifier: private
test_class.original_string: private InbandGeneratorImpl gen;
test_class.type: InbandGeneratorImpl
test_class.var_name: gen
test_class.declarator: det
test_class.modifier: private
test_class.original_string: private SpectraAnalyzer det;
test_class.type: SpectraAnalyzer
test_class.var_name: det
test_class.declarator: s
test_class.modifier: private
test_class.original_string: private ArrayList<double[]> s;
test_class.type: ArrayList<double[]>
test_class.var_name: s
test_class.file: servers/media/core/server-impl/src/test/java/org/mobicents/media/server/impl/resource/dtmf/InbandGeneratorImplTest.java
test_class.identifier: InbandGeneratorImplTest
test_class.interfaces: implements NotificationListener
test_case.body: @Test
      @SuppressWarnings("static-access")
      public void testDigit0() throws Exception {
          gen.connect(det);
          gen.start();
          det.start();
          
          Thread.currentThread().sleep(2000);
          gen.stop();
          det.stop();
          
          Thread.currentThread().sleep(1000);        
          assertTrue(verify(s, new int[]{941, 1336}));
      }
test_case.class_method_signature: InbandGeneratorImplTest.testDigit0()
test_case.full_signature: @Test @SuppressWarnings("static-access") public void testDigit0()
test_case.identifier: testDigit0
test_case.invocations: connect start start sleep currentThread stop stop sleep currentThread assertTrue verify
test_case.modifiers: @Test @SuppressWarnings("static-access") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDigit0()
focal_class.declarator: LINEAR_AUDIO = new AudioFormat(
              AudioFormat.LINEAR, 8000, 16, 1,
              AudioFormat.LITTLE_ENDIAN,
              AudioFormat.SIGNED)
focal_class.modifier: private final static
focal_class.original_string: private final static AudioFormat LINEAR_AUDIO = new AudioFormat(
              AudioFormat.LINEAR, 8000, 16, 1,
              AudioFormat.LITTLE_ENDIAN,
              AudioFormat.SIGNED);
focal_class.type: AudioFormat
focal_class.var_name: LINEAR_AUDIO
focal_class.declarator: events = new String[][]{
          {"1", "2", "3", "A"}, 
          {"4", "5", "6", "B"},
          {"7", "8", "9", "C"}, 
          {"*", "0", "#", "D"}
      }
focal_class.modifier: public final static
focal_class.original_string: public final static String[][] events = new String[][]{
          {"1", "2", "3", "A"}, 
          {"4", "5", "6", "B"},
          {"7", "8", "9", "C"}, 
          {"*", "0", "#", "D"}
      };
focal_class.type: String[][]
focal_class.var_name: events
focal_class.declarator: lowFreq = new int[]{697, 770, 852, 941}
focal_class.modifier: private
focal_class.original_string: private int[] lowFreq = new int[]{697, 770, 852, 941};
focal_class.type: int[]
focal_class.var_name: lowFreq
focal_class.declarator: highFreq = new int[]{1209, 1336, 1477, 1633}
focal_class.modifier: private
focal_class.original_string: private int[] highFreq = new int[]{1209, 1336, 1477, 1633};
focal_class.type: int[]
focal_class.var_name: highFreq
focal_class.declarator: digit = null
focal_class.modifier: private
focal_class.original_string: private String digit = null;
focal_class.type: String
focal_class.var_name: digit
focal_class.declarator: duration = 50
focal_class.modifier: private
focal_class.original_string: private int duration = 50;
focal_class.type: int
focal_class.var_name: duration
focal_class.declarator: A = Short.MAX_VALUE/2
focal_class.modifier: private
focal_class.original_string: private short A = Short.MAX_VALUE/2;
focal_class.type: short
focal_class.var_name: A
focal_class.declarator: volume = 0
focal_class.modifier: private
focal_class.original_string: private int volume = 0;
focal_class.type: int
focal_class.var_name: volume
focal_class.declarator: f1
focal_class.modifier: private
focal_class.original_string: private int f1, f2;
focal_class.type: int
focal_class.var_name: f1
focal_class.declarator: dt
focal_class.modifier: private
focal_class.original_string: private double dt;
focal_class.type: double
focal_class.var_name: dt
focal_class.declarator: pSize
focal_class.modifier: private
focal_class.original_string: private int pSize;
focal_class.type: int
focal_class.var_name: pSize
focal_class.declarator: time = 0
focal_class.modifier: private
focal_class.original_string: private double time = 0;
focal_class.type: double
focal_class.var_name: time
focal_class.file: servers/media/core/server-impl/src/main/java/org/mobicents/media/server/impl/resource/dtmf/InbandGeneratorImpl.java
focal_class.identifier: InbandGeneratorImpl
focal_class.interfaces: implements DtmfGenerator
focal_class.class_method_signature: InbandGeneratorImpl.InbandGeneratorImpl(String name, SyncSource syncSource)
focal_class.full_signature: public  InbandGeneratorImpl(String name, SyncSource syncSource)
focal_class.identifier: InbandGeneratorImpl
focal_class.modifiers: public
focal_class.parameters: (String name, SyncSource syncSource)
focal_class.signature:  InbandGeneratorImpl(String name, SyncSource syncSource)
focal_class.class_method_signature: InbandGeneratorImpl.setDigit(String digit)
focal_class.full_signature: public void setDigit(String digit)
focal_class.identifier: setDigit
focal_class.modifiers: public
focal_class.parameters: (String digit)
focal_class.return: void
focal_class.signature: void setDigit(String digit)
focal_class.class_method_signature: InbandGeneratorImpl.getDigit()
focal_class.full_signature: public String getDigit()
focal_class.identifier: getDigit
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDigit()
focal_class.class_method_signature: InbandGeneratorImpl.setToneDuration(int duration)
focal_class.full_signature: public void setToneDuration(int duration)
focal_class.identifier: setToneDuration
focal_class.modifiers: public
focal_class.parameters: (int duration)
focal_class.return: void
focal_class.signature: void setToneDuration(int duration)
focal_class.class_method_signature: InbandGeneratorImpl.getToneDuration()
focal_class.full_signature: public int getToneDuration()
focal_class.identifier: getToneDuration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getToneDuration()
focal_class.class_method_signature: InbandGeneratorImpl.getVolume()
focal_class.full_signature: public int getVolume()
focal_class.identifier: getVolume
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getVolume()
focal_class.class_method_signature: InbandGeneratorImpl.setVolume(int volume)
focal_class.full_signature: public void setVolume(int volume)
focal_class.identifier: setVolume
focal_class.modifiers: public
focal_class.parameters: (int volume)
focal_class.return: void
focal_class.signature: void setVolume(int volume)
focal_class.class_method_signature: InbandGeneratorImpl.getValue(double t)
focal_class.full_signature: private short getValue(double t)
focal_class.identifier: getValue
focal_class.modifiers: private
focal_class.parameters: (double t)
focal_class.return: short
focal_class.signature: short getValue(double t)
focal_class.class_method_signature: InbandGeneratorImpl.getFormat()
focal_class.full_signature: public Format getFormat()
focal_class.identifier: getFormat
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Format
focal_class.signature: Format getFormat()
focal_class.class_method_signature: InbandGeneratorImpl.getFormats()
focal_class.full_signature: public Format[] getFormats()
focal_class.identifier: getFormats
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Format[]
focal_class.signature: Format[] getFormats()
focal_class.class_method_signature: InbandGeneratorImpl.evolve(Buffer buffer, long timestamp, long seq)
focal_class.full_signature: @Override public void evolve(Buffer buffer, long timestamp, long seq)
focal_class.identifier: evolve
focal_class.modifiers: @Override public
focal_class.parameters: (Buffer buffer, long timestamp, long seq)
focal_class.return: void
focal_class.signature: void evolve(Buffer buffer, long timestamp, long seq)
focal_class.class_method_signature: InbandGeneratorImpl.stop()
focal_class.full_signature: @Override public void stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stop()
focal_class.superclass: extends AbstractSource
focal_method.body: @Override
      public void stop() {
      }
focal_method.class_method_signature: InbandGeneratorImpl.stop()
focal_method.full_signature: @Override public void stop()
focal_method.identifier: stop
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void stop()