com.quadrique.jbuildingblocks.core.sound
Class JbbSoundHandlerTest

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.sound.JbbSoundHandlerTest
All Implemented Interfaces:
JbbSoundHandlerListener

public class JbbSoundHandlerTest
extends Object
implements JbbSoundHandlerListener

A test class for the JUnit testing framework


Constructor Summary
JbbSoundHandlerTest()
           
 
Method Summary
 void afterEachTest()
          clean up the tests fixture
 void beforeEachTest()
          acquireConnection the tests fixture
static void beforeTests()
          This is only run upon startup of the tests defined here
 boolean hasReceivedEvent(long zMaxWait)
           
 void newSoundHandlerEvent(JbbSoundHandlerEvent zEvent)
          This method is called whenever the sound handler starts/stops playing or recording a sound file
 void testAsynchronousPlay()
           
 void testAsynchronousPlay2()
           
 void testAsynchronousPlay3()
           
 void testAsynchronousPlay4()
           
 void testAsynchronousPlay5()
           
 void testCreateSoundFile()
           
 void testListener()
           
 void testListener2()
           
 void testListenerPlay3()
           
 void testListenerPlay4()
           
 void testRecord()
           
 void testSynchronousPlay()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbbSoundHandlerTest

public JbbSoundHandlerTest()
Method Detail

beforeTests

public static void beforeTests()
This is only run upon startup of the tests defined here


beforeEachTest

public void beforeEachTest()
acquireConnection the tests fixture


afterEachTest

public void afterEachTest()
clean up the tests fixture


testCreateSoundFile

public void testCreateSoundFile()

testSynchronousPlay

public void testSynchronousPlay()

testAsynchronousPlay

public void testAsynchronousPlay()

testAsynchronousPlay2

public void testAsynchronousPlay2()

testAsynchronousPlay3

public void testAsynchronousPlay3()

testAsynchronousPlay4

public void testAsynchronousPlay4()

testAsynchronousPlay5

public void testAsynchronousPlay5()

testRecord

public void testRecord()

testListener

public void testListener()

testListener2

public void testListener2()

testListenerPlay3

public void testListenerPlay3()

testListenerPlay4

public void testListenerPlay4()

newSoundHandlerEvent

public void newSoundHandlerEvent(JbbSoundHandlerEvent zEvent)
Description copied from interface: JbbSoundHandlerListener
This method is called whenever the sound handler starts/stops playing or recording a sound file

Specified by:
newSoundHandlerEvent in interface JbbSoundHandlerListener
Parameters:
zEvent - the event

hasReceivedEvent

public boolean hasReceivedEvent(long zMaxWait)


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.