Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 67644f3 commit 181bc9264c3ee8bb141284dc071c25ec02d862a7 edwardhieatt committed Aug 16, 2006
Showing with 15,748 additions and 34 deletions.
  1. +234 −0 TestRunService.wsdl
  2. +3 −0 bin/mac/readme.txt
  3. BIN bin/mac/start-firefox.scpt
  4. +7 −0 bin/mac/start-firefox.sh
  5. BIN bin/mac/start-opera9.scpt
  6. +7 −0 bin/mac/start-opera9.sh
  7. BIN bin/mac/start-safari.scpt
  8. +7 −0 bin/mac/start-safari.sh
  9. BIN bin/mac/stop-firefox.scpt
  10. +6 −0 bin/mac/stop-firefox.sh
  11. BIN bin/mac/stop-opera9.scpt
  12. +6 −0 bin/mac/stop-opera9.sh
  13. BIN bin/mac/stop-safari.scpt
  14. +6 −0 bin/mac/stop-safari.sh
  15. +3 −0 bin/unix/start-firefox.sh
  16. +3 −0 bin/unix/start-mozilla.sh
  17. +3 −0 bin/unix/start-opera9.sh
  18. +2 −0 bin/unix/stop-firefox.sh
  19. +2 −0 bin/unix/stop-mozilla.sh
  20. +2 −0 bin/unix/stop-opera9.sh
  21. BIN bin/winxp/Process.exe
  22. +2 −0 bin/winxp/start-firefox.bat
  23. +2 −0 bin/winxp/start-ie.bat
  24. +70 −0 bin/winxp/start-opera9.c
  25. BIN bin/winxp/start-opera9.exe
  26. +1 −0 bin/winxp/stop-firefox.bat
  27. +1 −0 bin/winxp/stop-ie.bat
  28. +1 −0 bin/winxp/stop-opera9.bat
  29. +148 −0 build.xml
  30. +102 −0 build_aggregate.xml
  31. +268 −0 build_compile.xml
  32. +66 −0 build_webservices.xml
  33. +189 −24 intellij/JsUnit.ipr
  34. +20 −0 intellij/aggregate.iml
  35. +6 −2 intellij/browser.iml
  36. +20 −0 intellij/core.iml
  37. +25 −0 intellij/server.iml
  38. +24 −0 intellij/services_client.iml
  39. +22 −0 intellij/union.iml
  40. +16 −0 java/source_aggregate/net/jsunit/AggregateDistributedTest.java
  41. +116 −0 java/source_aggregate/net/jsunit/JsUnitAggregateServer.java
  42. +76 −0 java/source_aggregate/net/jsunit/JsUnitAggregateServerConfigurationProvider.java
  43. +14 −0 java/source_aggregate/net/jsunit/RemoteConfigurationCache.java
  44. +65 −0 java/source_aggregate/net/jsunit/RemoteConfigurationCacheUpdater.java
  45. +30 −0 java/source_aggregate/net/jsunit/action/AggregateConfigurationAction.java
  46. +134 −0 java/source_aggregate/net/jsunit/action/DistributedTestRunnerAction.java
  47. +9 −0 java/source_aggregate/net/jsunit/action/JsUnitAggregateServerAware.java
  48. +12 −0 java/source_aggregate/net/jsunit/configuration/AggregateConfiguration.java
  49. +16 −0 java/source_aggregate/net/jsunit/interceptor/AggregateServerInterceptor.java
  50. +68 −0 java/source_client/net/jsunit/client/ClientTestSuite.java
  51. +39 −0 java/source_client/net/jsunit/client/CommandLineClientTestSuite.java
  52. +9 −0 java/source_client/net/jsunit/client/NoSuchPlatformBrowserException.java
  53. +7 −0 java/source_client/net/jsunit/client/RemoteTestFailedException.java
  54. +42 −0 java/source_client/net/jsunit/client/RemoteTestRunTest.java
  55. +46 −0 java/source_client/net/jsunit/client/TestRunServiceClient.java
  56. +73 −0 java/source_client/net/jsunit/model/HTMLSourceInspector.java
  57. +35 −0 java/source_client/net/jsunit/model/ReferencedJsFile.java
  58. +122 −0 java/source_client/net/jsunit/model/TestPage.java
  59. +11 −0 java/source_client/net/jsunit/services/TestRunService.java
  60. +59 −0 java/source_core/net/jsunit/ClientSideConnection.java
  61. +9 −0 java/source_core/net/jsunit/DocumentRetrievalStrategy.java
  62. +8 −0 java/source_core/net/jsunit/MessageReceiver.java
  63. +104 −0 java/source_core/net/jsunit/RemoteConfigurationSource.java
  64. +12 −0 java/source_core/net/jsunit/RemoteServerHitter.java
  65. +81 −0 java/source_core/net/jsunit/RemoteTestRunClient.java
  66. +77 −0 java/source_core/net/jsunit/ServerSideConnection.java
  67. +18 −0 java/source_core/net/jsunit/TestRunListener.java
  68. +9 −0 java/source_core/net/jsunit/XmlRenderable.java
  69. +100 −0 java/source_core/net/jsunit/configuration/AbstractConfiguration.java
  70. +20 −0 java/source_core/net/jsunit/configuration/Configuration.java
  71. +36 −0 java/source_core/net/jsunit/configuration/ConfigurationException.java
  72. +5 −0 java/source_core/net/jsunit/configuration/ConfigurationProperty.java
  73. +31 −0 java/source_core/net/jsunit/configuration/ConfigurationSource.java
  74. +32 −0 java/source_core/net/jsunit/configuration/RemoteConfiguration.java
  75. +131 −0 java/source_core/net/jsunit/configuration/ServerConfiguration.java
  76. +292 −0 java/source_core/net/jsunit/configuration/ServerConfigurationProperty.java
  77. +23 −0 java/source_core/net/jsunit/configuration/ServerType.java
  78. +82 −0 java/source_core/net/jsunit/model/AbstractResult.java
  79. +139 −0 java/source_core/net/jsunit/model/Browser.java
  80. +230 −0 java/source_core/net/jsunit/model/BrowserResult.java
  81. +102 −0 java/source_core/net/jsunit/model/BrowserResultBuilder.java
  82. +107 −0 java/source_core/net/jsunit/model/BrowserResultWriter.java
  83. +10 −0 java/source_core/net/jsunit/model/BrowserSource.java
  84. +62 −0 java/source_core/net/jsunit/model/BrowserSpecification.java
  85. +44 −0 java/source_core/net/jsunit/model/BrowserType.java
  86. +67 −0 java/source_core/net/jsunit/model/DistributedTestRunResult.java
  87. +24 −0 java/source_core/net/jsunit/model/DistributedTestRunResultBuilder.java
  88. +76 −0 java/source_core/net/jsunit/model/PlatformType.java
  89. +21 −0 java/source_core/net/jsunit/model/Result.java
  90. +21 −0 java/source_core/net/jsunit/model/ResultBuilder.java
  91. +67 −0 java/source_core/net/jsunit/model/ResultType.java
  92. +52 −0 java/source_core/net/jsunit/model/SecurityViolation.java
  93. +159 −0 java/source_core/net/jsunit/model/TestCaseResult.java
  94. +32 −0 java/source_core/net/jsunit/model/TestCaseResultBuilder.java
  95. +67 −0 java/source_core/net/jsunit/model/TestCaseResultWriter.java
  96. +60 −0 java/source_core/net/jsunit/model/TestPageResult.java
  97. +220 −0 java/source_core/net/jsunit/model/TestRunResult.java
  98. +42 −0 java/source_core/net/jsunit/model/TestRunResultBuilder.java
  99. +12 −0 java/source_core/net/jsunit/utility/CollectionUtility.java
  100. +71 −0 java/source_core/net/jsunit/utility/FileUtility.java
  101. +52 −0 java/source_core/net/jsunit/utility/JsUnitURL.java
  102. +18 −0 java/source_core/net/jsunit/utility/StreamUtility.java
  103. +74 −0 java/source_core/net/jsunit/utility/StringUtility.java
  104. +46 −0 java/source_core/net/jsunit/utility/SystemUtility.java
  105. +58 −0 java/source_core/net/jsunit/utility/XmlUtility.java
  106. +140 −0 java/source_server/net/jsunit/AbstractJsUnitServer.java
  107. +12 −0 java/source_server/net/jsunit/BlowingUpProcessStarter.java
  108. +32 −0 java/source_server/net/jsunit/BrowserResultLogWriter.java
  109. +38 −0 java/source_server/net/jsunit/BrowserTestRunner.java
  110. +11 −0 java/source_server/net/jsunit/DefaultProcessStarter.java
  111. +142 −0 java/source_server/net/jsunit/DistributedTest.java
  112. +9 −0 java/source_server/net/jsunit/DistributedTestRunListener.java
  113. +125 −0 java/source_server/net/jsunit/DistributedTestRunManager.java
  114. +100 −0 java/source_server/net/jsunit/DistributedTestSuiteBuilder.java
  115. +18 −0 java/source_server/net/jsunit/InvalidBrowserIdException.java
  116. +21 −0 java/source_server/net/jsunit/InvalidBrowserSpecificationException.java
  117. +240 −0 java/source_server/net/jsunit/JsUnitServer.java
  118. +101 −0 java/source_server/net/jsunit/JsUnitServerConfigurationProvider.java
  119. +88 −0 java/source_server/net/jsunit/LaunchTestRunCommand.java
  120. +4 −0 java/source_server/net/jsunit/NoUrlSpecifiedException.java
  121. +9 −0 java/source_server/net/jsunit/ProcessStarter.java
  122. +48 −0 java/source_server/net/jsunit/RemoteConfigurationFetcher.java
  123. +71 −0 java/source_server/net/jsunit/RemoteMachineServerHitter.java
  124. +79 −0 java/source_server/net/jsunit/RemoteRunSpecification.java
  125. +86 −0 java/source_server/net/jsunit/StandaloneTest.java
  126. +138 −0 java/source_server/net/jsunit/TestRunManager.java
  127. +57 −0 java/source_server/net/jsunit/TestRunNotifierServer.java
  128. +76 −0 java/source_server/net/jsunit/TimeoutChecker.java
  129. +10 −0 java/source_server/net/jsunit/action/BrowserResultAware.java
  130. +12 −0 java/source_server/net/jsunit/action/BrowserSelectionAware.java
  131. +10 −0 java/source_server/net/jsunit/action/BrowserTestRunnerAware.java
  132. +22 −0 java/source_server/net/jsunit/action/ConfigurationAction.java
  133. +16 −0 java/source_server/net/jsunit/action/ErrorXmlRenderable.java
  134. +19 −0 java/source_server/net/jsunit/action/InvalidRemoteMachineUrlBrowserCombination.java
  135. +7 −0 java/source_server/net/jsunit/action/InvalidTestRunAttemptAware.java
  136. +22 −0 java/source_server/net/jsunit/action/JsUnitBrowserTestRunnerAction.java
  137. +8 −0 java/source_server/net/jsunit/action/JsUnitServerAware.java
  138. +12 −0 java/source_server/net/jsunit/action/RemoteRunSpecificationAware.java
  139. +9 −0 java/source_server/net/jsunit/action/RemoteRunnerHitterAware.java
  140. +38 −0 java/source_server/net/jsunit/action/RequestReceivedMessage.java
  141. +12 −0 java/source_server/net/jsunit/action/RequestSourceAware.java
  142. +58 −0 java/source_server/net/jsunit/action/ResultAcceptorAction.java
  143. +49 −0 java/source_server/net/jsunit/action/ResultDisplayerAction.java
  144. +16 −0 java/source_server/net/jsunit/action/SimpleXmlRenderable.java
  145. +9 −0 java/source_server/net/jsunit/action/StandaloneTestAware.java
  146. +11 −0 java/source_server/net/jsunit/action/TestPageURLAware.java
  147. +95 −0 java/source_server/net/jsunit/action/TestRunnerAction.java
  148. +9 −0 java/source_server/net/jsunit/action/XmlProducer.java
  149. +39 −0 java/source_server/net/jsunit/action/XmlResult.java
  150. +80 −0 java/source_server/net/jsunit/configuration/ArgumentsConfigurationSource.java
  151. +154 −0 java/source_server/net/jsunit/configuration/CompositeConfigurationSource.java
  152. +62 −0 java/source_server/net/jsunit/configuration/DelegatingConfigurationSource.java
  153. +63 −0 java/source_server/net/jsunit/configuration/EnvironmentVariablesConfigurationSource.java
  154. +94 −0 java/source_server/net/jsunit/configuration/PropertiesFileConfigurationSource.java
  155. +40 −0 java/source_server/net/jsunit/interceptor/BrowserResultInterceptor.java
  156. +63 −0 java/source_server/net/jsunit/interceptor/BrowserSelectionInterceptor.java
  157. +23 −0 java/source_server/net/jsunit/interceptor/BrowserTestRunnerInterceptor.java
  158. +9 −0 java/source_server/net/jsunit/interceptor/BrowserTestRunnerSource.java
  159. +12 −0 java/source_server/net/jsunit/interceptor/DefaultBrowserTestRunnerSource.java
  160. +29 −0 java/source_server/net/jsunit/interceptor/JsUnitInterceptor.java
  161. +24 −0 java/source_server/net/jsunit/interceptor/LocalhostOnlyInterceptor.java
  162. +32 −0 java/source_server/net/jsunit/interceptor/RemoteServerHitterInterceptor.java
  163. +19 −0 java/source_server/net/jsunit/interceptor/RequestSourceInterceptor.java
  164. +14 −0 java/source_server/net/jsunit/interceptor/ServerInterceptor.java
  165. +12 −0 java/source_server/net/jsunit/logging/BrowserResultRepository.java
  166. +44 −0 java/source_server/net/jsunit/logging/FileBrowserResultRepository.java
  167. +13 −0 java/source_server/net/jsunit/logging/StubBrowserResultRepository.java
  168. +34 −0 java/source_server/net/jsunit/model/BrowserLaunchSpecification.java
  169. +49 −0 java/source_server/net/jsunit/model/HeterogenousBrowserGroup.java
  170. +12 −0 java/source_server/net/jsunit/model/RemoteServerConfigurationSource.java
  171. +118 −0 java/source_server/net/jsunit/server/RemoteRunSpecificationBuilder.java
  172. +14 −0 java/tests_aggregate/net/jsunit/AggregateConfigurationFunctionalTest.java
  173. +89 −0 java/tests_aggregate/net/jsunit/AggregateServerFunctionalTestCase.java
  174. +14 −0 java/tests_aggregate/net/jsunit/AggregateServerFunctionalTestSuite.java
  175. +19 −0 java/tests_aggregate/net/jsunit/AggregateServerUnitTestSuite.java
  176. +59 −0 java/tests_aggregate/net/jsunit/JsUnitAggregateServerTest.java
  177. +46 −0 java/tests_aggregate/net/jsunit/RunnerAggregateServerFunctionalTest.java
  178. +20 −0 java/tests_aggregate/net/jsunit/action/AggregateConfigurationActionTest.java
  179. +68 −0 java/tests_aggregate/net/jsunit/action/DistributedTestRunnerActionTest.java
  180. +41 −0 java/tests_aggregate/net/jsunit/interceptor/AggregateServerInterceptorTest.java
  181. +18 −0 java/tests_client/net/jsunit/ClientUnitTestSuite.java
  182. +24 −0 java/tests_client/net/jsunit/client/ProductionClientTest.java
  183. +35 −0 java/tests_client/net/jsunit/client/SelfTestsClientIntegrationTest.java
  184. +62 −0 java/tests_client/net/jsunit/client/ServerStressTest.java
  185. +79 −0 java/tests_client/net/jsunit/client/TestRunServiceClientTest.java
  186. +45 −0 java/tests_client/net/jsunit/model/TestPageTest.java
  187. +48 −0 java/tests_client/net/jsunit/model/TestSuitePageTest.java
  188. +43 −0 java/tests_core/net/jsunit/ClientServerConnectionTest.java
  189. +38 −0 java/tests_core/net/jsunit/CoreUnitTestSuite.java
  190. +14 −0 java/tests_core/net/jsunit/MockMessageReceiver.java
  191. +33 −0 java/tests_core/net/jsunit/MockRemoteServerHitter.java
  192. +49 −0 java/tests_core/net/jsunit/MockTestRunListener.java
  193. +58 −0 java/tests_core/net/jsunit/RemoteTestRunClientTest.java
  194. +305 −0 java/tests_core/net/jsunit/configuration/ConfigurationTest.java
  195. +79 −0 java/tests_core/net/jsunit/configuration/DummyConfigurationSource.java
  196. +77 −0 java/tests_core/net/jsunit/configuration/DummyRemoteConfigurationSource.java
  197. +19 −0 java/tests_core/net/jsunit/configuration/RemoteConfigurationTest.java
  198. +77 −0 java/tests_core/net/jsunit/configuration/StubConfigurationSource.java
  199. +28 −0 java/tests_core/net/jsunit/model/BrowserResultBuilderTest.java
  200. +136 −0 java/tests_core/net/jsunit/model/BrowserResultTest.java
  201. +71 −0 java/tests_core/net/jsunit/model/BrowserResultTestCase.java
  202. +92 −0 java/tests_core/net/jsunit/model/BrowserTest.java
  203. +42 −0 java/tests_core/net/jsunit/model/DistributedTestRunResultBuilderTest.java
  204. +148 −0 java/tests_core/net/jsunit/model/DistributedTestRunResultTest.java
  205. +43 −0 java/tests_core/net/jsunit/model/DummyBrowserResult.java
  206. +22 −0 java/tests_core/net/jsunit/model/DummyBrowserSource.java
  207. +56 −0 java/tests_core/net/jsunit/model/DummyTestPageWriter.java
  208. +46 −0 java/tests_core/net/jsunit/model/DummyTestSuitePageWriter.java
  209. +66 −0 java/tests_core/net/jsunit/model/FailedToLaunchBrowserResultTest.java
  210. +28 −0 java/tests_core/net/jsunit/model/ResultBuilderTest.java
  211. +22 −0 java/tests_core/net/jsunit/model/SecurityViolationTest.java
  212. +77 −0 java/tests_core/net/jsunit/model/TestCaseResultTest.java
  213. +59 −0 java/tests_core/net/jsunit/model/TestPageResultTest.java
  214. +36 −0 java/tests_core/net/jsunit/model/TestRunResultBuilderTest.java
  215. +135 −0 java/tests_core/net/jsunit/model/TestRunResultTest.java
  216. +51 −0 java/tests_core/net/jsunit/model/TimedOutBrowerResultTest.java
  217. +22 −0 java/tests_core/net/jsunit/utility/JsUnitURLTest.java
  218. +14 −0 java/tests_core/net/jsunit/utility/StringUtilityTest.java
  219. +14 −0 java/tests_intellij/net/jsunit/AllTestSuite.java
  220. +14 −0 java/tests_intellij/net/jsunit/FunctionalTestSuite.java
  221. +15 −0 java/tests_intellij/net/jsunit/UnitTestSuite.java
  222. +49 −0 java/tests_server/net/jsunit/AcceptorFunctionalTest.java
  223. +17 −0 java/tests_server/net/jsunit/BlowingUpRemoteServerHitter.java
  224. +12 −0 java/tests_server/net/jsunit/BrowserResultLogWriterTest.java
  225. +65 −0 java/tests_server/net/jsunit/BrowserTestRunnerStub.java
  226. +36 −0 java/tests_server/net/jsunit/ClientServerInteractionTest.java
  227. +10 −0 java/tests_server/net/jsunit/ConfigurationFunctionalTest.java
  228. +54 −0 java/tests_server/net/jsunit/DisplayerFunctionalTest.java
  229. +242 −0 java/tests_server/net/jsunit/DistributedTestRunManagerTest.java
  230. +89 −0 java/tests_server/net/jsunit/DistributedTestSuiteBuilderTest.java
  231. +12 −0 java/tests_server/net/jsunit/DummyFailedTestRunResult.java
  232. +260 −0 java/tests_server/net/jsunit/DummyHttpRequest.java
  233. +142 −0 java/tests_server/net/jsunit/DummyHttpResponse.java
  234. +34 −0 java/tests_server/net/jsunit/EndToEndTestCase.java
  235. +31 −0 java/tests_server/net/jsunit/FailedToLaunchBrowserStandaloneTestTest.java
  236. +50 −0 java/tests_server/net/jsunit/FailingDistributedTestTest.java
  237. +73 −0 java/tests_server/net/jsunit/FunctionalTestCase.java
  238. +96 −0 java/tests_server/net/jsunit/FunctionalTestConfigurationSource.java
  239. +24 −0 java/tests_server/net/jsunit/InvalidRemoteMachinesDistributedTestTest.java
  240. +163 −0 java/tests_server/net/jsunit/JsUnitServerTest.java
  241. +21 −0 java/tests_server/net/jsunit/MockBrowserResultRepository.java
  242. +90 −0 java/tests_server/net/jsunit/MockBrowserTestRunner.java
  243. +14 −0 java/tests_server/net/jsunit/MockProcessStarter.java
  244. +44 −0 java/tests_server/net/jsunit/OverrideURLDistributedTestTest.java
  245. +24 −0 java/tests_server/net/jsunit/PlatformTypeTest.java
  246. +40 −0 java/tests_server/net/jsunit/RemoteConfigurationFetcherTest.java
  247. +19 −0 java/tests_server/net/jsunit/RemoteConfigurationSourceFunctionalTest.java
  248. +41 −0 java/tests_server/net/jsunit/RemoteConfigurationSourceTest.java
  249. +59 −0 java/tests_server/net/jsunit/RemoteMachineRunnerHitterTest.java
  250. +77 −0 java/tests_server/net/jsunit/RemoteRunSpecificationTest.java
  251. +135 −0 java/tests_server/net/jsunit/ResultAcceptorTest.java
  252. +47 −0 java/tests_server/net/jsunit/RunnerFunctionalTest.java
  253. +27 −0 java/tests_server/net/jsunit/SerialDistributedTestTest.java
  254. +68 −0 java/tests_server/net/jsunit/ServerFunctionalTestCase.java
  255. +26 −0 java/tests_server/net/jsunit/ServerFunctionalTestSuite.java
  256. +59 −0 java/tests_server/net/jsunit/ServerUnitTestSuite.java
  257. +45 −0 java/tests_server/net/jsunit/SpecificBrowserDistributedTestTest.java
  258. +18 −0 java/tests_server/net/jsunit/SuccessfulRemoteServerHitter.java
  259. +37 −0 java/tests_server/net/jsunit/SuccessfulStandaloneTestTest.java
  260. +15 −0 java/tests_server/net/jsunit/TestPortManager.java
  261. +146 −0 java/tests_server/net/jsunit/TestRunManagerTest.java
  262. +85 −0 java/tests_server/net/jsunit/TestRunNotifierServerTest.java
  263. +42 −0 java/tests_server/net/jsunit/TimedOutBrowserStandaloneTestTest.java
  264. +87 −0 java/tests_server/net/jsunit/TimeoutCheckerTest.java
  265. +76 −0 java/tests_server/net/jsunit/TwoValidLocalhostsDistributedTestTest.java
  266. +38 −0 java/tests_server/net/jsunit/UrlOverrideStandaloneTestTest.java
  267. +26 −0 java/tests_server/net/jsunit/action/BlockingTestRunner.java
  268. +12 −0 java/tests_server/net/jsunit/action/ErrorXmlRenderableTest.java
  269. +20 −0 java/tests_server/net/jsunit/action/ResultAcceptorActionTest.java
  270. +63 −0 java/tests_server/net/jsunit/action/ResultDisplayerActionTest.java
  271. +60 −0 java/tests_server/net/jsunit/action/TestRunnerActionSimultaneousRunBlockingTest.java
  272. +75 −0 java/tests_server/net/jsunit/action/TestRunnerActionTest.java
  273. +59 −0 java/tests_server/net/jsunit/configuration/ArgumentsConfigurationSourceTest.java
  274. +37 −0 java/tests_server/net/jsunit/configuration/CompositeConfigurationSourceTest.java
  275. +38 −0 java/tests_server/net/jsunit/configuration/ConfigurationSourceResolutionTest.java
  276. +38 −0 java/tests_server/net/jsunit/configuration/EnvironmentVariablesConfigurationSourceTest.java
  277. +50 −0 java/tests_server/net/jsunit/configuration/PropertiesFileConfigurationSourceTest.java
  278. +69 −0 java/tests_server/net/jsunit/interceptor/BrowserResultInterceptorTest.java
  279. +106 −0 java/tests_server/net/jsunit/interceptor/BrowserSelectionInterceptorTest.java
  280. +47 −0 java/tests_server/net/jsunit/interceptor/BrowserTestRunnerInterceptorTest.java
  281. +66 −0 java/tests_server/net/jsunit/interceptor/LocalhostOnlyInterceptorTest.java
  282. +67 −0 java/tests_server/net/jsunit/interceptor/MockActionInvocation.java
  283. +34 −0 java/tests_server/net/jsunit/interceptor/RemoteServerHitterInterceptorTest.java
  284. +51 −0 java/tests_server/net/jsunit/interceptor/RequestSourceInterceptorTest.java
  285. +25 −0 java/tests_server/net/jsunit/model/BrowserLaunchSpecificationTest.java
  286. +22 −0 java/tests_server/net/jsunit/model/HeterogenousBrowserGroupTest.java
  287. +226 −0 java/tests_server/net/jsunit/server/RemoteRunSpecificationBuilderTest.java
  288. +35 −0 jsunit.properties.sample
  289. +1 −8 licenses/index.html
  290. +8 −0 logging.properties
  291. +26 −0 tools/buildDotXmlToJsUnitDotProperties.xsl
  292. +52 −0 tools/sample_xml/browserResult_failedToLaunch.xml
  293. +17 −0 tools/sample_xml/browserResult_success.xml
  294. +6 −0 tools/sample_xml/browserResult_timedOut.xml
  295. +475 −0 tools/sample_xml/distributedResult.xml
