Skip to content
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

Unittests for widget rich_text.dart #1179

Closed
palisadoes opened this issue Jan 31, 2022 · 7 comments
Closed

Unittests for widget rich_text.dart #1179

palisadoes opened this issue Jan 31, 2022 · 7 comments
Assignees
Labels
good first issue Good for newcomers test Testing application

Comments

@palisadoes
Copy link
Contributor

We will need unittests done for all methods, classes and functions found in this file.

Any widgets referenced in this file must also have unittests done

rich_text.dart

This file can be found in the lib/widgets directory

Parent Issue:

PR Acceptance Criteria

@palisadoes palisadoes added good first issue Good for newcomers test Testing application points 01 labels Jan 31, 2022
@github-actions github-actions bot added parent The issue is generating more sub-issues unapproved Unapproved, needs to be triaged labels Jan 31, 2022
@palisadoes palisadoes removed the parent The issue is generating more sub-issues label Jan 31, 2022
@MnCSSJ4x
Copy link

I am new to contribution and would love to add to this. Can someone guide me in this and assign this?

@palisadoes palisadoes removed the unapproved Unapproved, needs to be triaged label Feb 15, 2022
@palisadoes
Copy link
Contributor Author

For guidance, please ask the contributors who have recently closed PRs. They will be glad to assist. They are also available on our Slack channel.

@MnCSSJ4x
Copy link

Hello I have been facing this issue and is unable to run the app from main to actually know how the app is.
I am attaching the logs to the issue. Please help !
The plugin adhara_socket_io` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
: Error: 'UnmodifiableUint8ListView' is restricted and can't be extended or implemented.
class Uuid extends UnmodifiableUint8ListView {
^

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/mons/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/mons/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 19s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
`

@palisadoes
Copy link
Contributor Author

Try upgrading to the latest version of flutter and updating the packages in your local repo

@MnCSSJ4x
Copy link

MnCSSJ4x commented Feb 21, 2022

Tried to fix this, still get the same error. This is an existing error with dart . Please check this soon. This is when I cloned the master branch. Also I already see a test file for Rich_text.dart in the dev channel test folder.

@ahluwaliatikant
Copy link
Contributor

ahluwaliatikant commented Feb 22, 2022

@palisadoes Sir, this file already has 100% coverage according to the codecov report.

@palisadoes
Copy link
Contributor Author

You are correct. I'll close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers test Testing application
Projects
None yet
Development

No branches or pull requests

3 participants