Home
last modified time | relevance | path

Searched refs:transcript (Results 1 – 25 of 66) sorted by relevance

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAsyncTaskTest.java23 private List<String> transcript; field in ShadowAsyncTaskTest
27 transcript = new ArrayList<>(); in setUp()
37 assertThat(transcript).containsExactly("onPreExecute"); in testNormalFlow()
38 transcript.clear(); in testNormalFlow()
41 assertThat(transcript).containsExactly("doInBackground a, b"); in testNormalFlow()
42 transcript.clear(); in testNormalFlow()
46 assertThat(transcript).containsExactly("onPostExecute c"); in testNormalFlow()
54 assertThat(transcript).containsExactly("onPreExecute"); in testCancelBeforeBackground()
55 transcript.clear(); in testCancelBeforeBackground()
61 assertThat(transcript).isEmpty(); in testCancelBeforeBackground()
[all …]
DShadowAsyncTaskLoaderTest.java17 private final List<String> transcript = new ArrayList<>(); field in ShadowAsyncTaskLoaderTest
28 assertThat(transcript).isEmpty(); in forceLoad_shouldEnqueueWorkOnSchedulers()
31 assertThat(transcript).containsExactly("loadInBackground"); in forceLoad_shouldEnqueueWorkOnSchedulers()
32 transcript.clear(); in forceLoad_shouldEnqueueWorkOnSchedulers()
35 assertThat(transcript).containsExactly("deliverResult 42"); in forceLoad_shouldEnqueueWorkOnSchedulers()
42 assertThat(transcript).isEmpty(); in forceLoad_multipleLoads()
45 assertThat(transcript).containsExactly("loadInBackground"); in forceLoad_multipleLoads()
46 transcript.clear(); in forceLoad_multipleLoads()
49 assertThat(transcript).containsExactly("deliverResult 42"); in forceLoad_multipleLoads()
52 transcript.clear(); in forceLoad_multipleLoads()
[all …]
DShadowContextWrapperTest.java41 public ArrayList<String> transcript; field in ShadowContextWrapperTest
45 transcript = new ArrayList<>(); in setUp()
55 assertThat(transcript).containsExactly("Larry notified of foo"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
56 transcript.clear(); in registerReceiver_shouldRegisterForAllIntentFilterActions()
59 assertThat(transcript).isEmpty(); in registerReceiver_shouldRegisterForAllIntentFilterActions()
62 assertThat(transcript).containsExactly("Larry notified of baz"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
74 assertThat(transcript).containsExactly("Larry notified of foo", "Bob notified of foo"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
75 transcript.clear(); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
78 assertThat(transcript).isEmpty(); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
81 assertThat(transcript).containsExactly("Larry notified of baz"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
[all …]
DShadowActivityTest.java126 final List<String> transcript = new ArrayList<>(); in startActivity_shouldDelegateToStartActivityForResult() local
129transcript.add("onActivityResult called with requestCode " + requestCode + ", resultCode " + resul… in startActivity_shouldDelegateToStartActivityForResult()
136 …assertThat(transcript).containsExactly("onActivityResult called with requestCode -1, resultCode -1… in startActivity_shouldDelegateToStartActivityForResult()
165 final List<String> transcript = new ArrayList<>(); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
169transcript.add("onActivityResult called with requestCode " + requestCode + ", resultCode " + resul… in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
177 …assertThat(transcript).containsExactly("onActivityResult called with requestCode 456, resultCode -… in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
249 final List<String> transcript = new ArrayList<>(); in onContentChangedShouldBeCalledAfterContentViewIsSet() local
251 customActivity.setTranscript(transcript); in onContentChangedShouldBeCalledAfterContentViewIsSet()
253 assertThat(transcript).containsExactly("onContentChanged was called; title is \"Main Layout\""); in onContentChangedShouldBeCalledAfterContentViewIsSet()
539 assertThat(activity.transcript).containsExactly( in recreateGoesThroughFullLifeCycle()
[all …]
DShadowViewTest.java63 private List<String> transcript; field in ShadowViewTest
67 transcript = new ArrayList<>(); in setUp()
104 transcript.add("onLayout " + changed + " " + left + " " + top + " " + right + " " + bottom); in layout_shouldCallOnLayoutOnlyIfChanged()
108 assertThat(transcript).isEmpty(); in layout_shouldCallOnLayoutOnlyIfChanged()
110 assertThat(transcript).containsExactly("onLayout true 1 2 3 4"); in layout_shouldCallOnLayoutOnlyIfChanged()
111 transcript.clear(); in layout_shouldCallOnLayoutOnlyIfChanged()
113 assertThat(transcript).isEmpty(); in layout_shouldCallOnLayoutOnlyIfChanged()
118 final List<String> transcript = new ArrayList<>(); in shouldFocus() local
123 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
129 assertThat(transcript).isEmpty(); in shouldFocus()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/testing/
DOnMethodTestActivity.java9 private final List<String> transcript; field in OnMethodTestActivity
11 public OnMethodTestActivity(List<String> transcript) { in OnMethodTestActivity() argument
12 this.transcript = transcript; in OnMethodTestActivity()
17 transcript.add("onCreate was called with " + savedInstanceState.get("key")); in onCreate()
22 transcript.add("onStart was called"); in onStart()
27 transcript.add("onRestoreInstanceState was called"); in onRestoreInstanceState()
32 transcript.add("onPostCreate was called"); in onPostCreate()
37 transcript.add("onRestart was called"); in onRestart()
42 transcript.add("onResume was called"); in onResume()
47 transcript.add("onPostResume was called"); in onPostResume()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java10 private Transcript transcript; field in SchedulerTest
17 transcript = new Transcript(); in setUp()
27 transcript.assertEventsSoFar("one", "two"); in testTick_ReturnsTrueIffSomeJobWasRun()
30 transcript.assertNoEventsSoFar(); in testTick_ReturnsTrueIffSomeJobWasRun()
33 transcript.assertEventsSoFar("three"); in testTick_ReturnsTrueIffSomeJobWasRun()
43 transcript.assertEventsSoFar("one"); in testShadowPostDelayed()
46 transcript.assertNoEventsSoFar(); in testShadowPostDelayed()
49 transcript.assertEventsSoFar("two"); in testShadowPostDelayed()
52 transcript.assertEventsSoFar("three"); in testShadowPostDelayed()
62 transcript.assertEventsSoFar("three"); in testShadowPostAtFrontOfQueue()
[all …]
DRobolectricBackgroundExecutorServiceTest.java18 private Transcript transcript; field in RobolectricBackgroundExecutorServiceTest
23 transcript = new Transcript(); in setUp()
30 transcript.add("background event ran"); in setUp()
39 transcript.assertNoEventsSoFar(); in execute_shouldRunStuffOnBackgroundThread()
42 transcript.assertEventsSoFar("background event ran"); in execute_shouldRunStuffOnBackgroundThread()
49 transcript.assertNoEventsSoFar(); in submitRunnable_shouldRunStuffOnBackgroundThread()
53 transcript.assertEventsSoFar("background event ran"); in submitRunnable_shouldRunStuffOnBackgroundThread()
68 transcript.assertNoEventsSoFar(); in submitCallable_shouldRunStuffOnBackgroundThread()
72 transcript.assertEventsSoFar("background event ran"); in submitCallable_shouldRunStuffOnBackgroundThread()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java35 private static final List<String> transcript = new ArrayList<>(); field in ActivityControllerTest
41 transcript.clear(); in setUp()
110 assertThat(transcript).contains("finishedOnCreate", "onCreate"); in whenLooperIsNotPaused_shouldCreateWithMainLooperPaused()
118 assertThat(transcript).contains("finishedOnCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
121 assertThat(transcript).contains("onCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
133 assertThat(transcript).contains("finishedOnStart", "onStart"); in start_callsPerformStartWhilePaused()
139 assertThat(transcript).contains("finishedOnStop", "onStop"); in stop_callsPerformStopWhilePaused()
145 assertThat(transcript).contains("finishedOnRestart", "onRestart"); in restart_callsPerformRestartWhilePaused()
151 assertThat(transcript).contains("finishedOnPause", "onPause"); in pause_callsPerformPauseWhilePaused()
157 assertThat(transcript).contains("finishedOnResume", "onResume"); in resume_callsPerformResumeWhilePaused()
[all …]
DIntentServiceControllerTest.java23 private static final List<String> transcript = new ArrayList<>(); field in IntentServiceControllerTest
29 transcript.clear(); in setUp()
64 assertThat(transcript).contains("finishedOnCreate", "onCreate"); in whenLooperIsNotPaused_shouldCreateWithMainLooperPaused()
72 assertThat(transcript).contains("finishedOnCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
75 assertThat(transcript).contains("onCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
81 assertThat(transcript).contains("finishedOnUnbind", "onUnbind"); in unbind_callsUnbindWhilePaused()
87 assertThat(transcript).contains("finishedOnRebind", "onRebind"); in rebind_callsRebindWhilePaused()
93 assertThat(transcript).contains("finishedOnDestroy", "onDestroy"); in destroy_callsOnDestroyWhilePaused()
99 assertThat(transcript).contains("finishedOnBind", "onBind"); in bind_callsOnBindWhilePaused()
105 assertThat(transcript).contains("finishedOnHandleIntent", "onHandleIntent"); in startCommand_callsOnHandleIntentWhilePaused()
[all …]
DServiceControllerTest.java23 private static final List<String> transcript = new ArrayList<>(); field in ServiceControllerTest
29 transcript.clear(); in setUp()
66 assertThat(transcript).contains("finishedOnCreate", "onCreate"); in whenLooperIsNotPaused_shouldCreateWithMainLooperPaused()
74 assertThat(transcript).contains("finishedOnCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
77 assertThat(transcript).contains("onCreate"); in whenLooperIsAlreadyPaused_shouldCreateWithMainLooperPaused()
83 assertThat(transcript).contains("finishedOnUnbind", "onUnbind"); in unbind_callsUnbindWhilePaused()
89 assertThat(transcript).contains("finishedOnRebind", "onRebind"); in rebind_callsRebindWhilePaused()
95 assertThat(transcript).contains("finishedOnDestroy", "onDestroy"); in destroy_callsOnDestroyWhilePaused()
101 assertThat(transcript).contains("finishedOnBind", "onBind"); in bind_callsOnBindWhilePaused()
107 assertThat(transcript).contains("finishedOnStartCommand", "onStartCommand"); in startCommand_callsOnStartCommandWhilePaused()
[all …]
DContentProviderControllerTest.java60 assertThat(controller.get().transcript).containsExactly("onCreate", "query for something"); in shouldRegisterWithContentResolver()
74 assertThat(myContentProvider.transcript).containsExactly("onCreate"); in create_shouldCallOnCreate()
80 assertThat(myContentProvider.transcript).containsExactly("shutdown"); in shutdown_shouldCallShutdown()
91 assertThat(controller.get().transcript).containsExactly("onCreate", "query for something"); in withoutManifest_shouldRegisterWithContentResolver()
97 assertThat(xContentProvider.transcript).containsExactly("x-authority not registered yet"); in contentProviderShouldBeCreatedBeforeBeingRegistered()
109transcript.add(contentProviderClient == null ? "x-authority not registered yet" : "x-authority is … in onCreate()
117 final List<String> transcript = new ArrayList<>(); field in ContentProviderControllerTest.MyContentProvider
121 transcript.add("onCreate"); in onCreate()
128 transcript.add("shutdown"); in shutdown()
133 transcript.add("query for " + uri); in query()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAsyncTaskTest.java22 private Transcript transcript; field in AsyncTaskTest
25 transcript = new Transcript(); in setUp()
35 transcript.assertEventsSoFar("onPreExecute"); in testNormalFlow()
38 transcript.assertEventsSoFar("doInBackground a, b"); in testNormalFlow()
42 transcript.assertEventsSoFar("onPostExecute c"); in testNormalFlow()
50 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforeBackground()
56 transcript.assertNoEventsSoFar(); in testCancelBeforeBackground()
59 transcript.assertEventsSoFar("onCancelled"); in testCancelBeforeBackground()
67 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforePostExecute()
70 transcript.assertEventsSoFar("doInBackground a, b"); in testCancelBeforePostExecute()
[all …]
DAdapterViewBehavior.java39 final Transcript transcript = new Transcript(); in shouldIgnoreSetSelectionCallsWithInvalidPosition() local
44 transcript.add("onItemSelected fired"); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
53 transcript.assertNoEventsSoFar(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
56 transcript.assertNoEventsSoFar(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
72 final Transcript transcript = new Transcript(); in testSetAdapter_ShouldSelectFirstItemAsynchronously() local
80 transcript.add("selected item " + position); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
88 transcript.assertNoEventsSoFar(); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
90 transcript.assertEventsSoFar("selected item 0"); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
94 final Transcript transcript = new Transcript(); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() local
103 transcript.add("onNothingSelected fired"); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
[all …]
DTestFragment.java33 Transcript transcript = new Transcript(); field in TestFragment
39 transcript.add("onAttach"); in onAttach()
45 transcript.add("onCreate"); in onCreate()
62 transcript.add("onCreateView"); in onCreateView()
68 transcript.add("onViewCreated"); in onViewCreated()
75 transcript.add("onActivityCreated"); in onActivityCreated()
81 transcript.add("onStart"); in onStart()
87 transcript.add("onResume"); in onResume()
DDialogFragmentTest.java41 dialogFragment.transcript.assertEventsSoFar( in show_shouldCallLifecycleMethods()
60 dialogFragment.transcript.assertEventsSoFar( in show_whenPassedATransaction_shouldCallShowWithManager()
171 final Transcript transcript = new Transcript(); field in DialogFragmentTest.TestDialogFragment
177 transcript.add("onAttach"); in onAttach()
184 transcript.add("onCreate"); in onCreate()
189 transcript.add("onCreateDialog"); in onCreateDialog()
195 transcript.add("onCreateView"); in onCreateView()
201 transcript.add("onViewCreated"); in onViewCreated()
207 transcript.add("onActivityCreated"); in onActivityCreated()
213 transcript.add("onStart"); in onStart()
[all …]
DContextWrapperTest.java32 public Transcript transcript; field in ContextWrapperTest
36 transcript = new Transcript(); in setUp()
46 transcript.assertEventsSoFar("Larry notified of foo"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
49 transcript.assertNoEventsSoFar(); in registerReceiver_shouldRegisterForAllIntentFilterActions()
52 transcript.assertEventsSoFar("Larry notified of baz"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
64 transcript.assertEventsSoFar("Larry notified of foo", "Bob notified of foo"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
67 transcript.assertNoEventsSoFar(); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
70 transcript.assertEventsSoFar("Larry notified of baz"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
81 transcript.assertNoEventsSoFar(); in unregisterReceiver_shouldUnregisterReceiver()
96 transcript.assertEventsSoFar("Larry notified of foo", "Larry notified of baz"); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
[all …]
DActivityTest.java66 final Transcript transcript = new Transcript(); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
70transcript.add("onActivityResult called with requestCode " + requestCode + ", resultCode " + resul… in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
78transcript.assertEventsSoFar("onActivityResult called with requestCode 456, resultCode -1, intent … in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
150 final Transcript transcript = new Transcript(); in onContentChangedShouldBeCalledAfterContentViewIsSet() local
154transcript.add("onContentChanged was called; title is \"" + shadowOf(findViewById(R.id.title)).inn… in onContentChangedShouldBeCalledAfterContentViewIsSet()
158 transcript.assertEventsSoFar("onContentChanged was called; title is \"Main Layout\""); in onContentChangedShouldBeCalledAfterContentViewIsSet()
424 activity.transcript.assertEventsSoFar( in createGoesThroughFullLifeCycle()
440 activity.transcript.assertEventsSoFar( in recreateGoesThroughFullLifeCycle()
479 Transcript transcript = new Transcript(); field in ActivityTest.TestActivity
486 transcript.add("onSaveInstanceState"); in onSaveInstanceState()
[all …]
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowAsyncTaskLoaderTest.java17 private final List<String> transcript = new ArrayList<>(); field in ShadowAsyncTaskLoaderTest
28 assertThat(transcript).isEmpty(); in forceLoad_shouldEnqueueWorkOnSchedulers()
31 assertThat(transcript).containsExactly("loadInBackground"); in forceLoad_shouldEnqueueWorkOnSchedulers()
32 transcript.clear(); in forceLoad_shouldEnqueueWorkOnSchedulers()
35 assertThat(transcript).containsExactly("deliverResult 42"); in forceLoad_shouldEnqueueWorkOnSchedulers()
42 assertThat(transcript).isEmpty(); in forceLoad_multipleLoads()
45 assertThat(transcript).containsExactly("loadInBackground"); in forceLoad_multipleLoads()
46 transcript.clear(); in forceLoad_multipleLoads()
49 assertThat(transcript).containsExactly("deliverResult 42"); in forceLoad_multipleLoads()
52 transcript.clear(); in forceLoad_multipleLoads()
[all …]
DShadowDialogFragmentTest.java48 assertThat(dialogFragment.transcript).containsExactly( in show_shouldCallLifecycleMethods()
67 assertThat(dialogFragment.transcript).containsExactly( in show_whenPassedATransaction_shouldCallShowWithManager()
119 final List<String> transcript = new ArrayList<>(); field in ShadowDialogFragmentTest.TestDialogFragment
125 transcript.add("onAttach"); in onAttach()
132 transcript.add("onCreate"); in onCreate()
138 transcript.add("onCreateDialog"); in onCreateDialog()
146 transcript.add("onCreateView"); in onCreateView()
152 transcript.add("onViewCreated"); in onViewCreated()
158 transcript.add("onActivityCreated"); in onActivityCreated()
164 transcript.add("onStart"); in onStart()
[all …]
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DSchedulerTest.java19 private final List<String> transcript = new ArrayList<>(); field in SchedulerTest
76 assertThat(transcript).isEmpty(); in setIdleStateToUnPause_shouldRunPendingTasks()
79 assertThat(transcript).containsExactly("one", "two"); in setIdleStateToUnPause_shouldRunPendingTasks()
88 assertThat(transcript).isEmpty(); in setIdleStateToConstantIdle_shouldRunAllTasks()
91 assertThat(transcript).containsExactly("one", "two", "three"); in setIdleStateToConstantIdle_shouldRunAllTasks()
100 assertThat(transcript).isEmpty(); in unPause_shouldRunPendingTasks()
103 assertThat(transcript).containsExactly("one", "two"); in unPause_shouldRunPendingTasks()
113 assertThat(transcript).isEmpty(); in idleConstantlyTrue_shouldRunAllTasks()
116 assertThat(transcript).containsExactly("one", "two", "three"); in idleConstantlyTrue_shouldRunAllTasks()
133 assertThat(transcript).containsExactly("one", "two"); in advanceBy_returnsTrueIffSomeJobWasRun()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DTestRunnerSequenceTest.java34 public static List<String> transcript; field in TestRunnerSequenceTest.StateHolder
39 StateHolder.transcript = new ArrayList<>(); in setUp()
44 assertThat(StateHolder.transcript).containsExactly( in shouldRunThingsInTheRightOrder()
56 StateHolder.transcript.clear(); in shouldRunThingsInTheRightOrder()
70 assertThat(StateHolder.transcript).containsExactly( in whenNoAppManifest_shouldRunThingsInTheRightOrder()
82 StateHolder.transcript.clear(); in whenNoAppManifest_shouldRunThingsInTheRightOrder()
107 StateHolder.transcript.add("TEST!"); in shouldDoNothingMuch()
157 StateHolder.transcript.add("configureShadows"); in configureShadows()
166 StateHolder.transcript.add("beforeTest"); in beforeTest()
171 StateHolder.transcript.add("prepareTest"); in prepareTest()
[all …]
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DSandboxClassLoaderTest.java89 private List<String> transcript = new ArrayList<>(); field in SandboxClassLoaderTest
90 private MyClassHandler classHandler = new MyClassHandler(transcript);
111 assertThat(transcript).isEmpty(); in forClassesWithNoDefaultConstructor_shouldCreateOneButItShouldNotCallShadow()
121 assertThat(transcript).containsExactly( in shouldDelegateToHandlerForConstructors()
174 assertThat(transcript).containsExactly( in callingNormalMethodShouldInvokeClassHandler()
187 assertThat(transcript).containsExactly( in shouldGenerateClassSpecificDirectAccessMethod()
208 assertThat(transcript).containsExactly( in callingStaticMethodShouldInvokeClassHandler()
229 assertThat(transcript).containsExactly( in callingNormalMethodReturningIntegerShouldInvokeClassHandler()
242 assertThat(transcript).containsExactly( in callingMethodReturningDoubleShouldInvokeClassHandler()
254 assertThat(transcript).containsExactly( in callingNativeMethodShouldInvokeClassHandler()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/util/concurrent/
DRoboExecutorServiceTest.java20 private final List<String> transcript = new ArrayList<>(); field in RoboExecutorServiceTest
31 transcript.add("background event ran"); in setUp()
40 assertThat(transcript).isEmpty(); in execute_shouldRunStuffOnBackgroundThread()
43 assertThat(transcript).containsExactly("background event ran"); in execute_shouldRunStuffOnBackgroundThread()
50 assertThat(transcript).isEmpty(); in submitRunnable_shouldRunStuffOnBackgroundThread()
54 assertThat(transcript).containsExactly("background event ran"); in submitRunnable_shouldRunStuffOnBackgroundThread()
70 assertThat(transcript).isEmpty(); in submitCallable_shouldRunStuffOnBackgroundThread()
74 assertThat(transcript).containsExactly("background event ran"); in submitCallable_shouldRunStuffOnBackgroundThread()
97 assertThat(transcript).isEmpty(); in whenShutdownBeforeSubmittedTasksAreExecuted_TaskIsNotInTranscript()
107 assertThat(transcript).isEmpty(); in whenShutdownNow_ReturnedListContainsOneRunnable()
[all …]
/external/boringssl/src/ssl/
Dtls13_enc.cc37 if (!hs->transcript.InitHash(version, cipher)) { in init_key_schedule()
41 hs->hash_len = hs->transcript.DigestLen(); in init_key_schedule()
55 hs->transcript.FreeBuffer(); in tls13_init_key_schedule()
56 return HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), psk, in tls13_init_key_schedule()
65 HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), psk, in tls13_init_early_key_schedule()
105 hs->transcript.Digest(), nullptr)) { in tls13_advance_key_schedule()
109 if (!hkdf_expand_label(hs->secret, hs->transcript.Digest(), hs->secret, in tls13_advance_key_schedule()
116 return HKDF_extract(hs->secret, &hs->hash_len, hs->transcript.Digest(), in, in tls13_advance_key_schedule()
127 if (!hs->transcript.GetHash(context_hash, &context_hash_len)) { in derive_secret()
131 return hkdf_expand_label(out, hs->transcript.Digest(), hs->secret, in derive_secret()
[all …]

123