Tuesday, February 25, 2014

Android Test Cases

there are several cases you can use


Some common Test cases:
TestCase – It is a JUnit test case. It can be extended to test utility classes that are not tied to the Android framework.
AndroidTestCase – It extends JUnit’s TestCase. It doesn’t need to launch an activity to run it. It can be used when user wants to access Resources that depend on Activity Context.
ActivityInstrumentationTestCase2<T extends android.app.Activity> – It provides UI and functional testing for a single activity.
ActivityUnitTestCase<T extends android.app.Activity> – It gives the tested activity an isolated environment. The activity under test will be created with minimal connection to the system infrastructure.
ApplicationTestCase<T extends android.app.Application> – It provides

Tuesday, February 11, 2014

how to easily make sql to java String sql

to Solve this issue
I made a homepage that sql can be changed into java String

I hope to help you guys~!

this has 2 function

1. sql to Java sql String

2. java sql String to real sql


example

http://hide.my/6bX