<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/runtime.rs, branch arti-v1.1.13</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-01-08T18:19:11Z</updated>
<entry>
<title>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtmock: Remove now-needless to_string calls.</title>
<updated>2023-11-30T15:16:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-30T14:04:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f2e1855c07dc3e59a9db41c4bc376fc6d97ce44'/>
<id>urn:sha1:9f2e1855c07dc3e59a9db41c4bc376fc6d97ce44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: handle Receiver result inside spawn_join()</title>
<updated>2023-11-21T15:59:38Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T15:59:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=804b66127008d194f5691602219812f6e982df1d'/>
<id>urn:sha1:804b66127008d194f5691602219812f6e982df1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return types to be less concrete</title>
<updated>2023-11-21T12:37:11Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T12:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f1bb16f55f0534aef9c7040912d731f97dc9c59e'/>
<id>urn:sha1:f1bb16f55f0534aef9c7040912d731f97dc9c59e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return type of spawn_join()</title>
<updated>2023-11-21T06:16:21Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T06:07:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3204c99787f748d6fc9d0123929f8dd1adc3e4f'/>
<id>urn:sha1:f3204c99787f748d6fc9d0123929f8dd1adc3e4f</id>
<content type='text'>
This makes it synchronous. The trait bounds on the return type
have also been relaxed to not require Clone
</content>
</entry>
<entry>
<title>tor-rtmock: introduce spawn_join() for MockRuntime &amp; MockExecutor</title>
<updated>2023-11-21T06:16:20Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-17T11:43:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63f9ccbd73745eb6dd506f9fae29968edd34e868'/>
<id>urn:sha1:63f9ccbd73745eb6dd506f9fae29968edd34e868</id>
<content type='text'>
This helps abstract away the need to create a oneshot channel in order
to get the return value out of an async function when using MockRuntime.

ref: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1727#note_2965352
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntimeBuilder: new sleep_provider() setter</title>
<updated>2023-11-01T13:19:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T17:23:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee96e5e454ba5db27daaab0f8757732994454f0b'/>
<id>urn:sha1:ee96e5e454ba5db27daaab0f8757732994454f0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simplify/reorganise MockRuntimeBuilder::build</title>
<updated>2023-11-01T13:19:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T10:58:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=111300f54fb03b8b2b4269466abf5a8038338a94'/>
<id>urn:sha1:111300f54fb03b8b2b4269466abf5a8038338a94</id>
<content type='text'>
Always reify a default SimpleMockTimeProvider, and then apply the
starting_wallclock to it.  This will make the next change fit.
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntime::test_with_various: Print what we're doing</title>
<updated>2023-10-16T12:38:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-12T13:28:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6345e398fb81e93b5f1f6618a8c83f5821f610af'/>
<id>urn:sha1:6345e398fb81e93b5f1f6618a8c83f5821f610af</id>
<content type='text'>
Without this, it can be a bit confusing since you just get the
output (if any) of all the test runs, concatenated.  It seems sensible
to put the framing centrally.

And, this would be helpful if the test fails for any reason.
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntime: in advance_*, warn to stderr about looping</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T15:01:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfd3936ba5c5e0bc26c419356a108e5ec565702d'/>
<id>urn:sha1:bfd3936ba5c5e0bc26c419356a108e5ec565702d</id>
<content type='text'>
This helped me diagnose
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1040
</content>
</entry>
</feed>
