Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
c0d65b6e
Commit
c0d65b6e
authored
May 10, 2021
by
宋永孟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add modify file
parent
9de0a7a7
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
2 additions
and
125 deletions
+2
-125
ExampleInstrumentedTest.kt
...oidTest/java/com/yidian/common/ExampleInstrumentedTest.kt
+0
-24
ExampleUnitTest.kt
...Common/src/test/java/com/yidian/common/ExampleUnitTest.kt
+0
-17
ExampleInstrumentedTest.kt
...oidTest/java/com/yidian/subway/ExampleInstrumentedTest.kt
+0
-24
ExampleUnitTest.kt
...ontent/src/test/java/com/yidian/subway/ExampleUnitTest.kt
+0
-17
ExampleInstrumentedTest.kt
...oidTest/java/com/yidian/subway/ExampleInstrumentedTest.kt
+0
-24
ExampleUnitTest.kt
...erinfo/src/test/java/com/yidian/subway/ExampleUnitTest.kt
+0
-17
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+1
-1
YdSubwayApplication.kt
...ain/java/com/shenghuoquan/business/YdSubwayApplication.kt
+1
-1
No files found.
CommonLib/Common/src/androidTest/java/com/yidian/common/ExampleInstrumentedTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.common
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.ext.junit.runners.AndroidJUnit4
import
org.junit.Test
import
org.junit.runner.RunWith
import
org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith
(
AndroidJUnit4
::
class
)
class
ExampleInstrumentedTest
{
@Test
fun
useAppContext
()
{
// Context of the app under test.
val
appContext
=
InstrumentationRegistry
.
getInstrumentation
().
targetContext
assertEquals
(
"com.yidian.common.test"
,
appContext
.
packageName
)
}
}
\ No newline at end of file
CommonLib/Common/src/test/java/com/yidian/common/ExampleUnitTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.common
import
org.junit.Test
import
org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class
ExampleUnitTest
{
@Test
fun
addition_isCorrect
()
{
assertEquals
(
4
,
2
+
2
)
}
}
\ No newline at end of file
Components/newscontent/src/androidTest/java/com/yidian/subway/ExampleInstrumentedTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.subway
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.ext.junit.runners.AndroidJUnit4
import
org.junit.Test
import
org.junit.runner.RunWith
import
org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith
(
AndroidJUnit4
::
class
)
class
ExampleInstrumentedTest
{
@Test
fun
useAppContext
()
{
// Context of the app under test.
val
appContext
=
InstrumentationRegistry
.
getInstrumentation
().
targetContext
assertEquals
(
"com.yidian.newscontent"
,
appContext
.
packageName
)
}
}
\ No newline at end of file
Components/newscontent/src/test/java/com/yidian/subway/ExampleUnitTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.subway
import
org.junit.Test
import
org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class
ExampleUnitTest
{
@Test
fun
addition_isCorrect
()
{
assertEquals
(
4
,
2
+
2
)
}
}
\ No newline at end of file
Components/userinfo/src/androidTest/java/com/yidian/subway/ExampleInstrumentedTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.subway
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.ext.junit.runners.AndroidJUnit4
import
org.junit.Test
import
org.junit.runner.RunWith
import
org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith
(
AndroidJUnit4
::
class
)
class
ExampleInstrumentedTest
{
@Test
fun
useAppContext
()
{
// Context of the app under test.
val
appContext
=
InstrumentationRegistry
.
getInstrumentation
().
targetContext
assertEquals
(
"com.yidian.userinfo"
,
appContext
.
packageName
)
}
}
\ No newline at end of file
Components/userinfo/src/test/java/com/yidian/subway/ExampleUnitTest.kt
deleted
100644 → 0
View file @
9de0a7a7
package
com.yidian.subway
import
org.junit.Test
import
org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class
ExampleUnitTest
{
@Test
fun
addition_isCorrect
()
{
assertEquals
(
4
,
2
+
2
)
}
}
\ No newline at end of file
app/src/main/AndroidManifest.xml
View file @
c0d65b6e
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<application
<application
android:name=
"
com.yidian.subway
.YdSubwayApplication"
android:name=
".YdSubwayApplication"
android:allowBackup=
"true"
android:allowBackup=
"true"
android:icon=
"@mipmap/ic_launcher"
android:icon=
"@mipmap/ic_launcher"
android:label=
"@string/app_name"
android:label=
"@string/app_name"
...
...
app/src/main/java/com/
yidian/subway
/YdSubwayApplication.kt
→
app/src/main/java/com/
shenghuoquan/business
/YdSubwayApplication.kt
View file @
c0d65b6e
package
com.
yidian.subway
package
com.
shenghuoquan.business
import
android.app.Activity
import
android.app.Activity
import
android.content.Context
import
android.content.Context
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment