Skip to content

Commit 782f8af

Browse files
authored
Merge pull request #360 from FlowCrypt/0.6.8
0.6.8: Queue Improvements
2 parents af422f1 + 6d0d995 commit 782f8af

File tree

372 files changed

+37053
-35661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

372 files changed

+37053
-35661
lines changed

FlowCrypt/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ dependencies {
250250
implementation "com.squareup.retrofit2:converter-gson:${RETROFIT_VERSION}"
251251
implementation "com.squareup.okhttp3:logging-interceptor:${OKHTTP_VERSION}"
252252

253-
implementation ("com.sun.mail:android-mail:${JAVA_MAIL_VERSION}"){
253+
implementation("com.sun.mail:android-mail:${JAVA_MAIL_VERSION}") {
254254
exclude group: 'javax.activation'
255255
}
256256

FlowCrypt/src/androidTest/java/com/flowcrypt/email/TestConstants.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77

88
/**
99
* @author Denis Bondarenko
10-
* Date: 17.01.2018
11-
* Time: 15:15
12-
10+
* Date: 17.01.2018
11+
* Time: 15:15
12+
1313
*/
1414
public class TestConstants {
15-
public static final String IMAP = "IMAP";
16-
public static final String SMTP = "SMTP";
15+
public static final String IMAP = "IMAP";
16+
public static final String SMTP = "SMTP";
1717

18-
public static final char COMMERCIAL_AT_SYMBOL = '@';
18+
public static final char COMMERCIAL_AT_SYMBOL = '@';
1919

20-
public static final String RECIPIENT_WITH_PUBLIC_KEY_ON_ATTESTER = "[email protected]";
21-
public static final String RECIPIENT_WITHOUT_PUBLIC_KEY_ON_ATTESTER = "[email protected]";
20+
public static final String RECIPIENT_WITH_PUBLIC_KEY_ON_ATTESTER = "[email protected]";
21+
public static final String RECIPIENT_WITHOUT_PUBLIC_KEY_ON_ATTESTER = "[email protected]";
2222

23-
public static final String DEFAULT_STRONG_PASSWORD = "My supper strange password 2018";
24-
public static final String DEFAULT_PASSWORD = "android";
23+
public static final String DEFAULT_STRONG_PASSWORD = "My supper strange password 2018";
24+
public static final String DEFAULT_PASSWORD = "android";
2525
}

FlowCrypt/src/androidTest/java/com/flowcrypt/email/assertions/RecyclerViewItemCountAssertion.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@
2222
2323
*/
2424
public class RecyclerViewItemCountAssertion implements ViewAssertion {
25-
private final int expectedCount;
25+
private final int expectedCount;
2626

27-
public RecyclerViewItemCountAssertion(int expectedCount) {
28-
this.expectedCount = expectedCount;
29-
}
30-
31-
@Override
32-
public void check(View view, NoMatchingViewException noViewFoundException) {
33-
if (noViewFoundException != null) {
34-
throw noViewFoundException;
35-
}
27+
public RecyclerViewItemCountAssertion(int expectedCount) {
28+
this.expectedCount = expectedCount;
29+
}
3630

37-
RecyclerView recyclerView = (RecyclerView) view;
38-
RecyclerView.Adapter adapter = recyclerView.getAdapter();
39-
assertThat(adapter.getItemCount(), is(expectedCount));
31+
@Override
32+
public void check(View view, NoMatchingViewException noViewFoundException) {
33+
if (noViewFoundException != null) {
34+
throw noViewFoundException;
4035
}
36+
37+
RecyclerView recyclerView = (RecyclerView) view;
38+
RecyclerView.Adapter adapter = recyclerView.getAdapter();
39+
assertThat(adapter.getItemCount(), is(expectedCount));
40+
}
4141
}

0 commit comments

Comments
 (0)