Ejemplo n.º 1
0
        public static void TestSoundMusic()
        {
            var test = new TestSoundMusic();

            test.Initialize();
            test.TestDispose();
            test.TestLoad();
            test.TestLoadAndPlayValid();
            test.TestPlay();
            test.TestPause();
            test.TestStop();
            test.TestPlayState();
            test.TestIsLooped();
            test.TestExitLoop();
            test.TestVolume();
            test.TestVarious();
            test.TestImplSpecific();

            // does not work on all platforms yet.
            //test.TestLoadAndPlayInvalid1();
            //test.TestLoadAndPlayInvalid2();
            //test.TestLoadAndPlayInvalid3();
            //test.TestLoadAndPlayInvalid4();

            test.Uninitialize();
        }
Ejemplo n.º 2
0
        public static void TestSoundMusic()
        {
            var test = new TestSoundMusic();
            test.Initialize();
            test.TestDispose();
            test.TestLoad();
            test.TestLoadAndPlayValid();
            test.TestPlay();
            test.TestPause();
            test.TestStop();
            test.TestPlayState();
            test.TestIsLooped();
            test.TestExitLoop();
            test.TestVolume();
            test.TestVarious();
            test.TestImplSpecific();

            // does not work on all platforms yet.
            //test.TestLoadAndPlayInvalid1();
            //test.TestLoadAndPlayInvalid2();
            //test.TestLoadAndPlayInvalid3();
            //test.TestLoadAndPlayInvalid4();

            test.Uninitialize();
        }