<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sunfish.git/opendc-common/src/test/kotlin/org/opendc/common, branch master</title>
<subtitle>The OpenDC BSc thesis repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/'/>
<entry>
<title>Updated package versions, updated web server tests. (#207)</title>
<updated>2024-03-05T12:23:57+00:00</updated>
<author>
<name>Dante Niewenhuis</name>
<email>d.niewenhuis@hotmail.com</email>
</author>
<published>2024-03-05T12:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=5864cbcbfe2eb8c36ca05c3a39c7e5916aeecaec'/>
<id>5864cbcbfe2eb8c36ca05c3a39c7e5916aeecaec</id>
<content type='text'>
* Updated all package versions including kotlin. Updated all web-server tests to run.

* Changed the java version of the tests. OpenDC now only supports java 19.

* small update

* test update

* new update

* updated docker version to 19

* updated docker version to 19</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Updated all package versions including kotlin. Updated all web-server tests to run.

* Changed the java version of the tests. OpenDC now only supports java 19.

* small update

* test update

* new update

* updated docker version to 19

* updated docker version to 19</pre>
</div>
</content>
</entry>
<entry>
<title>Updated tests to run successfully (#187)</title>
<updated>2023-12-14T20:13:40+00:00</updated>
<author>
<name>Dante Niewenhuis</name>
<email>d.niewenhuis@hotmail.com</email>
</author>
<published>2023-12-14T20:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=c57468c5040a838de6901972b6e49a8548d908d6'/>
<id>c57468c5040a838de6901972b6e49a8548d908d6</id>
<content type='text'>
* made sure all tests run

* fixed typo

* executed spotlessApply

* added back web-server tests

* updated SimTraceWorkloadTest

* commented CapelinRunneer and GreenifierRunner tests

* commented one SimTraceWorkloadTest

* altered codecov execution

* changed codecov</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* made sure all tests run

* fixed typo

* executed spotlessApply

* added back web-server tests

* updated SimTraceWorkloadTest

* commented CapelinRunneer and GreenifierRunner tests

* commented one SimTraceWorkloadTest

* altered codecov execution

* changed codecov</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: Replace use of CoroutineContext by Dispatcher</title>
<updated>2022-11-13T17:42:01+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-11-09T21:59:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=fb2672afb2d8236d5291cd028196c99d8e4d47f1'/>
<id>fb2672afb2d8236d5291cd028196c99d8e4d47f1</id>
<content type='text'>
This change replaces the use of `CoroutineContext` for passing the
`SimulationDispatcher` across the different modules of OpenDC by the
lightweight `Dispatcher` interface of the OpenDC common module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change replaces the use of `CoroutineContext` for passing the
`SimulationDispatcher` across the different modules of OpenDC by the
lightweight `Dispatcher` interface of the OpenDC common module.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(sim/core): Re-implement SimulationScheduler as Dispatcher</title>
<updated>2022-11-13T17:42:01+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-11-09T21:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=00ac59e8e9d6a41c2eac55aa25420dce8fa9c6e0'/>
<id>00ac59e8e9d6a41c2eac55aa25420dce8fa9c6e0</id>
<content type='text'>
This change updates the `SimulationScheduler` class to implement the
`Dispatcher` interface from the OpenDC Common module, so that OpenDC
modules only need to depend on the common module for dispatching future
task (possibly in simulation).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates the `SimulationScheduler` class to implement the
`Dispatcher` interface from the OpenDC Common module, so that OpenDC
modules only need to depend on the common module for dispatching future
task (possibly in simulation).
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(common): Add compatibility with Kotlin coroutines</title>
<updated>2022-11-13T15:24:46+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-11-09T16:44:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=c22d744464f91eaa5f1aabee408351e864f36f1d'/>
<id>c22d744464f91eaa5f1aabee408351e864f36f1d</id>
<content type='text'>
This change adds support for converting a `Dispatcher` implementation
into a `CoroutineDispatcher` instance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds support for converting a `Dispatcher` implementation
into a `CoroutineDispatcher` instance.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Switch to Spotless for formatting</title>
<updated>2022-10-06T12:46:56+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-10-06T11:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=47357afd16f928260db34d4dd3e686fb9ee7c5ff'/>
<id>47357afd16f928260db34d4dd3e686fb9ee7c5ff</id>
<content type='text'>
This change updates the build configuration to use Spotless for code
formating of both Kotlin and Java.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates the build configuration to use Spotless for code
formating of both Kotlin and Java.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: Eliminate use of wildcard imports</title>
<updated>2022-10-06T10:51:27+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-10-06T10:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=402a8f55342c4565431c2a2e7287a70592f3fe33'/>
<id>402a8f55342c4565431c2a2e7287a70592f3fe33</id>
<content type='text'>
This change updates the repository to remove the use of wildcard imports
everywhere. Wildcard imports are not allowed by default by Ktlint as
well as Google's Java style guide.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates the repository to remove the use of wildcard imports
everywhere. Wildcard imports are not allowed by default by Ktlint as
well as Google's Java style guide.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(sim/core): Rename runBlockingSimulation to runSimulation</title>
<updated>2022-10-05T12:10:11+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-10-05T12:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=be176910eb870209576326ffaad8bf21241fccbd'/>
<id>be176910eb870209576326ffaad8bf21241fccbd</id>
<content type='text'>
This change renames the method `runBlockingSimulation` to
`runSimulation` to put more emphasis on the simulation part of the
method. The blocking part is not that important, but this behavior is
still described in the method documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change renames the method `runBlockingSimulation` to
`runSimulation` to put more emphasis on the simulation part of the
method. The blocking part is not that important, but this behavior is
still described in the method documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(sim/core): Use SimulationScheduler in coroutine dispatcher</title>
<updated>2022-10-05T12:03:01+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-10-05T11:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=c214a7fe0d46ecc23a71f9237b20281c0ca1c929'/>
<id>c214a7fe0d46ecc23a71f9237b20281c0ca1c929</id>
<content type='text'>
This change updates the implementation of `SimulationDispatcher` to use
a (possibly user-provided) `SimulationScheduler` for managing the
execution of the simulation and future tasks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates the implementation of `SimulationDispatcher` to use
a (possibly user-provided) `SimulationScheduler` for managing the
execution of the simulation and future tasks.
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(common): Optimize TimerScheduler</title>
<updated>2022-02-18T13:46:30+00:00</updated>
<author>
<name>Fabian Mastenbroek</name>
<email>mail.fabianm@gmail.com</email>
</author>
<published>2022-02-18T13:45:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.denounce.ai/sunfish.git/commit/?id=0711d4c1d6afb41ca31afbf8bd6253921d57eeb4'/>
<id>0711d4c1d6afb41ca31afbf8bd6253921d57eeb4</id>
<content type='text'>
This change updates the TimerScheduler implementation to directly use
the Delay object instead of running the timers inside a coroutine.
Constructing the coroutine is more expensive, so we prefer running in a
Runnable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change updates the TimerScheduler implementation to directly use
the Delay object instead of running the timers inside a coroutine.
Constructing the coroutine is more expensive, so we prefer running in a
Runnable.
</pre>
</div>
</content>
</entry>
</feed>