View
234 TestRunService.wsdl
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="https://services.jsunit.net/services" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://services.jsunit.net/services" xmlns:intf="https://services.jsunit.net/services" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns2="https://services.jsunit.net/model" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+<!--WSDL created by Apache Axis version: 1.4
+Built on Apr 22, 2006 (06:55:48 PDT)-->
+ <wsdl:types>
+ <schema targetNamespace="https://services.jsunit.net/model" xmlns="http://www.w3.org/2001/XMLSchema">
+ <import namespace="https://services.jsunit.net/services"/>
+ <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
+ <complexType name="ReferencedJsFile">
+ <sequence>
+ <element name="contents" nillable="true" type="xsd:string"/>
+ <element name="fileName" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="TestPage">
+ <sequence>
+ <element name="contents" nillable="true" type="xsd:string"/>
+ <element name="fileName" nillable="true" type="xsd:string"/>
+ <element name="referencedJsFiles" nillable="true" type="impl:ArrayOf_tns2_ReferencedJsFile"/>
+ <element name="suite" type="xsd:boolean"/>
+ </sequence>
+ </complexType>
+ <complexType name="BrowserSpecification">
+ <sequence>
+ <element name="browserType" nillable="true" type="xsd:string"/>
+ <element name="platformType" nillable="true" type="xsd:string"/>
+ <element name="version" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType abstract="true" name="AbstractResult">
+ <sequence>
+ <element name="errorCount" type="xsd:int"/>
+ <element name="failureCount" type="xsd:int"/>
+ <element name="testCount" type="xsd:int"/>
+ </sequence>
+ </complexType>
+ <complexType name="Browser">
+ <sequence>
+ <element name="default" type="xsd:boolean"/>
+ <element name="displayName" nillable="true" type="xsd:string"/>
+ <element name="fullFileName" nillable="true" type="xsd:string"/>
+ <element name="id" type="xsd:int"/>
+ <element name="killCommand" nillable="true" type="xsd:string"/>
+ <element name="logoPath" nillable="true" type="xsd:string"/>
+ <element name="startCommand" nillable="true" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ <complexType name="TestCaseResult">
+ <complexContent>
+ <extension base="tns2:AbstractResult">
+ <sequence>
+ <element name="error" nillable="true" type="xsd:string"/>
+ <element name="failure" nillable="true" type="xsd:string"/>
+ <element name="fullyQualifiedName" nillable="true" type="xsd:string"/>
+ <element name="name" nillable="true" type="xsd:string"/>
+ <element name="testPageName" nillable="true" type="xsd:string"/>
+ <element name="time" type="xsd:double"/>
+ <element name="timeTaken" type="xsd:double"/>
+ <element name="xmlFragment" nillable="true" type="xsd:string"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="TestPageResult">
+ <complexContent>
+ <extension base="tns2:AbstractResult">
+ <sequence>
+ <element name="testCaseResults" nillable="true" type="impl:ArrayOf_tns2_TestCaseResult"/>
+ <element name="testPageName" nillable="true" type="xsd:string"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="BrowserResult">
+ <complexContent>
+ <extension base="tns2:AbstractResult">
+ <sequence>
+ <element name="baseURL" nillable="true" type="xsd:string"/>
+ <element name="browser" nillable="true" type="tns2:Browser"/>
+ <element name="browserDisplayString" nillable="true" type="xsd:string"/>
+ <element name="displayString" nillable="true" type="xsd:string"/>
+ <element name="id" nillable="true" type="xsd:string"/>
+ <element name="jsUnitVersion" nillable="true" type="xsd:string"/>
+ <element name="remoteAddress" nillable="true" type="xsd:string"/>
+ <element name="serverSideExceptionStackTrace" nillable="true" type="xsd:string"/>
+ <element name="testPageName" nillable="true" type="xsd:string"/>
+ <element name="testPageResults" nillable="true" type="impl:ArrayOf_tns2_TestPageResult"/>
+ <element name="time" type="xsd:double"/>
+ <element name="userAgent" nillable="true" type="xsd:string"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="TestRunResult">
+ <complexContent>
+ <extension base="tns2:AbstractResult">
+ <sequence>
+ <element name="browserResults" nillable="true" type="impl:ArrayOf_tns2_BrowserResult"/>
+ <element name="displayString" nillable="true" type="xsd:string"/>
+ <element name="hostname" nillable="true" type="xsd:string"/>
+ <element name="ipAddress" nillable="true" type="xsd:string"/>
+ <element name="osName" nillable="true" type="xsd:string"/>
+ <element name="url" nillable="true" type="xsd:string"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ <complexType name="DistributedTestRunResult">
+ <complexContent>
+ <extension base="tns2:AbstractResult">
+ <sequence>
+ <element name="browserCount" type="xsd:int"/>
+ <element name="testRunResults" nillable="true" type="impl:ArrayOf_tns2_TestRunResult"/>
+ </sequence>
+ </extension>
+ </complexContent>
+ </complexType>
+ </schema>
+ <schema targetNamespace="https://services.jsunit.net/services" xmlns="http://www.w3.org/2001/XMLSchema">
+ <import namespace="https://services.jsunit.net/model"/>
+ <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
+ <complexType name="ArrayOf_tns2_ReferencedJsFile">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:ReferencedJsFile[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_TestPage">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:TestPage[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_BrowserSpecification">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:BrowserSpecification[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_TestCaseResult">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:TestCaseResult[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_TestPageResult">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:TestPageResult[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_BrowserResult">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:BrowserResult[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ <complexType name="ArrayOf_tns2_TestRunResult">
+ <complexContent>
+ <restriction base="soapenc:Array">
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:TestRunResult[]"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ </schema>
+ </wsdl:types>
+
+ <wsdl:message name="runTestsRequest">
+
+ <wsdl:part name="in0" type="impl:ArrayOf_tns2_TestPage"/>
+
+ <wsdl:part name="in1" type="impl:ArrayOf_tns2_BrowserSpecification"/>
+
+ </wsdl:message>
+
+ <wsdl:message name="runTestsResponse">
+
+ <wsdl:part name="runTestsReturn" type="tns2:DistributedTestRunResult"/>
+
+ </wsdl:message>
+
+ <wsdl:portType name="TestRunService">
+
+ <wsdl:operation name="runTests" parameterOrder="in0 in1">
+
+ <wsdl:input message="impl:runTestsRequest" name="runTestsRequest"/>
+
+ <wsdl:output message="impl:runTestsResponse" name="runTestsResponse"/>
+
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="TestRunServiceSoapBinding" type="impl:TestRunService">
+
+ <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+
+ <wsdl:operation name="runTests">
+
+ <wsdlsoap:operation soapAction=""/>
+
+ <wsdl:input name="runTestsRequest">
+
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://services.jsunit.net/services" use="encoded"/>
+
+ </wsdl:input>
+
+ <wsdl:output name="runTestsResponse">
+
+ <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="https://services.jsunit.net/services" use="encoded"/>
+
+ </wsdl:output>
+
+ </wsdl:operation>
+
+ </wsdl:binding>
+
+ <wsdl:service name="TestRunServiceService">
+
+ <wsdl:port binding="impl:TestRunServiceSoapBinding" name="TestRunService">
+
+ <wsdlsoap:address location="https://services.jsunit.net/services/TestRunService"/>
+
+ </wsdl:port>
+
+ </wsdl:service>
+
+</wsdl:definitions>
View
3 bin/mac/readme.txt
@@ -0,0 +1,3 @@
+This directory contains shell scripts (*.sh) and AppleScripts (*.scpt) to start and stop browsers.
+
+The shell scripts invoke the AppleScripts, so use the shell scripts.
View
BIN bin/mac/start-firefox.scpt
Binary file not shown.
View
7 bin/mac/start-firefox.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Starts Firefox. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-firefox.scpt
+osascript bin/mac/start-firefox.scpt $1
+
View
BIN bin/mac/start-opera9.scpt
Binary file not shown.
View
7 bin/mac/start-opera9.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Starts Opera9. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-opera9.scpt
+osascript bin/mac/start-opera9.scpt $1
+
View
BIN bin/mac/start-safari.scpt
Binary file not shown.
View
7 bin/mac/start-safari.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Starts Safari. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-safari.scpt
+osascript bin/mac/start-safari.scpt $1
+
View
BIN bin/mac/stop-firefox.scpt
Binary file not shown.
View
6 bin/mac/stop-firefox.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Stops Firefox. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-firefox.scpt
+
View
BIN bin/mac/stop-opera9.scpt
Binary file not shown.
View
6 bin/mac/stop-opera9.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Stops Opera9. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-opera9.scpt
+
View
BIN bin/mac/stop-safari.scpt
Binary file not shown.
View
6 bin/mac/stop-safari.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Stops Safari. Use this instead of calling the AppleScripts directly.
+
+osascript bin/mac/stop-safari.scpt
+
View
3 bin/unix/start-firefox.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+killall -9 -w firefox-bin
+firefox $1 &
View
3 bin/unix/start-mozilla.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+killall -9 -w mozilla-bin
+mozilla $1 &
View
3 bin/unix/start-opera9.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+killall -9 -w opera
+opera -nosession $1 &
View
2 bin/unix/stop-firefox.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+killall -9 -w firefox-bin
View
2 bin/unix/stop-mozilla.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+killall -9 -w mozilla-bin
View
2 bin/unix/stop-opera9.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+killall -9 -w opera
View
BIN bin/winxp/Process.exe
Binary file not shown.
View
2 bin/winxp/start-firefox.bat
@@ -0,0 +1,2 @@
+bin\winxp\process -q firefox.exe
+c:\"Program Files"\"Mozilla Firefox"\firefox.exe %1%
View
2 bin/winxp/start-ie.bat
@@ -0,0 +1,2 @@
+bin\winxp\process -q iexplore.exe
+"C:\Program Files\Internet Explorer\iexplore.exe" %1%
View
70 bin/winxp/start-opera9.c
@@ -0,0 +1,70 @@
+/**
+ * Replace opera6.ini with a clean version and start a detached Opera9
+ *
+ * Compile under cygwin via
+ * gcc -o start-opera9 start-opera9.c
+ *
+ * This requires a clean opera6.ini file copied to opera6.ini.clean
+ * in the opera profile folder, where "clean" means that under
+ * [Sate], Run=0. This prevents a dialog on browser startup.
+ *
+ * author: dws@pivotalsf.com
+ */
+
+#include <stdlib.h>
+
+char *opera_profile = "/Application Data/Opera/Opera 9 Beta/profile/";
+
+main(int argc, char *argv[]) {
+ int pid;
+
+ if ((pid = fork()) < 0) {
+ /* fork failed */
+ exit(1);
+ } else if (pid == 0) {
+ /* start with a clean .ini */
+
+ char userprofile[512] = "";
+ strcat(userprofile, getenv("USERPROFILE"));
+ char *p;
+ for ( p = userprofile ; *p != 0 ; p++ ) {
+ if ( *p == '\\' ) *p = '/';
+ }
+
+ char clean_ini[512] = "";
+ strcat(clean_ini, userprofile);
+ strcat(clean_ini, opera_profile);
+ strcat(clean_ini, "opera6.ini.clean");
+
+ char opera_ini[512] = "";
+ strcat(opera_ini, userprofile);
+ strcat(opera_ini, opera_profile);
+ strcat(opera_ini, "opera6.ini");
+
+ execl(
+ "c:/cygwin/bin/cp.exe",
+ "cp",
+ clean_ini,
+ opera_ini,
+ (char *) 0
+ );
+ exit(1);
+ } else {
+ /* wait for child to exit */
+ int status;
+ while (wait(&status) != pid)
+ /* wait more */;
+ }
+
+
+ /* start a detached opera */
+ if ((pid = fork()) == 0 ) {
+ execl(
+ "c:/program files/Opera 9 Beta/opera.exe",
+ "opera",
+ argv[1],
+ (char *) 0
+ );
+ }
+ exit(pid > 0 ? 0 : 1);
+}
View
BIN bin/winxp/start-opera9.exe
Binary file not shown.
View
1 bin/winxp/stop-firefox.bat
@@ -0,0 +1 @@
+bin\winxp\process -q firefox.exe
View
1 bin/winxp/stop-ie.bat
@@ -0,0 +1 @@
+bin\winxp\process -q iexplore.exe
View
1 bin/winxp/stop-opera9.bat
@@ -0,0 +1 @@
+bin\winxp\process -k opera.exe
View
148 build.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project name="JsUnit" default="standalone_test" basedir=".">
+
+ <!--
+ The following are the properties used to configure JsUnit. You need to provide values for the mandatory properties.
+ See the documentation at http://www.jsunit.net for more information.
+ -->
+
+ <property
+ name="browserFileNames"
+ value=""
+ description="browserFileNames is the list of browsers in which to run tests when StandaloneTest is invoked on this machine. For a JsUnit Server, this is a mandatory property. For example: 'c:\program files\internet explorer\iexplore.exe,c:\program files\netscape\netscape7.1\netscp.exe'"
+ />
+
+ <property
+ id="closeBrowsersAfterTestRuns"
+ name="closeBrowsersAfterTestRuns"
+ value=""
+ description="closeBrowsersAfterTestRuns determines whether to attempt to close browsers after test runs. This is not a mandatory property. The default is true. For example: 'true'"
+ />
+
+ <property
+ id="description"
+ name="description"
+ value=""
+ description="description is a human-readable description of a standard or aggregate server. This is not a mandatory property. The default is blank. For example: 'This is our Mac - it's only running Safari right now'"
+ />
+
+ <property
+ id="ignoreUnresponsiveRemoteMachines"
+ name="ignoreUnresponsiveRemoteMachines"
+ value=""
+ description="ignoreUnresponsiveRemoteMachines is a property used only by the JsUnit Aggregate Server and the distributed_test target. Its value is whether to ignore a remote machine that does not respond. If true, test runs will be green even if one or more remote machines fail to respond; if false, an unresponsive remote machine results in a failure. This is not a mandatory property. Its default is false. For example: 'true'"
+ />
+
+ <property
+ id="logsDirectory"
+ name="logsDirectory"
+ value=""
+ description="logsDirectory is the directory in which the JsUnitStandardServer stores the XML logs produced from tests run. It can be specified relative to the working directory. This is not a mandatory property. If not specified, the directory called 'logs' inside resourceBase is assumed. For example: 'c:\jsunit\java\logs'"
+ />
+
+ <property
+ id="port"
+ name="port"
+ value=""
+ description="port is the port on which the JsUnitStandardServer runs. This is not a mandatory property. If not specified, 8080 is assumed. For exapmle: '8080'"
+ />
+
+ <property
+ id="remoteMachineURLs"
+ name="remoteMachineURLs"
+ value=""
+ description="remoteMachineURLs is a property used only by the JsUnit Aggregate Server and the distributed_test target. Its value is the list of URLs of remote machines to which a request to run tests will be sent. For example: 'http://machine1.company.com:8080,http://localhost:8080,http://192.168.1.200:9090'"
+ />
+
+ <property
+ id="resourceBase"
+ name="resourceBase"
+ value=""
+ description="resourceBase is the directory that the JsUnitStandardServer considers to be its document root. It can be specified relative to the working directory. This is not a mandatory property. If not specified, the working directory is assumed. For example: 'c:\jsunit'"
+ />
+
+ <property
+ id="timeoutSeconds"
+ name="timeoutSeconds"
+ value=""
+ description="timeoutSeconds is the number of seconds to wait before timing out a browser during a test run. This is not a mandatory property. If not specified, 60 is assumed. For example: '60'"
+ />
+
+ <property
+ id="url"
+ name="url"
+ value=""
+ description="url is the URL (HTTP or file protocol) to open in the browser. For a JsUnit Server, this is a mandatory property for a test run if the server is not passed the 'url' parameter. For example: 'file:///c:/jsunit/testRunner.html?testPage=c:/jsunit/tests/jsUnitTestSuite.html'"
+ />
+
+ <property name="bin" location="java/bin"/>
+ <property name="lib" location="java/lib"/>
+ <property name="loggingPropertiesFile" location="WEB-INF/classes/logging.properties"/>
+
+ <path id="classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ <fileset dir="${bin}">
+ <include name="jsunit.jar"/>
+ </fileset>
+ </path>
+
+ <target name="start_server" description="Starts a JsUnit Server">
+ <java fork="true" classname="net.jsunit.JsUnitServer">
+ <classpath refid="classpath"/>
+ <sysproperty key="java.util.logging.config.file" value="${loggingPropertiesFile}"/>
+ <sysproperty key="browserFileNames" value="${browserFileNames}"/>
+ <sysproperty key="closeBrowsersAfterTestRuns" value="${closeBrowsersAfterTestRuns}"/>
+ <sysproperty key="description" value="${description}"/>
+ <sysproperty key="logsDirectory" value="${logsDirectory}"/>
+ <sysproperty key="port" value="${port}"/>
+ <sysproperty key="resourceBase" value="${resourceBase}"/>
+ <sysproperty key="timeoutSeconds" value="${timeoutSeconds}"/>
+ <sysproperty key="url" value="${url}"/>
+ </java>
+ </target>
+
+ <target name="stop_server" description="Stops the JsUnit Server">
+ <java fork="true" classname="org.mortbay.stop.Main" failonerror="true">
+ <classpath refid="classpath"/>
+ </java>
+ </target>
+
+ <target name="standalone_test" description="Runs tests on the local machine">
+ <junit showoutput="true" haltonerror="true" haltonfailure="true">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="classpath"/>
+ <sysproperty key="java.util.logging.config.file" value="${loggingPropertiesFile}"/>
+ <sysproperty key="browserFileNames" value="${browserFileNames}"/>
+ <sysproperty key="description" value="${description}"/>
+ <sysproperty key="closeBrowsersAfterTestRuns" value="${closeBrowsersAfterTestRuns}"/>
+ <sysproperty key="logsDirectory" value="${logsDirectory}"/>
+ <sysproperty key="port" value="${port}"/>
+ <sysproperty key="resourceBase" value="${resourceBase}"/>
+ <sysproperty key="timeoutSeconds" value="${timeoutSeconds}"/>
+ <sysproperty key="url" value="${url}"/>
+ <test name="net.jsunit.StandaloneTest"/>
+ </junit>
+ </target>
+
+ <target name="distributed_test" description="Runs tests on the remote machines">
+ <junit showoutput="true" haltonerror="true" haltonfailure="true">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="classpath"/>
+ <sysproperty key="java.util.logging.config.file" value="${loggingPropertiesFile}"/>
+ <sysproperty key="browserFileNames" value="${browserFileNames}"/>
+ <sysproperty key="description" value="${description}"/>
+ <sysproperty key="ignoreUnresponsiveRemoteMachines" value="${ignoreUnresponsiveRemoteMachines}"/>
+ <sysproperty key="logsDirectory" value="${logsDirectory}"/>
+ <sysproperty key="port" value="${port}"/>
+ <sysproperty key="remoteMachineURLs" value="${remoteMachineURLs}"/>
+ <sysproperty key="resourceBase" value="${resourceBase}"/>
+ <sysproperty key="url" value="${url}"/>
+ <test name="net.jsunit.DistributedTest"/>
+ </junit>
+ </target>
+
+</project>
View
102 build_aggregate.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project name="JsUnit Aggregate" default="aggregate_distributed_test" basedir=".">
+
+ <!--
+ The following are the properties used to configure an Aggregate JsUnit Server. You need to provide values for the mandatory properties.
+ See the documentation at http://www.jsunit.net for more information.
+ -->
+
+ <property
+ id="description"
+ name="description"
+ value=""
+ description="description is a human-readable description of a standard or aggregate server. This is not a mandatory property. The default is blank. For example: 'This is our Mac - it's only running Safari right now'"
+ />
+
+ <property
+ id="ignoreUnresponsiveRemoteMachines"
+ name="ignoreUnresponsiveRemoteMachines"
+ value=""
+ description="ignoreUnresponsiveRemoteMachines is a property used only by the JsUnit Aggregate Server and the distributed_test target. Its value is whether to ignore a remote machine that does not respond. If true, test runs will be green even if one or more remote machines fail to respond; if false, an unresponsive remote machine results in a failure. This is not a mandatory property. Its default is false. For example: 'true'"
+ />
+
+ <property
+ id="port"
+ name="port"
+ value=""
+ description="port is the port on which the JsUnitStandardServer runs. This is not a mandatory property. If not specified, 8080 is assumed. For exapmle: '8080'"
+ />
+
+ <property
+ id="remoteMachineURLs"
+ name="remoteMachineURLs"
+ value=""
+ description="remoteMachineURLs is a property used only by the JsUnit Aggregate Server and the distributed_test target. Its value is the list of URLs of remote machines to which a request to run tests will be sent. For example: 'http://machine1.company.com:8080,http://localhost:8080,http://192.168.1.200:9090'"
+ />
+
+ <property
+ id="resourceBase"
+ name="resourceBase"
+ value=""
+ description="resourceBase is the directory that the JsUnitStandardServer considers to be its document root. It can be specified relative to the working directory. This is not a mandatory property. If not specified, the working directory is assumed. For example: 'c:\jsunit'"
+ />
+
+ <property
+ id="timeoutSeconds"
+ name="timeoutSeconds"
+ value=""
+ description="timeoutSeconds is the number of seconds to wait before timing out a browser during a test run. This is not a mandatory property. If not specified, 60 is assumed. For example: '60'"
+ />
+
+ <property
+ id="url"
+ name="url"
+ value=""
+ description="url is the URL (HTTP or file protocol) to open in the browser. For a JsUnit Server, this is a mandatory property for a test run if the server is not passed the 'url' parameter. For example: 'file:///c:/jsunit/testRunner.html?testPage=c:/jsunit/tests/jsUnitTestSuite.html'"
+ />
+
+ <property name="bin" location="java/bin"/>
+ <property name="lib" location="java/lib"/>
+ <property name="loggingPropertiesFile" location="WEB-INF/classes/logging.properties"/>
+
+ <path id="classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ <fileset dir="${bin}">
+ <include name="jsunit.jar"/>
+ </fileset>
+ </path>
+
+ <target name="start_aggregate_server" description="Starts a JsUnit Aggregate Server">
+ <java fork="true" classname="net.jsunit.JsUnitAggregateServer">
+ <classpath refid="classpath"/>
+ <sysproperty key="java.util.logging.config.file" value="${loggingPropertiesFile}"/>
+ <sysproperty key="description" value="${description}"/>
+ <sysproperty key="ignoreUnresponsiveRemoteMachines" value="${ignoreUnresponsiveRemoteMachines}"/>
+ <sysproperty key="port" value="${port}"/>
+ <sysproperty key="remoteMachineURLs" value="${remoteMachineURLs}"/>
+ <sysproperty key="resourceBase" value="${resourceBase}"/>
+ <sysproperty key="url" value="${url}"/>
+ </java>
+ </target>
+
+ <target name="aggregate_distributed_test"
+ description="Runs tests on the remote machines, each of which could be running an aggregate or standard JsUnit server">
+ <junit showoutput="true" haltonerror="true" haltonfailure="true">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="classpath"/>
+ <sysproperty key="java.util.logging.config.file" value="${loggingPropertiesFile}"/>
+ <sysproperty key="description" value="${description}"/>
+ <sysproperty key="ignoreUnresponsiveRemoteMachines" value="${ignoreUnresponsiveRemoteMachines}"/>
+ <sysproperty key="port" value="${port}"/>
+ <sysproperty key="remoteMachineURLs" value="${remoteMachineURLs}"/>
+ <sysproperty key="resourceBase" value="${resourceBase}"/>
+ <sysproperty key="url" value="${url}"/>
+ <test name="net.jsunit.AggregateDistributedTest"/>
+ </junit>
+ </target>
+
+</project>
View
268 build_compile.xml
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project name="JsUnit Compilation" default="create_distribution" basedir=".">
+
+ <!--
+ This build file is used by developers of JsUnit. It is not packaged with the JsUnit binary distribution.
+ -->
+
+ <property name="source_core" location="java/source_core"/>
+ <property name="source_client" location="java/source_client"/>
+ <property name="source_server" location="java/source_server"/>
+ <property name="source_aggregate" location="java/source_aggregate"/>
+ <property name="source_services" location="java/source_services"/>
+ <property name="tests_core" location="java/tests_core"/>
+ <property name="tests_client" location="java/tests_client"/>
+ <property name="tests_server" location="java/tests_server"/>
+ <property name="tests_aggregate" location="java/tests_aggregate"/>
+ <property name="genfiles_client" location="java/genfiles_client"/>
+
+ <property name="bin" location="java/bin"/>
+ <property name="lib" location="java/lib"/>
+ <property name="testlib" location="java/testlib"/>
+
+ <path id="classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ <fileset dir="${bin}">
+ <include name="jsunit.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef resource="axis-tasks.properties" classpathref="classpath"/>
+
+ <target name="run_unit_tests" depends="clean,run_core_tests,run_server_tests,run_aggregate_tests,run_client_tests"/>
+
+ <path id="self_tests_classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ <fileset dir="${testlib}">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+
+ <path id="lib_classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ </path>
+
+ <target name="run_core_tests" depends="compile_core_tests">
+ <junit fork="yes" haltonfailure="false" forkmode="once" showoutput="yes" printsummary="withOutAndErr"
+ failureproperty="junit_test_failed">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ <test name="net.jsunit.CoreUnitTestSuite"/>
+ </junit>
+ <fail if="junit_test_failed"/>
+ </target>
+
+ <target name="run_server_tests" depends="compile_server_tests">
+ <junit fork="yes" haltonfailure="false" forkmode="once" showoutput="yes" printsummary="withOutAndErr"
+ failureproperty="junit_test_failed">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ <test name="net.jsunit.ServerUnitTestSuite"/>
+ </junit>
+ <fail if="junit_test_failed"/>
+ </target>
+
+ <target name="run_aggregate_tests" depends="compile_aggregate_tests">
+ <junit fork="yes" haltonfailure="false" forkmode="once" showoutput="yes" printsummary="withOutAndErr"
+ failureproperty="junit_test_failed">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ <test name="net.jsunit.AggregateServerUnitTestSuite"/>
+ </junit>
+ <fail if="junit_test_failed"/>
+ </target>
+
+ <target name="run_client_tests" depends="compile_client_tests">
+ <junit fork="yes" haltonfailure="false" forkmode="once" showoutput="yes" printsummary="withOutAndErr"
+ failureproperty="junit_test_failed">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ <test name="net.jsunit.ClientUnitTestSuite"/>
+ </junit>
+ <fail if="junit_test_failed"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${bin}/net"/>
+ <delete dir="${genfiles_client}/net"/>
+ </target>
+
+ <target name="compile_source" depends="clean,compile_source_server,compile_source_aggregate,compile_source_client"/>
+
+ <target name="compile_tests" depends="compile_core_tests,compile_server_tests,compile_aggregate_tests"/>
+
+ <target name="compile_source_server" depends="compile_source_core">
+ <javac srcdir="${source_server}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="compile_source_aggregate" depends="compile_source_server">
+ <javac srcdir="${source_aggregate}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="compile_source_services" depends="compile_source_core">
+ <javac srcdir="${source_client}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ <include name="net/jsunit/services/TestRunService.java"/>
+ </javac>
+ </target>
+
+ <target name="compile_source_client"
+ depends="compile_source_services,generate_wsdl,generate_client_java_from_wsdl">
+ <javac srcdir="${genfiles_client}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ </javac>
+ <javac srcdir="${source_client}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="compile_source_core">
+ <javac srcdir="${source_core}" destdir="${bin}" debug="true">
+ <classpath refid="lib_classpath"/>
+ </javac>
+ </target>
+
+ <target name="generate_wsdl">
+ <axis-java2wsdl
+ namespace="https://services.jsunit.net/services"
+ classname="net.jsunit.services.TestRunService"
+ output="TestRunService.wsdl"
+ location="https://services.jsunit.net/services/TestRunService">
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ <classpath refid="lib_classpath"/>
+ <mapping package="net.jsunit.model" namespace="https://services.jsunit.net/model"/>
+ <mapping package="net.jsunit.services" namespace="https://services.jsunit.net/services"/>
+ </axis-java2wsdl>
+ </target>
+
+ <target name="generate_client_java_from_wsdl">
+ <axis-wsdl2java output="${genfiles_client}" url="TestRunService.wsdl">
+ <classpath>
+ <path location="${bin}"/>
+ </classpath>
+ <classpath refid="lib_classpath"/>
+ <mapping package="net.jsunit.services" namespace="https://services.jsunit.net/services"/>
+ <mapping package="net.jsunit.model" namespace="https://services.jsunit.net/model"/>
+ <nsexclude namespace="https://services.jsunit.net/model"/>
+ </axis-wsdl2java>
+ <delete file="${genfiles_client}/net/jsunit/services/TestRunService.java"/>
+ </target>
+
+ <target name="compile_core_tests" depends="compile_source_core">
+ <javac srcdir="${tests_core}" destdir="${bin}" debug="true">
+ <classpath refid="self_tests_classpath"/>
+ </javac>
+ </target>
+
+ <target name="compile_server_tests" depends="compile_source_server">
+ <javac srcdir="${tests_server}" destdir="${bin}" debug="true">
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ </javac>
+ </target>
+
+ <target name="compile_aggregate_tests" depends="compile_source_aggregate">
+ <javac srcdir="${tests_server}" destdir="${bin}" debug="true">
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ </javac>
+ <javac srcdir="${tests_aggregate}" destdir="${bin}" debug="true">
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ </javac>
+ </target>
+
+ <target name="compile_client_tests" depends="compile_source_client">
+ <javac srcdir="${tests_client}" destdir="${bin}" debug="true">
+ <classpath refid="self_tests_classpath"/>
+ <classpath path="${bin}"/>
+ </javac>
+ </target>
+
+ <target name="create_src_jar">
+ <jar jarfile="./java/jsunit-src.jar">
+ <fileset dir="${source_core}"/>
+ <fileset dir="${source_client}"/>
+ <fileset dir="${source_server}"/>
+ <fileset dir="${tests_core}"/>
+ <fileset dir="${tests_client}"/>
+ <fileset dir="${tests_server}"/>
+ </jar>
+ </target>
+
+ <target name="generateJsUnitPropertiesSample" description="Generates the jsunit.properties.sample file">
+ <xslt in="build.xml" out="jsunit.properties.sample" destdir="."
+ style="tools/buildDotXmlToJsUnitDotProperties.xsl"></xslt>
+ </target>
+
+ <target name="transformResultXmlUsingSkin">
+ <xslt in="tools/sample_xml/distributedResult.xml" out="result.html" destdir="."
+ style="skins/HTML.xsl"></xslt>
+ </target>
+
+ <target name="make_jar" depends="compile_source">
+ <jar jarfile="${bin}/jsunit.jar" basedir="${bin}" includes="net/**"/>
+ <delete dir="${bin}/net"/>
+ </target>
+
+ <target name="make_all_jar" depends="compile_source,compile_tests">
+ <jar jarfile="${bin}/jsunit_all.jar" basedir="${bin}" includes="net/**"/>
+ <delete dir="${bin}/net"/>
+ </target>
+
+ <target name="create_distribution" depends="clean,make_jar,create_zip"
+ description="Creates the JsUnit distribution"/>
+
+ <target name="create_zip" description="Create a zip of the project">
+ <zip destfile="jsunit.zip">
+ <zipfileset dir="." filemode="755">
+ <include name="bin/unix/*.sh"/>
+ <include name="bin/mac/*.sh"/>
+ </zipfileset>
+ <zipfileset dir=".">
+ <include name="**"/>
+ <exclude name="bin/unix/*.sh"/>
+ <exclude name="bin/mac/*.sh"/>
+ <exclude name="**/.svn"/>
+ <exclude name="**/*.java"/>
+ <exclude name="uploaded/**"/>
+ <exclude name="TEST-*.xml"/>
+ <exclude name="**/*.class"/>
+ <exclude name="logs/**"/>
+ </zipfileset>
+ </zip>
+ </target>
+
+</project>
View
66 build_webservices.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project name="JsUnit Online Services" default="webservices_run" basedir=".">
+
+ <!--
+ The following are the properties used to configure a test run against the JsUnit Online Services.
+ See the documentation at http://www.jsunit.net for more information.
+ -->
+
+ <property
+ name="emailAddress"
+ value="user@example.com"
+ description="emailAddress is your JsUnit Online Services email address'"
+ />
+
+ <property
+ name="password"
+ value="my_password"
+ description="password is your JsUnit Online Services password'"
+ />
+
+ <property
+ name="testPagePath"
+ location="c:\\jsunit\\tests\\jsUnitTestSuite.html"
+ description="testPagePath is the location of your Test Page (or Test Suite Page)"
+ />
+
+ <property
+ name="jsUnitPath"
+ location="c:\\jsunit"
+ description="jsUnitPath is the location of your JsUnit installation (e.g. c:\\jsunit)"
+ />
+
+ <property
+ name="browsers"
+ value="windows;internet explorer,macintosh;safari"
+ description="browsers is a comma-delimited list of platform;browser combinations (e.g. windows;internet explorer,macintosh;safari). Valid platforms are windows, linux, and macintosh. Valid browsers are firefox, konqueror, internet explorer, mozilla, netscape, opera, safari"
+ />
+
+ <property name="bin" location="java/bin"/>
+ <property name="lib" location="java/lib"/>
+
+ <path id="classpath">
+ <fileset dir="${lib}">
+ <include name="*.jar"/>
+ <include name="*/*.jar"/>
+ </fileset>
+ <fileset dir="${bin}">
+ <include name="jsunit.jar"/>
+ </fileset>
+ </path>
+
+ <target name="webservices_run" description="Runs tests using the JsUnit Online Services">
+ <junit showoutput="true" haltonerror="true" haltonfailure="true">
+ <formatter type="plain" usefile="false"/>
+ <classpath refid="classpath"/>
+ <sysproperty key="jsunit.webservices.emailAddress" value="${emailAddress}"/>
+ <sysproperty key="jsunit.webservices.password" value="${password}"/>
+ <sysproperty key="jsunit.webservices.jsUnitPath" value="${jsUnitPath}"/>
+ <sysproperty key="jsunit.webservices.testPagePath" value="${testPagePath}"/>
+ <sysproperty key="jsunit.webservices.browsers" value="${browsers}"/>
+ <test name="net.jsunit.client.CommandLineClientTestSuite"/>
+ </junit>
+ </target>
+
+</project>
View
213 intellij/JsUnit.ipr
@@ -2,8 +2,45 @@
<project version="4" relativePaths="true">
<component name="AntConfiguration">
<defaultAnt bundledAnt="true" />
+ <buildFile url="file://$PROJECT_DIR$/../build.xml">
+ <additionalClassPath />
+ <antReference projectDefault="true" />
+ <customJdkName value="" />
+ <maximumHeapSize value="128" />
+ <properties />
+ </buildFile>
+ <buildFile url="file://$PROJECT_DIR$/../build_aggregate.xml">
+ <additionalClassPath />
+ <antReference projectDefault="true" />
+ <customJdkName value="" />
+ <maximumHeapSize value="128" />
+ <properties />
+ </buildFile>
+ <buildFile url="file://$PROJECT_DIR$/../build_compile.xml">
+ <additionalClassPath />
+ <antReference projectDefault="true" />
+ <customJdkName value="" />
+ <maximumHeapSize value="128" />
+ <properties />
+ </buildFile>
+ <buildFile url="file://$PROJECT_DIR$/../build_webservices.xml">
+ <additionalClassPath />
+ <antReference projectDefault="true" />
+ <customJdkName value="" />
+ <maximumHeapSize value="128" />
+ <properties />
+ </buildFile>
</component>
<component name="Build editor project-level loader" dont-ask="false" />
+ <component name="BuildJarProjectSettings">
+ <option name="BUILD_JARS_ON_MAKE" value="false" />
+ </component>
+ <component name="CodeStyleProjectProfileManger">
+ <option name="PROJECT_PROFILE" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ <scopes />
+ <profiles />
+ </component>
<component name="CodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
@@ -16,7 +53,6 @@
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
- <option name="CLEAR_OUTPUT_DIRECTORY" value="true" />
<option name="DEPLOY_AFTER_MAKE" value="0" />
<resourceExtensions>
<entry name=".+\.(properties|xml|html|dtd|tld)" />
@@ -40,6 +76,20 @@
<option name="myForwardDirection" value="false" />
</component>
<component name="DependencyValidationManager" />
+ <component name="EclipseCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EclipseEmbeddedCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
<component name="EntryPointsManager">
<entry_points />
</component>
@@ -49,6 +99,36 @@
<option name="OUTPUT_DIRECTORY" />
</component>
<component name="GUI Designer component loader factory" />
+ <component name="IdProvider" IDEtalkID="9C1FDA24FB6A4192C246A41F2589BF9C" />
+ <component name="InspectionProjectProfileManager">
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ <scopes />
+ <profiles>
+ <profile version="1.0">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ <used_levels>
+ <error>
+ <option name="myName" value="ERROR" />
+ <option name="myVal" value="400" />
+ </error>
+ <warning>
+ <option name="myName" value="WARNING" />
+ <option name="myVal" value="300" />
+ </warning>
+ <information>
+ <option name="myName" value="INFO" />
+ <option name="myVal" value="200" />
+ </information>
+ <server>
+ <option name="myName" value="SERVER PROBLEM" />
+ <option name="myVal" value="100" />
+ </server>
+ </used_levels>
+ </profile>
+ </profiles>
+ </component>
<component name="JavacSettings">
<option name="DEBUGGING_INFO" value="true" />
<option name="GENERATE_NO_WARNINGS" value="false" />
@@ -70,6 +150,7 @@
<option name="OPTION_DEPRECATED_LIST" value="true" />
<option name="OTHER_OPTIONS" value="" />
<option name="HEAP_SIZE" />
+ <option name="LOCALE" />
<option name="OPEN_IN_BROWSER" value="true" />
</component>
<component name="JikesSettings">
@@ -80,132 +161,216 @@
<option name="IS_EMACS_ERRORS_MODE" value="true" />
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
</component>
+ <component name="LogConsolePreferences">
+ <option name="FILTER_ERRORS" value="false" />
+ <option name="FILTER_WARNINGS" value="false" />
+ <option name="FILTER_INFO" value="true" />
+ <option name="CUSTOM_FILTER" />
+ </component>
<component name="Palette2">
<group name="Swing">
- <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false">
+ <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
- <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false">
+ <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
- <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false">
+ <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
- <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false">
+ <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
- <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false">
+ <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
- <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false">
+ <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
- <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false">
+ <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
- <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false">
+ <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
- <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false">
+ <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
- <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false">
+ <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
- <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false">
+ <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
- <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false">
+ <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false">
+ <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false">
+ <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false">
+ <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
- <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false">
+ <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false">
+ <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false">
+ <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
- <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false">
+ <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
- <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false">
+ <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
- <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false">
+ <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
- <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false">
+ <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
+ <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+ <preferred-size width="-1" height="20" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+ </item>
</group>
</component>
<component name="ProjectModuleManager">
<modules>
+ <module fileurl="file://$PROJECT_DIR$/aggregate.iml" filepath="$PROJECT_DIR$/aggregate.iml" />
<module fileurl="file://$PROJECT_DIR$/browser.iml" filepath="$PROJECT_DIR$/browser.iml" />
+ <module fileurl="file://$PROJECT_DIR$/core.iml" filepath="$PROJECT_DIR$/core.iml" />
+ <module fileurl="file://$PROJECT_DIR$/server.iml" filepath="$PROJECT_DIR$/server.iml" />
+ <module fileurl="file://$PROJECT_DIR$/services_client.iml" filepath="$PROJECT_DIR$/services_client.iml" />
+ <module fileurl="file://$PROJECT_DIR$/union.iml" filepath="$PROJECT_DIR$/union.iml" />
</modules>
</component>
<component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" />
+ <component name="ProjectRunConfigurationManager" />
<component name="RmicSettings">
<option name="IS_EANABLED" value="false" />
<option name="DEBUGGING_INFO" value="true" />
<option name="GENERATE_NO_WARNINGS" value="false" />
<option name="GENERATE_IIOP_STUBS" value="false" />
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
</component>
+ <component name="StarteamVcsAdapter" />
<component name="TDDConfig">
<option name="idleMsBeforeTimerPause" value="300000" />
<option name="masterSuiteConfigurationName" value="Suite" />
<option name="rollingActivityCycleTimelineSampleSize" value="40" />
</component>
- <component name="libraryTable" />
+ <component name="VssVcs" />
+ <component name="libraryTable">
+ <library name="lib_core">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../java/lib/jdom_1.0/jdom.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/junit_4.1/junit.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ <library name="lib_server">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../java/lib/jetty_5.1.11/org.mortbay.jetty.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/javax/javax.servlet.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/webwork_2.2.2/oscore.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/jetty_5.1.11/start.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/xwork_1.2/ognl.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/jetty_5.1.11/stop.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/webwork_2.2.2/rife-continuations.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/xwork_1.2/xwork-1.2.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/webwork_2.2.2/webwork-2.2.2.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/commons_httpclient_3.0.1/commons-httpclient-3.0.1.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/commons_logging_1.1/commons-logging-1.1.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/nekohtml_0.9.5/nekohtml.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/xerces_2.8.0/xercesImpl.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ <library name="lib_server_test">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../java/testlib/httpunit-1.5.4.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/testlib/jwebunit-1.2.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ <library name="lib_services_client">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/wsdl4j-1.5.1.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/log4j-1.2.8.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/jaxrpc.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/axis.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/axis-ant.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/axis_1.4/saaj.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/commons_logging_1.1/commons-logging-1.1.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/commons_discovery_0.2/commons-discovery.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/xerces_2.8.0/xercesImpl.jar!/" />
+ <root url="jar://$PROJECT_DIR$/../java/lib/nekohtml_0.9.5/nekohtml.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </component>
<component name="uidesigner-configuration">
<option name="INSTRUMENT_CLASSES" value="true" />
<option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
+ <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
</component>
<UsedPathMacros />
</project>
View
20 intellij/aggregate.iml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/classes_aggregate" />
+ <exclude-output />
+ <output-test url="file://$MODULE_DIR$/classes_aggregate_test" />
+ <content url="file://$MODULE_DIR$/../java/source_aggregate">
+ <sourceFolder url="file://$MODULE_DIR$/../java/source_aggregate" isTestSource="false" />
+ </content>
+ <content url="file://$MODULE_DIR$/../java/tests_aggregate">
+ <sourceFolder url="file://$MODULE_DIR$/../java/tests_aggregate" isTestSource="true" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module" module-name="server" />
+ <orderEntryProperties />
+ </component>
+</module>
+
View
8 intellij/browser.iml
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4" relativePaths="true" type="JAVA_MODULE">
<component name="ModuleRootManager" />
- <component name="NewModuleRootManager">
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
<exclude-output />
- <content url="file://$MODULE_DIR$/.." />
+ <content url="file://$MODULE_DIR$/..">
+ <excludeFolder url="file://$MODULE_DIR$" />
+ <excludeFolder url="file://$MODULE_DIR$/../java" />
+ <excludeFolder url="file://$MODULE_DIR$/../logs" />
+ </content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntryProperties />
</component>
View
20 intellij/core.iml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/classes_core" />
+ <exclude-output />
+ <output-test url="file://$MODULE_DIR$/classes_core_test" />
+ <content url="file://$MODULE_DIR$/../java/source_core">
+ <sourceFolder url="file://$MODULE_DIR$/../java/source_core" isTestSource="false" />
+ </content>
+ <content url="file://$MODULE_DIR$/../java/tests_core">
+ <sourceFolder url="file://$MODULE_DIR$/../java/tests_core" isTestSource="true" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" exported="" name="lib_core" level="project" />
+ <orderEntryProperties />
+ </component>
+</module>
+
View
25 intellij/server.iml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/classes_server" />
+ <exclude-output />
+ <output-test url="file://$MODULE_DIR$/classes_server_test" />
+ <content url="file://$MODULE_DIR$/../bin" />
+ <content url="file://$MODULE_DIR$/../java/source_server">
+ <sourceFolder url="file://$MODULE_DIR$/../java/source_server" isTestSource="false" />
+ </content>
+ <content url="file://$MODULE_DIR$/../java/tests_server">
+ <sourceFolder url="file://$MODULE_DIR$/../java/tests_server" isTestSource="true" />
+ </content>
+ <content url="file://$MODULE_DIR$/../logs" />
+ <content url="file://$MODULE_DIR$/../tools" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" exported="" name="lib_server" level="project" />
+ <orderEntry type="library" exported="" name="lib_server_test" level="project" />
+ <orderEntry type="module" module-name="core" exported="" />
+ <orderEntryProperties />
+ </component>
+</module>
+
View
24 intellij/services_client.iml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="ModuleRootManager" />
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url=