On Tue, Jun 7, 2011 at 6:36 AM, Douglas Hubler <[email protected]> wrote:
> On Tue, Jun 7, 2011 at 5:12 AM, George Niculae <[email protected]> wrote:
>> On Tue, Jun 7, 2011 at 12:09 PM, Douglas Hubler <[email protected]> wrote:
>>> I'm trying to get all the unit tests in sipxconfig running after some
>>> refactoring to the build scripts and for some reason
>>> JarMessagesSourceTest and BorderTest fail, but only when run with
>>> other tests. Both of these tests fail to do the right thing deep
>>> within Tapestry's magic so it's not obvious where the problem is.
>>> Does anyone recall any issues with these tests in the past like this?
>>
>> Hm, don't remember, can you paste the reason of failure maybe it will
>> ring some bells...
The other important info might be the order of the tests that are run
before/after the tests
org.sipfoundry.sipxconfig.rest.UserPhonebookSearchResourceTest
org.sipfoundry.sipxconfig.rest.AutoAttendantsResourceTest
org.sipfoundry.sipxconfig.rest.UserConferenceResourceTest
org.sipfoundry.sipxconfig.rest.PhonebookResourceTest
org.sipfoundry.sipxconfig.rest.UserActiveCdrsResourceTest
org.sipfoundry.sipxconfig.rest.XStreamJSonTest
org.sipfoundry.sipxconfig.rest.VoicemailResourceTest
org.sipfoundry.sipxconfig.rest.UserGravatarResourceTest
org.sipfoundry.sipxconfig.rest.CallResourceTest
org.sipfoundry.sipxconfig.rest.UserPhonebookEntryResourceTest
org.sipfoundry.sipxconfig.rest.UserPhonebookResourceTest
org.sipfoundry.sipxconfig.rest.SipxSpringBeanRouterTest
org.sipfoundry.sipxconfig.rest.ForwardingResourceTest
org.sipfoundry.sipxconfig.rest.ContactInformationResourceTest
org.sipfoundry.sipxconfig.rest.ProfileResourceTest
org.sipfoundry.sipxconfig.rest.ActiveGreetingResourceTest
org.sipfoundry.sipxconfig.rest.SpecialAttendantResourceTest
org.sipfoundry.sipxconfig.rest.VoicemailResourceDownloadTest
org.sipfoundry.sipxconfig.rest.PhonesResourceTest
org.sipfoundry.sipxconfig.rest.UserPagedPhonebookResourceTest
org.sipfoundry.sipxconfig.rest.ConfigServerTimeResourceTest
org.sipfoundry.sipxconfig.components.TapestryUtilsTest
org.sipfoundry.sipxconfig.components.TapestryContextTest
org.sipfoundry.sipxconfig.components.BorderTest
org.sipfoundry.sipxconfig.components.LocalizationUtilsTest
org.sipfoundry.sipxconfig.components.NewEnumPropertySelectionModelTest
org.sipfoundry.sipxconfig.components.UserExceptionFilterTest
org.sipfoundry.sipxconfig.components.ObjectSourceDataSqueezerTest
org.sipfoundry.sipxconfig.components.LocalizedOptionModelDecoratorTest
org.sipfoundry.sipxconfig.components.LocalizedTableRendererSourceTest
org.sipfoundry.sipxconfig.components.selection.OptGroupPropertySelectionRendererTest
org.sipfoundry.sipxconfig.components.SpringValidatorFactoryTest
org.sipfoundry.sipxconfig.components.SelectionCollectionTest
org.sipfoundry.sipxconfig.components.SipxValidationDelegateTest
org.sipfoundry.sipxconfig.components.AssetSelectorTest
org.sipfoundry.sipxconfig.components.NewEnumFormatTest
org.sipfoundry.sipxconfig.components.EnumFormatTest
org.sipfoundry.sipxconfig.components.CompositeMessagesTest
org.sipfoundry.sipxconfig.components.ObjectSelectionModelTest
org.sipfoundry.sipxconfig.components.SelectMapTest
org.sipfoundry.sipxconfig.components.ExtraOptionModelDecoratorTest
org.sipfoundry.sipxconfig.components.OptionalElementTest
org.sipfoundry.sipxconfig.components.MillisDurationFormatTest
org.sipfoundry.sipxconfig.components.VendorFilteredSelectionModelTest
org.sipfoundry.sipxconfig.components.LenSelectionModelTest
org.sipfoundry.sipxconfig.api.SystemServiceTest
org.sipfoundry.sipxconfig.api.ApiBeanUtilTest
org.sipfoundry.sipxconfig.api.PhoneBuilderTest
org.sipfoundry.sipxconfig.api.AbstractRingBuilderTest
org.sipfoundry.sipxconfig.api.SystemInfoBuilderTest
org.sipfoundry.sipxconfig.api.UserRingBuilderTest
org.sipfoundry.sipxconfig.api.UserBuilderTest
org.sipfoundry.sipxconfig.api.CallGroupBuilderTest
org.sipfoundry.sipxconfig.site.vm.MailboxOperationTest
org.sipfoundry.sipxconfig.site.vm.MailboxPageEncoderTest
org.sipfoundry.sipxconfig.site.ApplicationLifecycleTest
org.sipfoundry.sipxconfig.site.user.FirstUserTest
org.sipfoundry.sipxconfig.site.user.UserTableModelTest
org.sipfoundry.sipxconfig.site.skin.SkinControlTest
org.sipfoundry.sipxconfig.site.acd.EditAcdQueueTest
org.sipfoundry.sipxconfig.site.acd.EditAcdLineTest
org.sipfoundry.sipxconfig.site.acd.AcdAgentsPanelTest
org.sipfoundry.sipxconfig.site.common.IntTranslatorTest
org.sipfoundry.sipxconfig.site.common.DefaultTableValueRendererSourceTest
org.sipfoundry.sipxconfig.site.common.InstalledLanguagesTest
org.sipfoundry.sipxconfig.site.common.SipxconfigNumberTranslatorTest
org.sipfoundry.sipxconfig.site.common.JarMessagesSourceTest
org.sipfoundry.sipxconfig.site.common.DateTimeEditorTest
org.sipfoundry.sipxconfig.site.common.JarMessagesSourceServiceAdapterTest
org.sipfoundry.sipxconfig.site.gateway.EditGatewayTest
org.sipfoundry.sipxconfig.site.gateway.GatewaySelectionModelTest
org.sipfoundry.sipxconfig.site.gateway.SelectGatewaysTest
org.sipfoundry.sipxconfig.site.user_portal.UserPhonebookPageTest
org.sipfoundry.sipxconfig.site.cdr.CdrHistoryTest
org.sipfoundry.sipxconfig.site.cdr.CdrTableTest
org.sipfoundry.sipxconfig.site.setting.SettingsFieldsetTest
org.sipfoundry.sipxconfig.site.setting.SettingEditorTest
org.sipfoundry.sipxconfig.site.setting.SettingsIronTest
org.sipfoundry.sipxconfig.site.setting.SettingsGridTest
org.sipfoundry.sipxconfig.site.UserSessionTest
org.sipfoundry.sipxconfig.site.admin.commserver.ServicesTableTest
org.sipfoundry.sipxconfig.site.admin.DomainAliasValidatorTest
org.sipfoundry.sipxconfig.site.admin.LocalizedLanguageMessagesTest
org.sipfoundry.sipxconfig.site.admin.RestorePageTest
org.sipfoundry.sipxconfig.site.phone.PhoneTableModelTest
org.sipfoundry.sipxconfig.site.ValidatorsTest
org.sipfoundry.sipxconfig.site.dialplan.PatternsEditorTest
org.sipfoundry.sipxconfig.site.dialplan.AttendantMenuItemMapAdapterTest
org.sipfoundry.sipxconfig.site.dialplan.RuleValidatorTest
I also have a test i selected at random that won't pass when run on it's own
org.sipfoundry.sipxconfig.components.AssetSelectorTest
..06:43:50,006 INFO AssetSelector:240 - Unsupported format
javax.sound.sampled.UnsupportedAudioFileException: could not get audio
input stream from input stream
at
javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1119)
at
org.sipfoundry.sipxconfig.site.common.AssetSelector.isAcceptedAudioFormat(AssetSelector.java:228)
at
org.sipfoundry.sipxconfig.components.AssetSelectorTest.testAudioFormat(AssetSelectorTest.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/