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

Gd/convert sdk to kotlin/159978777 #102

Merged
merged 19 commits into from
Sep 3, 2018

Conversation

guillaumedebavelaere
Copy link
Contributor

No description provided.

@guillaumedebavelaere guillaumedebavelaere force-pushed the gd/convert_sdk_to_kotlin/159978777 branch 10 times, most recently from 47cac37 to 9c2b8db Compare August 30, 2018 06:26
@guillaumedebavelaere guillaumedebavelaere force-pushed the gd/convert_sdk_to_kotlin/159978777 branch from 9c2b8db to 90b81f2 Compare August 30, 2018 07:29
@guillaumedebavelaere guillaumedebavelaere changed the title [WIP] Gd/convert sdk to kotlin/159978777 Gd/convert sdk to kotlin/159978777 Aug 30, 2018
@guillaumedebavelaere guillaumedebavelaere force-pushed the gd/convert_sdk_to_kotlin/159978777 branch 2 times, most recently from 0eadf6b to 433cfec Compare August 30, 2018 07:39
/**
* [Testing Fundamentals](http://d.android.com/tools/testing/testing_android.html)
*/
class ApplicationTest : ApplicationTestCase<Application>(Application::class.java)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ApplicationTest is not used, should be removed too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed


@RunWith(AndroidJUnit4::class)
@LargeTest
class TradeItLinkedBrokerManagerTest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running androidTests on emulator with api level 19 got below error:

Test running failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

do you have any idea what went wrong? tests was ok in api level 22 and 28 emulators though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. I tested on develop and the error was already there

@guillaumedebavelaere guillaumedebavelaere merged commit 26a05eb into develop Sep 3, 2018

val context = context
val apiKey = apiKey
val environment = environment
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can just declare the property in the constructor directly instead.

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

Successfully merging this pull request may close these issues.

2 participants