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

MAIN_PACKAGE string differs from package #131

Open
vitiral opened this issue Sep 13, 2023 · 3 comments
Open

MAIN_PACKAGE string differs from package #131

vitiral opened this issue Sep 13, 2023 · 3 comments

Comments

@vitiral
Copy link

vitiral commented Sep 13, 2023

https://github.com/google/mobly-snippet-lib/blame/9cb6d9e93baa6d4e0b8a650126a1fa3ef4c9810e/examples/ex4_uiautomator/src/main/java/com/google/android/mobly/snippet/example4/UiAutomatorSnippet.java#L49-L50

package com.google.android.mobly.snippet.example4;

...
    private static final String MAIN_PACKAGE = "com.google.android.mobly.snippet.example2";

Could a comment be added for why the MAIN_PACKAGE is different from the package? Does this code actually work??

@xpconanfan
Copy link
Collaborator

Sorry this might be a typo. And feel free to upload a fix if you think it's incorrect :)

This example has become less relevant now that we have https://github.com/google/snippet-uiautomator.

If you are in Google, the internal docs are more up to date.

@vitiral
Copy link
Author

vitiral commented Sep 14, 2023 via email

@xpconanfan
Copy link
Collaborator

yeah we could do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants