Skip to content

Conversation

@mjkkirschner
Copy link
Member

@mjkkirschner mjkkirschner commented Sep 27, 2022

Purpose

A WIP to share a few failing test cases with the team. Note the large diff with master, I will send another PR cross merging master to emitMSIL to make this PR easier to review.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated

Release Notes

(FILL ME IN) Brief description of the fix / enhancement. Mandatory section

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

pinzart90 and others added 10 commits September 16, 2022 13:13
* add nunit test adapter for 2022

* update

* Update Setup.cs

* update

* Update DynamoCore.csproj

* Create System.Net.Http.dll

* update

* update

Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>
- removed flashing white color on mouse pressed for the filter ui element
* Update Node AutoComplete Visuals

* Reuse style from central location
tests pass - merging this then will send cherry pick
* Import Export Settings

* Info Icons

* Indentation

* Using Dynamo View Model reference

* Moving the methods to the proper places according to their accessibility

* Handling Generic Exceptions

* updating the RaisePropertyChanged

* Extracting the import extension file as a variable

* Unique file name

* Changing the access level

* Various revisions

* Cleaning vars

* Adding Unit Test

* Adding Comments and cleaning vars

* Removing unnecessary methods

* Refactoring to get the static fields automatically

* Updating the Unit Test

* checking new settings file

* Adding validation info

* Getting First Property with the same value

* Updating valid TrustedLocations entries

[Test]
public void MSIL_Arithmatic_No_Replication()
public void ZTLongestLacing_ShouldReturn4Results()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the tests for review - note the ones marked failure :(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these tests should pass after @aparajit-pratap merges #13323

@pinzart90 pinzart90 changed the base branch from emitMSIL to master September 27, 2022 05:26
@pinzart90 pinzart90 changed the base branch from master to emitMSIL September 27, 2022 05:27
@pinzart90 pinzart90 changed the base branch from emitMSIL to master September 27, 2022 05:28
@pinzart90 pinzart90 changed the base branch from master to emitMSIL September 27, 2022 05:28
@pinzart90
Copy link
Contributor

@mjkkirschner I added case 2 of replication (exact matching) so that the tests can pass (same behavior as in the old VM)
There are very few changes, I hope you don't mind me desecrating your PR

// We have a cluster of FEPs that can be used to dispatch the array
resolvedFeps = new List<CLRFunctionEndPoint>(lookups);
replicationInstructions = replicationOption;
matchFound = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pinzart90 should this break?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it could. But then it would be different than the old VM

mjkkirschner and others added 3 commits September 27, 2022 17:16
1. Missing replication Longest/Shortest attribute
2. Fix result - wrap in list (like old VM)
@mjkkirschner mjkkirschner merged commit 75c2f6f into DynamoDS:emitMSIL Sep 28, 2022
sm6srw pushed a commit to sm6srw/Dynamo that referenced this pull request Jan 20, 2023
…namoDS#13343)

* add nunit test adapter for 2022 (DynamoDS#13313)

* add nunit test adapter for 2022

* update

* Update Setup.cs

* update

* Update DynamoCore.csproj

* Create System.Net.Http.dll

* update

* update

Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>

* Filter Mouse Pressed Removed (DynamoDS#13319)

- removed flashing white color on mouse pressed for the filter ui element

* Fixing horizontal center (DynamoDS#13312)

* Update Node AutoComplete Dialog Visuals (DynamoDS#13329)

* Update Node AutoComplete Visuals

* Reuse style from central location

* Add editorconfig (DynamoDS#13233)

* Dyn5272 (DynamoDS#13334)

tests pass - merging this then will send cherry pick

* Dyn 5159 import export preferences (DynamoDS#13301)

* Import Export Settings

* Info Icons

* Indentation

* Using Dynamo View Model reference

* Moving the methods to the proper places according to their accessibility

* Handling Generic Exceptions

* updating the RaisePropertyChanged

* Extracting the import extension file as a variable

* Unique file name

* Changing the access level

* Various revisions

* Cleaning vars

* Adding Unit Test

* Adding Comments and cleaning vars

* Removing unnecessary methods

* Refactoring to get the static fields automatically

* Updating the Unit Test

* checking new settings file

* Adding validation info

* Getting First Property with the same value

* Updating valid TrustedLocations entries

* move near clipping plane further away for more depth buffer precision. (DynamoDS#13338)

passed here:
merging.

* add more failing tests

* implement case 2 of replication

* Update ReplicationTests.cs

* add failing test

* add some more failing tests

* add some lacing tests that use arb rank params

* fix tests

1. Missing replication Longest/Shortest attribute
2. Fix result - wrap in list (like old VM)

Co-authored-by: pinzart90 <46732933+pinzart90@users.noreply.github.com>
Co-authored-by: pinzart <tiberiu.pinzariu@autodesk.com>
Co-authored-by: Deyan Nenov <dnenov@archilizer.com>
Co-authored-by: jesusalvino <96534278+jesusalvino@users.noreply.github.com>
Co-authored-by: Aaron (Qilong) <173288704@qq.com>
Co-authored-by: Aabishkar KC <aabishkar@gmail.com>
Co-authored-by: kirschm <michael.kirschner@autodesk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants