p2pchat / p2pChat

For the UW-Stout Software Engineering Practicum course
MIT License
2 stars 1 forks source link

Issue#76 integration test wifi direct #92

Closed Austin-Scott closed 4 years ago

Austin-Scott commented 4 years ago

Closes #76

Not the prettiest but it works and I'm out of time.

Austin-Scott commented 4 years ago

Replace WifiDirect class for testing because WifiDirect will never work from the testing environment anyways.

Madministrator commented 4 years ago

Replace WifiDirect class for testing because WifiDirect will never work from the testing environment anyways.

Actually, be very careful about that, since my dependency injection code uses the actual WifiDirect class and routes through the WifiDirect class to get to the Mocked class. If you replace the WifiDirect class, my testing of the actual class will begin to fail.