Commit Graph

44 Commits

Author SHA1 Message Date
Steve Sanderson 34d3eb5b72 Unit tests for Renderer 2018-01-09 17:21:50 +00:00
Steve Sanderson 07e31c6318 Unit tests relating to Renderer GC behavior 2018-01-09 15:08:27 +00:00
Steve Sanderson 04f9c476a8 Update StandaloneApp to render a component. Remove some redundant code. 2018-01-09 13:45:15 +00:00
Steve Sanderson 6585667ce6 Refactor most of the rendering logic into Microsoft.Blazor, keeping only browser-specific parts in Microsoft.Blazor.Browser 2018-01-09 13:33:49 +00:00
Steve Sanderson 674024ed61 Rename UITree -> RenderTree, UIEventInfo -> UIEventArgs 2018-01-09 09:55:14 +00:00
Steve Sanderson 5793bf700a Add ability to render child components 2018-01-08 14:21:48 +00:00
Steve Sanderson 04c582647a Add support for passing parameters to UI event handlers (e.g., which key was pressed) 2018-01-08 11:31:10 +00:00
Steve Sanderson 23f7120b75 Basic parameterless events support (e.g., button click) 2018-01-05 22:16:29 +00:00
Steve Sanderson f7cb54121b Add DOM rendering capability for attributes 2018-01-05 17:50:03 +00:00
Steve Sanderson 0db6f5cc5d Add concept of "attributes" to UITree. So far the values are only allowed to be strings, but this will have to change later. 2018-01-05 17:28:26 +00:00
Steve Sanderson f0a78d13bf Begin tracking association between components and DOM elements so that components can be refresh their own display 2018-01-05 14:31:06 +00:00
Steve Sanderson dfd6c4a1c2 Begin E2E testing for BasicTestApp and component rendering in browser 2018-01-04 17:35:58 +00:00
Steve Sanderson ce04fde7bd Begin adding BasicTestApp for more E2E tests 2018-01-04 15:37:32 +00:00
Steve Sanderson 5e25ab16a2 Add unit tests for UITreeBuilder 2018-01-04 15:25:14 +00:00
Steve Sanderson 04064f983c Add test to more explicitly cover both 'params array' and 'generics'-style interop APIs 2017-12-15 19:41:20 +00:00
Steve Sanderson 09eccb52c5 Remove old marshalled-interop API and update MonoSanity sample to use newer API 2017-12-15 19:16:15 +00:00
Steve Sanderson fe6105a902 Support JS invocations that return undefined 2017-12-15 11:40:43 +00:00
Steve Sanderson 67f7559950 On exception when calling JS from .NET, return JS stack trace to .NET invoker 2017-12-15 11:05:28 +00:00
Steve Sanderson 6eede7b109 Low-level MonoSanity tests for invoking JS from .NET code 2017-12-15 10:57:44 +00:00
Steve Sanderson c72f9a1977 Simplify in-memory file provider usage by initializing with byte[], not Stream 2017-12-14 15:48:01 +00:00
Steve Sanderson a4b85ddf53 Split BuildTools into "Build" (for end-user app builds) and "BuildTools" (for building this repo only) 2017-12-14 15:32:28 +00:00
Steve Sanderson c49a67dcf0 Tidy up build filesystem providers code 2017-12-14 15:12:18 +00:00
Steve Sanderson 85cc7aee34 Use CompositeMountedFileProvider to simplify build logic 2017-12-14 14:48:36 +00:00
Steve Sanderson a81ad1830f Implement CompositeMountedFileProvider 2017-12-14 14:31:55 +00:00
Steve Sanderson aa63da5151 Write out all client app files to disk at build time instead of serving dynamically at runtime 2017-12-14 11:59:55 +00:00
Steve Sanderson 39b64c1bc3 Add tests for IndexHtmlFileProvider, plus minor cleanups 2017-12-13 12:33:47 +00:00
Steve Sanderson affc66c24e Move Server.Test project to correct location on disk 2017-12-13 11:15:31 +00:00
Steve Sanderson fb8a01a138 Fix tests in preceding commit 2017-12-11 17:00:32 +00:00
Steve Sanderson 667f2cc007 Split Mono files provider into "Js" and "Bcl" parts, as they are used for different things 2017-12-11 16:56:31 +00:00
Steve Sanderson 0ed4a4eba5 Implement directory-capable InMemoryFileProvider 2017-12-11 14:01:34 +00:00
Steve Sanderson c439787ab5 Begin implementing ReferencedAssemblyFileProvider 2017-12-09 00:53:44 +00:00
Steve Sanderson 4618edead4 Rename BlazorStandalone sample to StandaloneApp for consistency 2017-12-08 17:36:29 +00:00
Steve Sanderson 4c15a74d14 Begin E2E testing for HostedInAspNet sample 2017-12-08 17:27:29 +00:00
Steve Sanderson 82b2128bd9 Remove HelloWorld static site (it's now superseded by more relevant E2E samples) 2017-12-07 12:08:11 +00:00
Steve Sanderson bee5c176de Add comment about StaticSiteServerFixture 2017-12-07 12:06:07 +00:00
Steve Sanderson 6cad4e3b84 Make E2E tests even more E2E by using ASP.NET Core apps' BuildWebHost method 2017-12-07 11:57:34 +00:00
Steve Sanderson 0ac789221e Begin E2E testing for DevHost-based projects 2017-12-07 11:49:05 +00:00
Steve Sanderson a59bfa3cb9 Refactor E2E tests fixtures/base classes for better composability 2017-12-07 10:39:46 +00:00
Steve Sanderson 3ca7aa853e Rename "runtime" -> "src" because it is all the source 2017-12-06 21:48:48 +00:00
Steve Sanderson 2c6156a149 Add missing test 2017-12-06 16:01:13 +00:00
Steve Sanderson 5aaed3d75a Add E2E tests for MonoSanity sample 2017-12-06 15:57:06 +00:00
Steve Sanderson 32dae87b00 Make MonoSanity sample actually run some .NET code via Mono 2017-12-06 14:29:29 +00:00
Steve Sanderson c841016783 Move and rename E2E test project for consistency 2017-12-06 12:26:20 +00:00
Steve Sanderson 47c8af1c54 Add ability to serve Mono static files 2017-12-06 12:13:22 +00:00