This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask_args appdir: "/Applications" | |
# Apps | |
cask "google-chrome" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.orderbird.testing | |
import android.app.Activity | |
import androidx.test.ext.junit.rules.ActivityScenarioRule | |
import androidx.test.platform.app.InstrumentationRegistry | |
import androidx.test.uiautomator.UiDevice | |
import com.orderbird.testing.AnimationScaleSettings.disableAnimations | |
import com.orderbird.testing.AnimationScaleSettings.restoreAnimations | |
import org.junit.rules.RuleChain | |
import org.junit.rules.TestRule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JUnit5 test extension | |
// | |
// usage: | |
// | |
// @ExtendWith(MockkAndroidLog::class) | |
// class TestClass { | |
// ... | |
// } | |
import android.util.Log | |
import io.mockk.clearStaticMockk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.role.RoleManager | |
import android.content.Intent | |
import androidx.activity.ComponentActivity | |
import androidx.activity.result.ActivityResultLauncher | |
import androidx.activity.result.ActivityResultRegistry | |
import androidx.activity.result.contract.ActivityResultContracts | |
import androidx.lifecycle.DefaultLifecycleObserver | |
import androidx.lifecycle.Lifecycle | |
import androidx.lifecycle.LifecycleOwner | |
import java.util.UUID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.junit.Assert.assertEquals | |
import org.junit.Test | |
import java.time.LocalTime | |
import java.time.format.DateTimeFormatter | |
import java.util.Locale | |
class TimeSuffixesTest { | |
@Test | |
fun getAmPm() { |
OlderNewer