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

java.lang.ClassNotFoundException: Didn't find class "org.easymock.IArgumentMatcher" on path #2109

Closed
aljohnston112 opened this issue Jan 18, 2024 · 1 comment

Comments

@aljohnston112
Copy link

aljohnston112 commented Jan 18, 2024

Description

I pasted some code from the repo here

    fun withItemContent(expectedText: String?): Matcher<Any?>? {
        return withItemContent(equalTo(expectedText))
    }

Then I tried to run the test with that code and get the following error

java.lang.ClassNotFoundException: Didn't find class "org.easymock.IArgumentMatcher" on path

Steps to Reproduce

See above

Expected Results

The class to be found

Actual Results

The class is not found

AndroidX Test and Android OS Versions

androidTestImplementation 'androidx.test:core-ktx:1.5.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.5.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'

Android 12

@aljohnston112
Copy link
Author

I checked the imports...

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

No branches or pull requests

1 participant