Home
last modified time | relevance | path

Searched refs:outerBuilder (Results 1 – 1 of 1) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLazyMessageLiteTest.java152 LazyMessageLite.Builder outerBuilder = LazyMessageLite.newBuilder(); in testClearValues() local
154 assertEquals(0, outerBuilder.build().getNum()); in testClearValues()
158 outerBuilder.setNum(100); in testClearValues()
160 assertEquals(100, outerBuilder.build().getNum()); in testClearValues()
161 assertEquals(421, outerBuilder.build().getNumWithDefault()); in testClearValues()
162 assertFalse(outerBuilder.build().hasInner()); in testClearValues()
164 outerBuilder.clearNum(); in testClearValues()
166 assertEquals(0, outerBuilder.build().getNum()); in testClearValues()
167 assertEquals(421, outerBuilder.build().getNumWithDefault()); in testClearValues()
168 assertFalse(outerBuilder.build().hasInner()); in testClearValues()
[all …]