You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: project_and_code_guidelines.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -527,7 +527,7 @@ public Observable<Location> syncLocations() {
527
527
528
528
### 2.3.1 Use self closing tags
529
529
530
-
When an XML element doesn\'t have any contents, you __must__ use self closing tags.
530
+
When an XML element doesn't have any contents, you __must__ use self closing tags.
531
531
532
532
This is good:
533
533
@@ -587,7 +587,7 @@ Menu example:
587
587
588
588
#### 2.3.2.2 Strings
589
589
590
-
String names start with a prefix that identifies the section they belong to. For example `registration_email_hint` or `registration_name_hint`. If a string __doesn\'t belong__ to any section, then you should follow the rules below:
590
+
String names start with a prefix that identifies the section they belong to. For example `registration_email_hint` or `registration_name_hint`. If a string __doesn't belong__ to any section, then you should follow the rules below:
591
591
592
592
593
593
| Prefix | Description |
@@ -626,7 +626,7 @@ Test methods are annotated with `@Test` and should generally start with the name
626
626
627
627
Precondition and/or expected behaviour may not always be required if the test is clear enough without them.
628
628
629
-
Sometimes a class may contain a large amount of methods, that at the same time require several tests for each method. In this case, it\'s recommendable to split up the test class into multiple ones. For example, if the `DataManager` contains a lot of methods we may want to divide it into `DataManagerSignInTest`, `DataManagerLoadUsersTest`, etc. Generally you will be able to see what tests belong together because they have common [test fixtures](https://en.wikipedia.org/wiki/Test_fixture).
629
+
Sometimes a class may contain a large amount of methods, that at the same time require several tests for each method. In this case, it's recommendable to split up the test class into multiple ones. For example, if the `DataManager` contains a lot of methods we may want to divide it into `DataManagerSignInTest`, `DataManagerLoadUsersTest`, etc. Generally you will be able to see what tests belong together because they have common [test fixtures](https://en.wikipedia.org/wiki/Test_fixture).
630
630
631
631
### 2.4.2 Espresso tests
632
632
@@ -656,4 +656,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
656
656
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
657
657
See the License for the specific language governing permissions and
0 commit comments