List of commits:
Subject Hash Author Date (UTC)
fix another test fd8e7fa14a4daa281e7fbcec875bfe56ce39e400 mucbuc 2020-01-18 22:42:40
working on tests 1b57cbb4e806eda21565dc8bd7e7fe7ff1cb5fff mucbuc 2020-01-18 22:36:15
fix test 8b364e739d1e12cd77b9f63efb0a245a75e695df mucbuc 2020-01-18 21:49:21
fix emit once 71aba1ef472aa23c9c9a8529b5258599a6289c16 mucbuc 2020-01-18 21:41:03
remove agentlifetime test ce0fba661c6110fc050203a1a8f9fedf39258615 mucbuc 2020-01-18 11:25:44
emit with arg passes 1b2288e8472b749c513120c441397a77298ab0b7 mucbuc 2020-01-17 10:58:28
dynamo update 7082792be9aa3ccb56b0afbddf58bdf468d56030 mucbuc 2020-01-17 05:32:03
circuit 9877e777b93a54d396248ad449f6ba5abf324733 mucbuc 2020-01-17 04:22:05
dynamo v2dev 15f474b5a627558c230b2fe96c40fb5c68a176d0 mucbuc 2020-01-17 04:21:40
research 47ce3a71d001f2aea7af852673b42b83f20be4dd Ubuntu 2019-12-22 17:19:57
working on test b646f535e229ff57b421f0bee0570c8a4bda76a9 Ubuntu 2019-12-21 13:20:34
emit with args 81cc2a4373cb92a07ba7acbab65ebabceb826dc0 Ubuntu 2019-12-21 06:40:24
format 1192aea1b3bf9b400e02a11152a38e5dfc6b7ad6 Ubuntu 2019-12-21 06:27:42
todo ce69f800504f9e5c643115b9ca887705dafafde3 Ubuntu 2019-12-18 07:43:15
format e59b4ae5d0286ba6766e66427996f8ccab4eff0e Ubuntu 2019-12-18 07:38:21
redo interface 3dd5822c6288ad004d1ec45e37a6f63d361aff39 Ubuntu 2019-12-18 07:38:11
temp test 54800db7dbd02d7070f5018abd27bea261bd9097 Ubuntu 2019-12-18 07:07:07
cleanup test 58f12d14f6db17e0916b115f470f87393e1ebce6 Ubuntu 2019-12-15 14:52:15
fix build error 51fcd8e612a8e89cf6ef2c94cfb82b664b532313 mucbuc 2019-11-29 06:49:34
moved impl back e536719eb2c090e49e1f389deed19dbdcd582275 mucbuc 2019-11-27 15:17:35
Commit fd8e7fa14a4daa281e7fbcec875bfe56ce39e400 - fix another test
Author: mucbuc
Author date (UTC): 2020-01-18 22:42
Committer name: mucbuc
Committer date (UTC): 2020-01-18 22:42
Parent(s): 1b57cbb4e806eda21565dc8bd7e7fe7ff1cb5fff
Signing key:
Tree: 43eab1891d22896ad68d902503912a54159c9c36
File Lines added Lines deleted
test/src/on_while_emit.cpp 11 23
File test/src/on_while_emit.cpp changed (mode: 100644) (index 877a510..25d6568)
2 2 #include <iostream> #include <iostream>
3 3 #include <vector> #include <vector>
4 4
5 #include <lib/ohm/src/quemitter.h>
6 5 #include <tmp/src/test.h> #include <tmp/src/test.h>
7 6
8 using namespace std;
9 using namespace om636;
10 template <template <class, class> class T>
11 void check_on_while_emit()
7 #include <lib/ohm/src/emitter_impl.h>
8
9 int main()
12 10 { {
13 typedef T<string, function<void()>> emitter_type;
11 using namespace std;
12 using namespace om636;
13 using namespace control;
14 typedef EmitterImpl<string> emitter_type;
14 15 typedef typename emitter_type::listener_type listener_type; typedef typename emitter_type::listener_type listener_type;
15 16
16 17 emitter_type emitter; emitter_type emitter;
 
... ... void check_on_while_emit()
23 24 ++counter; ++counter;
24 25 })); }));
25 26
26 emitter.emit("on");
27 emitter.interupt("on");
27 28 })); }));
28 29
29 emitter.emit("load");
30 emitter.emit("on");
31
32 ASSERT(counter == 2);
33
34 FOOTER;
35 }
36
37 template <class T, class U>
38 using QueuedEmitter = om636::control::Quemitter<T, U>;
39
40 int main()
41 {
42 using namespace std;
30 emitter.interupt("load");
31 emitter.interupt("on");
43 32
44 check_on_while_emit<om636::control::Emitter>();
45 check_on_while_emit<QueuedEmitter>();
33 ASSERT(counter == 2 && "check_on_while_emit" );
46 34
47 35 return 0; return 0;
48 36 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mucbuc/ohm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mucbuc/ohm

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/ohm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main