Skip to content

Commit

Permalink
chore(ReactWindows): Cleanup dead code (#852)
Browse files Browse the repository at this point in the history
Removing IRootView and MeasureAssertions which are no longer in use.

Fixes #847
  • Loading branch information
rozele authored Nov 1, 2016
1 parent 2a27c1d commit 99624a7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using NUnit.Framework;
using ReactNative.UIManager;
using System.Windows;
using System.Windows.Controls;

namespace ReactNative.Tests.UIManager
{
Expand All @@ -13,12 +11,5 @@ public void RootViewHelper_Null()
{
Assert.IsNull(RootViewHelper.GetRootView(null));
}

class TestRootView : Panel, IRootView
{
public void OnChildStartedNativeGesture(RoutedEventArgs ev)
{
}
}
}
}
2 changes: 0 additions & 2 deletions ReactWindows/ReactNative.Shared/ReactNative.Shared.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
<Compile Include="$(MSBuildThisFileDirectory)UIManager\Events\TouchEventTypeExtensions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\IPropertySetter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\IReactCompoundView.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\IRootView.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\IViewManager.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\IViewParentManager.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\LayoutAnimation\AnimatedPropertyType.cs" />
Expand All @@ -163,7 +162,6 @@
<Compile Include="$(MSBuildThisFileDirectory)UIManager\LayoutAnimation\StoryboardObservable.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\LayoutShadowNode.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\MatrixMathHelper.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\MeasureAssertions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\NativeViewHierarchyManager.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\NativeViewHierarchyOptimizer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UIManager\OnLayoutEvent.cs" />
Expand Down
20 changes: 0 additions & 20 deletions ReactWindows/ReactNative.Shared/UIManager/IRootView.cs

This file was deleted.

20 changes: 0 additions & 20 deletions ReactWindows/ReactNative.Shared/UIManager/MeasureAssertions.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,5 @@ public void RootViewHelper_Null()
{
Assert.IsNull(RootViewHelper.GetRootView(null));
}

class TestRootView : Panel, IRootView
{
public void OnChildStartedNativeGesture(RoutedEventArgs ev)
{
}
}
}
}

0 comments on commit 99624a7

Please sign in to comment.