Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.random
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.random
Merge requests
!1
Resolve "Add a first hello world activity"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Add a first hello world activity"
1-add-a-first-hello-world-activity
into
master
Overview
0
Commits
1
Pipelines
3
Changes
18
Merged
Benoît Harrault
requested to merge
1-add-a-first-hello-world-activity
into
master
4 years ago
Overview
0
Commits
1
Pipelines
3
Changes
18
Closes
#1 (closed)
Edited
4 years ago
by
Benoît Harrault
0
0
Merge request reports
Compare
master
version 2
c7cd69e0
4 years ago
version 1
9804ed0f
4 years ago
master (base)
and
version 1
latest version
bd692489
1 commit,
4 years ago
version 2
c7cd69e0
1 commit,
4 years ago
version 1
9804ed0f
1 commit,
4 years ago
18 files
+
138
−
9
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
app/src/androidTest/java/
com/example/myfirstapp
/ExampleInstrumentedTest.java
→
app/src/androidTest/java/
org/benoitharrault/random
/ExampleInstrumentedTest.java
+
2
−
2
View file @ 9804ed0f
Edit in single-file editor
Open in Web IDE
Show full file
package
com.example.myfirstapp
;
package
org.benoitharrault.random
;
import
android.content.Context
;
import
android.content.Context
;
import
android.support.test.InstrumentationRegistry
;
import
android.support.test.InstrumentationRegistry
;
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
// Context of the app under test.
// Context of the app under test.
Context
appContext
=
InstrumentationRegistry
.
getTargetContext
();
Context
appContext
=
InstrumentationRegistry
.
getTargetContext
();
assertEquals
(
"
com.example.myfirstapp
"
,
appContext
.
getPackageName
());
assertEquals
(
"
org.benoitharrault.random
"
,
appContext
.
getPackageName
());
}
}
}
}
Loading