-
Notifications
You must be signed in to change notification settings - Fork 68
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
UIP-2414: Resolve ddc test failures #122
Conversation
@@ -33,7 +35,7 @@ void commonFactoryTests(Function factory) { | |||
test('multiple arguments', () { | |||
var instance = factory({}, 'one', 'two'); | |||
expect(getJsChildren(instance), equals(['one', 'two'])); | |||
}); | |||
}, tags: 'ddcFailure'); |
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.
This should have a comment as to why it's disabled in the DDC
@@ -155,7 +157,7 @@ void _childKeyWarningTests(Function factory) { | |||
); | |||
|
|||
expect(consoleErrorCalled, isFalse, reason: 'should not have outputted a warning'); | |||
}); | |||
}, tags: 'ddcFailure'); |
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.
This should have a comment as to why it's disabled in the DDC
@@ -1,3 +1,5 @@ | |||
@Tags(const ["ddcFailure"]) |
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.
Is this needed? Wouldn't this mark the whole suite as ddcFailure
?
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 I misread the docs about this.. for some reason I thought I needed to declare the tag to be able to use it. I'll take this out.
@greglittlefield-wf Feedback addressed |
+1 |
QA +10 |
Ultimate Problem
Several dozen tests failed when the test code was compiled using
dartdevc
.Solution
name
/type
fieldsnoSuchMethod
on emulated functions bugHow to +10/QA
pub run test -p content-shell,chrome
Note: I had to do this on
1.23.0
.2. All tests should pass when run like this:
First add the following to pubspec.yaml:
Then, run:
Please review @aaronlademann-wf @greglittlefield-wf @jacehensley-wf