Skip to content

Commit

Permalink
Fix test errors and warnings (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
brawner authored Aug 1, 2019
1 parent e3d9faf commit 9903ff4
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions SW2URDF/Test/TestCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public void TestSaveSWComponentsList(string modelName)

[Theory]
[InlineData(MODEL_NAME_3_DOF_ARM, "3_DOF_ARM_BASE-1", new byte[] {
248, 42, 0, 0, 5, 0, 0, 0, 255, 254, 255, 26, 51, 0, 95, 0, 68, 0, 79, 0, 70, 0, 95,
224, 46, 0, 0, 5, 0, 0, 0, 255, 254, 255, 26, 51, 0, 95, 0, 68, 0, 79, 0, 70, 0, 95,
0, 65, 0, 82, 0, 77, 0, 95, 0, 66, 0, 65, 0, 83, 0, 69, 0, 45, 0, 49, 0, 64, 0, 51,
0, 95, 0, 68, 0, 79, 0, 70, 0, 95, 0, 65, 0, 82, 0, 77, 0, 4, 0, 0, 0, 16, 0, 0, 0,
1, 0, 0, 0, 1, 0, 0, 0, 17, 0, 0, 0, })]
Expand Down Expand Up @@ -317,11 +317,8 @@ public void TestLoadSWComponentsList(string modelName)
}

[Theory]
[InlineData(MODEL_NAME_3_DOF_ARM, new byte[] { 248, 42, 0, 0, 5, 0, 0, 0, 255, 254, 255, 26,
51, 0, 95, 0, 68, 0, 79, 0, 70, 0, 95, 0, 65, 0, 82, 0, 77, 0, 95, 0, 66, 0, 65, 0, 83,
0, 69, 0, 45, 0, 49, 0, 64, 0, 51, 0, 95, 0, 68, 0, 79, 0, 70, 0, 95, 0, 65, 0, 82, 0,
77, 0, 4, 0, 0, 0, 16, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 17, 0, 0, 0, })]
public void TestLoadSWComponent(string modelName, byte[] pid)
[InlineData(MODEL_NAME_3_DOF_ARM)]
public void TestLoadSWComponent(string modelName)
{
ModelDoc2 doc = OpenSWDocument(modelName);
AssemblyDoc assyDoc = (AssemblyDoc)doc;
Expand Down
4 changes: 2 additions & 2 deletions SW2URDF/UI/MessageBoxHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ namespace SW2URDF.UI
{
public class MessageBoxHelper : IMessageBox
{
MessageBoxResult IMessageBox.Show(string message)
public MessageBoxResult Show(string message)
{
return MessageBox.Show(message);
}

MessageBoxResult IMessageBox.Show(string message, string caption, MessageBoxButton buttons)
public MessageBoxResult Show(string message, string caption, MessageBoxButton buttons)
{
return MessageBox.Show(message, caption, buttons);
}
Expand Down
Binary file modified examples/ORIGINAL_3_DOF_ARM/Arm_base.SLDPRT
Binary file not shown.
Binary file modified examples/ORIGINAL_3_DOF_ARM/Arm_brace.SLDPRT
Binary file not shown.
Binary file modified examples/ORIGINAL_3_DOF_ARM/Arm_link.SLDASM
Binary file not shown.
Binary file modified examples/ORIGINAL_3_DOF_ARM/Arm_link_tube.SLDPRT
Binary file not shown.
Binary file modified examples/ORIGINAL_3_DOF_ARM/ORIGINAL_3_DOF_ARM.SLDASM
Binary file not shown.
Binary file modified examples/ORIGINAL_3_DOF_ARM/Skin Link.SLDPRT
Binary file not shown.

0 comments on commit 9903ff4

Please sign in to comment.