Skip to content

Commit

Permalink
covered all lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam Jha committed Dec 27, 2024
1 parent e580ce8 commit 6bca573
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 10 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ android {
}

compileSdkVersion 34

namespace "com.example.talawa"
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
Expand All @@ -50,6 +50,14 @@ android {
versionName flutterVersionName
multiDexEnabled true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '17'
}

buildTypes {
release {
Expand All @@ -67,4 +75,5 @@ flutter {
dependencies {
implementation 'com.android.support:multidex:1.0.3'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.10"

}
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ void main() {
});

test('isReachable throws TimeoutException on timeout', () async {
final isReachableResult = await mockService.isReachable(
client: mockClient,
final isReachableResult = await actualService.isReachable(
uriString: 'https://timeout.com',
);
expect(isReachableResult, false);
Expand Down

0 comments on commit 6bca573

Please sign in to comment.