-
Notifications
You must be signed in to change notification settings - Fork 1
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
Analyticsをある程度対応させる1 #299
Analyticsをある程度対応させる1 #299
Conversation
@@ -119,28 +125,30 @@ class MainActivity : AppCompatActivity() { | |||
} | |||
} | |||
|
|||
HiraganaConverterTheme( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CompositionLocalで囲んだだけ
/** | ||
* Analytics for Mock (no-op) | ||
*/ | ||
class MockAnalytics : Analytics { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIAではNoOp〜だったけど個人的にわかりにくいからMockとした
@@ -53,6 +53,7 @@ accompanist-webView = { group = "com.google.accompanist", name = "accompanist-we | |||
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "activity" } | |||
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidxAppCompat" } | |||
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "androidxComposeMaterial3" } | |||
androidx-compose-runtime = { group = "androidx.compose.runtime", name = "runtime", version.ref = "androidxUi" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
staticCompositionLocalOfを使うために入れた
ScreenShotTestで失敗している... |
@@ -30,8 +27,9 @@ import org.robolectric.annotation.GraphicsMode | |||
@GraphicsMode(GraphicsMode.Mode.NATIVE) | |||
@Config(qualifiers = RobolectricDeviceQualifiers.Pixel6Pro) | |||
class ConverterScreenTest { | |||
@get:Rule | |||
val composeTestRule = createAndroidComposeRule<MainActivity>() | |||
// FIXME: I have commented out the error since I started to Inject Firebase into MainActivity. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここで失敗してた...
app/src/test/java/ksnd/hiraganaconverter/view/screen/ConverterScreenTest.kt
Outdated
Show resolved
Hide resolved
JaCoCo Code Coverage 74.59% ✅
Generated by 🚫 Danger |
Issue
Overview
Reference
LOG