-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Tests for LumiCore 64 and little refactoring for Testing Binarys
- Loading branch information
1 parent
cca8520
commit c6190a6
Showing
19 changed files
with
163 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
ArtNetTests/Binary Tests/Luminex/Luminex_LumiCore64_2_6_1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
using ArtNetSharp; | ||
|
||
namespace ArtNetTests.Binary_Tests.Luminex | ||
{ | ||
internal class Luminex_LumiCore64_2_6_1 : AbstractArtPollReplyBinaryTestSubject | ||
{ | ||
private static readonly byte[] DATA = [ | ||
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, | ||
0x00, 0x21, 0x02, 0x22, 0x02, 0x96, 0x36, 0x19, | ||
0x02, 0x06, 0x00, 0x01, 0x2a, 0x57, 0x00, 0xe3, | ||
0x4c, 0x4c, 0x4c, 0x75, 0x6d, 0x69, 0x43, 0x6f, | ||
0x72, 0x65, 0x20, 0x36, 0x34, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x4c, 0x75, 0x6d, 0x69, | ||
0x43, 0x6f, 0x72, 0x65, 0x20, 0x36, 0x34, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, | ||
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x80, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0xd0, 0x69, 0x9e, 0xa1, 0x02, 0x96, 0x02, | ||
0x22, 0x02, 0x96, 0x1a, 0x19, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]; | ||
|
||
private static readonly PortTestSubject[] PORTS = | ||
[ | ||
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)25,(PortAddress)16) | ||
]; | ||
public Luminex_LumiCore64_2_6_1() : base( | ||
"Luminex LumiCore 64 (FW 2.6.1)", | ||
DATA, | ||
0, | ||
"LumiCore 64", | ||
"LumiCore 64", | ||
new MACAddress("d0:69:9e:a1:02:96"), | ||
new IPv4Address("2.34.2.150"), | ||
new IPv4Address("2.34.2.150"), | ||
0x2a57, | ||
0x4c4c, | ||
EStCodes.StNode, | ||
PORTS, | ||
true, | ||
majorVersion:2, | ||
minorVersion:6) | ||
{ | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
ArtNetTests/Binary Tests/Luminex/Luminex_LumiCore64_2_6_2.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
using ArtNetSharp; | ||
|
||
namespace ArtNetTests.Binary_Tests.Luminex | ||
{ | ||
internal class Luminex_LumiCore64_2_6_2 : AbstractArtPollReplyBinaryTestSubject | ||
{ | ||
private static readonly byte[] DATA = [ | ||
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, | ||
0x00, 0x21, 0x02, 0x22, 0x02, 0x96, 0x36, 0x19, | ||
0x02, 0x06, 0x00, 0x03, 0x2a, 0x57, 0x00, 0xe3, | ||
0x4c, 0x4c, 0x4c, 0x75, 0x6d, 0x69, 0x43, 0x6f, | ||
0x72, 0x65, 0x20, 0x36, 0x34, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x4c, 0x75, 0x6d, 0x69, | ||
0x43, 0x6f, 0x72, 0x65, 0x20, 0x36, 0x34, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00, | ||
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x80, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0xd0, 0x69, 0x9e, 0xa1, 0x02, 0x96, 0x02, | ||
0x22, 0x02, 0x96, 0x40, 0x19, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ]; | ||
|
||
private static readonly PortTestSubject[] PORTS = | ||
[ | ||
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)63,(PortAddress)48) | ||
]; | ||
public Luminex_LumiCore64_2_6_2() : base( | ||
"Luminex LumiCore 64 (FW 2.6.2)", | ||
DATA, | ||
0, | ||
"LumiCore 64", | ||
"LumiCore 64", | ||
new MACAddress("d0:69:9e:a1:02:96"), | ||
new IPv4Address("2.34.2.150"), | ||
new IPv4Address("2.34.2.150"), | ||
0x2a57, | ||
0x4c4c, | ||
EStCodes.StNode, | ||
PORTS, | ||
true, | ||
majorVersion:2, | ||
minorVersion:6) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters