-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Parametric google-test for mapping validation #13281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b428c43
2dc1f20
2a0789b
c85d371
ad6201d
a2de90e
207a818
71c5cbe
914c31d
2416567
cfe169f
88796cd
017bac8
9f99d01
13611c3
fe03493
5827d47
9049618
02cdcba
e6a06d4
4d55f55
df61ae9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -130,14 +130,18 @@ | |||||||||||||||||||||||||||||||
| disconnect: function() { | ||||||||||||||||||||||||||||||||
| if (this.connections[0] !== undefined) { | ||||||||||||||||||||||||||||||||
| this.connections.forEach(function(conn) { | ||||||||||||||||||||||||||||||||
| conn.disconnect(); | ||||||||||||||||||||||||||||||||
| if (conn !== undefined) { | ||||||||||||||||||||||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this an expected usecase? It does makes sense in the case of testing due to missing CO, but I assume that
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Detailed warnings are already implemented in engine.makeConnection: mixxx/src/controllers/scripting/legacy/controllerscriptinterfacelegacy.cpp Lines 276 to 290 in c10f342
But after the warning engine.makeConnection returns undefined and the script continues.
|
||||||||||||||||||||||||||||||||
| conn.disconnect(); | ||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||
| }); | ||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||
| trigger: function() { | ||||||||||||||||||||||||||||||||
| if (this.connections[0] !== undefined) { | ||||||||||||||||||||||||||||||||
| this.connections.forEach(function(conn) { | ||||||||||||||||||||||||||||||||
| conn.trigger(); | ||||||||||||||||||||||||||||||||
| if (conn !== undefined) { | ||||||||||||||||||||||||||||||||
| conn.trigger(); | ||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||
| }); | ||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DO we need to make the above conditional to
HID, andBULK?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the simplicity of the code is of more value than skiping 1 or 2 regular expressions during CMake configuration.