OLD | NEW |
1 /* | 1 /* |
2 Copyright 2010 Google Inc | 2 Copyright 2010 Google Inc |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 var dict = (JsonDictionary) obj; | 158 var dict = (JsonDictionary) obj; |
159 | 159 |
160 // Validate output | 160 // Validate output |
161 Assert.That(dict.Count, Is.EqualTo(3)); | 161 Assert.That(dict.Count, Is.EqualTo(3)); |
162 Assert.That(dict["one"], Is.True); | 162 Assert.That(dict["one"], Is.True); |
163 Assert.That(dict["https://www.googleapis.com/auth/moderator"], Is.Eq
ualTo("two")); | 163 Assert.That(dict["https://www.googleapis.com/auth/moderator"], Is.Eq
ualTo("two")); |
164 Assert.That(dict["three"], Is.True); | 164 Assert.That(dict["three"], Is.True); |
165 } | 165 } |
166 } | 166 } |
167 } | 167 } |
OLD | NEW |