Home
last modified time | relevance | path

Searched refs:bot2 (Results 1 – 25 of 131) sorted by relevance

123456

/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/03_subclasses/
H A D06_state_nick_sync.t14 my $bot2 = POE::Component::IRC::State->spawn(
65 $bot2->yield(register => 'all');
66 $bot2->yield(connect => {
89 is($irc->nick_info($bot2->nick_name())->{Server}, undef,
97 if (keys %{ $bot1->channels } == 2 && !keys %{ $bot2->channels }) {
98 $bot2->yield(join => "#testchannel");
101 if ($irc == $bot2 && keys %{ $bot2->channels } == 1) {
111 return if $irc != $bot2;
127 $bot2->yield(join => "#testchannel2");
131 $_->yield('quit') for ($bot1, $bot2);
[all …]
H A D05_state_awaypoll.t14 my $bot2 = POE::Component::IRC::State->spawn(
66 $bot2->yield(register => 'all');
67 $bot2->yield(connect => {
99 $bot2->yield(join => $where);
103 $bot2->yield(away => "I'm gone now");
117 $bot2->yield('away');
129 $_->yield('quit') for ($bot1, $bot2);
146 $bot2->yield('shutdown');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/02_behavior/
H A D13_activity.t64 $bot2->yield(register => 'all');
65 $bot2->yield(connect => {
123 return if $irc != $bot2;
132 return if $irc != $bot2;
141 return if $irc != $bot2;
150 return if $irc != $bot2;
158 return if $irc != $bot2;
166 return if $irc != $bot2;
175 return if $irc != $bot2;
179 $bot2->yield('quit');
[all …]
H A D16_nonclosing_ctcp.t13 my $bot2 = POE::Component::IRC->spawn(
62 $bot2->yield(register => 'all');
63 $bot2->yield(connect => {
78 $bot1->yield(privmsg => $bot2->nick_name(), "\001VERSION");
79 $bot1->yield(privmsg => $bot2->nick_name(), "goodbye");
93 $bot2->yield('quit');
109 $bot2->yield('shutdown');
H A D15_no_stacked_ctcp.t13 my $bot2 = POE::Component::IRC->spawn(
62 $bot2->yield(register => 'all');
63 $bot2->yield(connect => {
78 $bot1->yield(privmsg => $bot2->nick_name(), "\001VERSION\001\001VERSION\001");
79 $bot1->yield(privmsg => $bot2->nick_name(), "goodbye");
102 $bot2->yield('quit');
118 $bot2->yield('shutdown');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/14_logger/
H A D03_private.t18 my $bot2 = POE::Component::IRC::State->spawn(
27 $bot2->plugin_add(Logger => POE::Component::IRC::Plugin::Logger->new(
87 $bot2->yield(register => 'all');
88 $bot2->yield(connect => {
102 $bot2->yield('shutdown');
113 $bot1->yield(privmsg => $bot2->nick_name(), 'Hello there');
122 $bot2->yield(privmsg => $bot1->nick_name(), 'Hi yourself');
126 $bot1->yield(ctcp => $bot2->nick_name(), 'ACTION is talking');
136 $bot2->yield(ctcp => $bot1->nick_name(), 'ACTION is too');
149 $bot2->yield(notice => $bot1->nick_name(), 'So is this');
[all …]
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/03_botaddressed/
H A D02_output.t14 my $bot2 = POE::Component::IRC->spawn(
23 $bot2->plugin_add(BotAddressed => POE::Component::IRC::Plugin::BotAddressed->new());
67 $bot2->yield(register => 'all');
68 $bot2->yield(connect => {
91 $bot1->yield(privmsg => $where, $bot2->nick_name . ': y halo thar');
92 $bot1->yield(privmsg => $where, '@' . $bot2->nick_name . ': y halo thar');
93 $bot1->yield(privmsg => $where, 'y halo thar, ' . $bot2->nick_name());
94 $bot1->yield(ctcp => $where, 'ACTION greets ' . $bot2->nick_name());
118 $bot2->yield('quit');
135 $bot2->yield('shutdown');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/13_botcommand/
H A D07_bare_private.t14 my $bot2 = POE::Component::IRC->spawn(
64 $bot2->yield(register => 'all');
65 $bot2->yield(connect => {
79 $bot2->yield('shutdown');
118 $bot2->yield(privmsg => $bot1->nick_name(), "cmd1 foo bar");
121 $bot2->yield(privmsg => $bot1->nick_name(), "\x02cmd2\x0f");
129 is($nick, $bot2->nick_name(), 'Normal command (user)');
130 is($where, $bot2->nick_name(), 'Normal command (channel)');
139 is($nick, $bot2->nick_name(), 'Colored command (user)');
140 is($where, $bot2->nick_name(), 'Colored command (channel)');
[all …]
H A D02_commands.t14 my $bot2 = POE::Component::IRC->spawn(
65 $bot2->yield(register => 'all');
66 $bot2->yield(connect => {
80 $bot2->yield('shutdown');
127 $bot2->yield(privmsg => $where, "TestBot1: cmd1 foo bar");
130 $bot2->yield(privmsg => $where, "TestBot1: cmd2 value1 bar opt_arg");
133 $bot2->yield(privmsg => $where, "\x0302TestBot1\x0f: \x02cmd3\x0f");
141 is($nick, $bot2->nick_name(), 'Normal command (user)');
151 is($nick, $bot2->nick_name(), 'Command with args (user)');
162 is($nick, $bot2->nick_name(), 'Colored command (user)');
[all …]
H A D08_nonword.t14 my $bot2 = POE::Component::IRC->spawn(
66 $bot2->yield(register => 'all');
67 $bot2->yield(connect => {
81 $bot2->yield('shutdown');
121 $bot2->yield(privmsg => $where, "(cmd-1 foo bar");
124 $bot2->yield(privmsg => $where, "\x02(cmd-2\x0f");
132 is($nick, $bot2->nick_name(), 'Normal command (user)');
142 is($nick, $bot2->nick_name(), 'Colored command (user)');
147 $bot2->yield('quit');
H A D06_prefix.t14 my $bot2 = POE::Component::IRC->spawn(
64 $bot2->yield(register => 'all');
65 $bot2->yield(connect => {
79 $bot2->yield('shutdown');
119 $bot2->yield(privmsg => $where, "(cmd1 foo bar");
122 $bot2->yield(privmsg => $where, "\x02(cmd2\x0f");
130 is($nick, $bot2->nick_name(), 'Normal command (user)');
140 is($nick, $bot2->nick_name(), 'Colored command (user)');
145 $bot2->yield('quit');
H A D03_options.t14 my $bot2 = POE::Component::IRC->spawn(
77 $bot2->yield(register => 'all');
78 $bot2->yield(connect => {
92 $bot2->yield('shutdown');
134 $bot2->yield(privmsg => $where, ",cmd1 foo bar");
135 $bot2->yield(privmsg => $where, ",cmd2");
143 is($nick, $bot2->nick_name(), 'cmd1 user');
153 is($nick, $bot2->nick_name(), 'cmd2 user');
158 $bot2->yield('quit');
H A D05_auth_sub.t14 my $bot2 = POE::Component::IRC->spawn(
63 $bot2->yield(register => 'all');
64 $bot2->yield(connect => {
78 $bot2->yield('shutdown');
107 $bot2->yield(privmsg => $where, "TestBot1: help");
108 $bot2->yield(privmsg => $where, "TestBot1: help foo");
116 return if $irc != $bot2;
135 $bot2->yield('quit');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/11_cycleempty/
H A D02_cycle.t14 my $bot2 = POE::Component::IRC::State->spawn(
24 $bot2->plugin_add(CycleEmpty => $plugin);
66 $bot2->yield(register => 'all');
67 $bot2->yield(connect => {
90 $bot2->yield(join => $where) if $irc == $bot1;
93 if ($irc == $bot2) {
99 $bot2->yield('quit');
112 if ($irc == $bot2) {
132 $bot2->yield('shutdown');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/06_plugman/
H A D03_irc_interface.t14 my $bot2 = POE::Component::IRC::State->spawn(
67 $bot2->yield(register => 'all');
68 $bot2->yield(connect => {
87 …$bot2->yield(privmsg => $where, $bot1->nick_name() . ': plugin_add CTCP POE::Component::IRC::Plugi…
88 $bot2->yield(privmsg => $where, $bot1->nick_name() . ': plugin_reload CTCP');
89 $bot2->yield(privmsg => $where, $bot1->nick_name() . ': plugin_del CTCP');
103 $bot2->yield('quit');
122 $bot2->yield('shutdown');
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/09_nickreclaim/
H A D03_immediate_change.t15 my $bot2 = POE::Component::IRC->spawn(
18 alias => 'bot2',
25 $bot2->plugin_add(NickReclaim => POE::Component::IRC::Plugin::NickReclaim->new(
87 $bot2->yield(register => 'all');
88 $bot2->yield(connect => {
111 elsif ($irc == $bot2 && $new_nick eq 'TestBot1') {
114 $bot2->yield('quit');
134 $bot2->yield('shutdown');
H A D04_immediate_quit.t15 my $bot2 = POE::Component::IRC->spawn(
18 alias => 'bot2',
25 $bot2->plugin_add(NickReclaim => POE::Component::IRC::Plugin::NickReclaim->new(
87 $bot2->yield(register => 'all');
88 $bot2->yield(connect => {
107 return if $irc != $bot2 || $new_nick ne 'TestBot1';
129 $bot2->yield('shutdown');
/dports/www/mattermost-server/mattermost-server-6.0.2/model/
H A Dbot_test.go311 bot2 := bot1
328 bot2 := &Bot{
354 bot2 := &Bot{
528 bot2 := &Bot{
548 Id: bot2.UserId,
553 }, UserFromBot(bot2))
598 bot2 := &Bot{
637 BotList{bot1, bot2},
642 BotList{bot1, bot2},
648 BotList{bot1, bot2},
[all …]
/dports/irc/p5-POE-Component-Server-IRC/POE-Component-Server-IRC-1.54/t/
H A Dts_13_nickrace.t13 my $bot2 = POE::Component::IRC->spawn(
16 alias => 'bot2',
63 $bot2->yield(register => 'all');
64 $bot2->yield(connect => {
79 my $other = $irc == $bot1 ? $bot2 : $bot1;
101 $bot2->yield('shutdown');
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/y4mutils/
H A Dy4mivtc.c51 uint8_t *top1[3], *bot1[3], *top2[3], *bot2[3]; in main() local
97 bot2[0] = (uint8_t *) malloc(y4m_si_get_plane_length(&si,0) / 2); in main()
98 bot2[1] = (uint8_t *) malloc(y4m_si_get_plane_length(&si,1) / 2); in main()
99 bot2[2] = (uint8_t *) malloc(y4m_si_get_plane_length(&si,2) / 2); in main()
129 err = y4m_read_fields(fd_in, &si, &fi, top2, bot2); in main()
152 y4m_write_fields(fd_out, &so, &fi, top1, bot2); /* C */ in main()
/dports/multimedia/handbrake/ffmpeg-4.4/tests/checkasm/
H A Dvf_blend.c42 bot2[i * WIDTH + j] = j; \
56 AV_WN32A(bot2 + i, r); \
79 call_new(top2 + src_offset, w, bot2 + src_offset, w, \
81 …if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
84 bench_new(top2, w / 4, bot2, w / 4, dst2, w / 4, \
93 uint8_t *bot2 = av_malloc(BUF_SIZE); in checkasm_check_blend() local
146 av_freep(&bot2); in checkasm_check_blend()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/tests/checkasm/
H A Dvf_blend.c42 bot2[i * WIDTH + j] = j; \
56 AV_WN32A(bot2 + i, r); \
79 call_new(top2 + src_offset, w, bot2 + src_offset, w, \
81 …if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
84 bench_new(top2, w / 4, bot2, w / 4, dst2, w / 4, \
93 uint8_t *bot2 = av_malloc(BUF_SIZE); in checkasm_check_blend() local
146 av_freep(&bot2); in checkasm_check_blend()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/tests/checkasm/
H A Dvf_blend.c42 bot2[i * WIDTH + j] = j; \
56 AV_WN32A(bot2 + i, r); \
79 call_new(top2 + src_offset, w, bot2 + src_offset, w, \
81 …if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
84 bench_new(top2, w / 4, bot2, w / 4, dst2, w / 4, \
93 uint8_t *bot2 = av_malloc(BUF_SIZE); in checkasm_check_blend() local
146 av_freep(&bot2); in checkasm_check_blend()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/tests/checkasm/
H A Dvf_blend.c42 bot2[i * WIDTH + j] = j; \
56 AV_WN32A(bot2 + i, r); \
79 call_new(top2 + src_offset, w, bot2 + src_offset, w, \
81 …if (memcmp(top1, top2, BUF_SIZE) || memcmp(bot1, bot2, BUF_SIZE) || memcmp(dst1, dst2, BUF_SIZE)) \
84 bench_new(top2, w / 4, bot2, w / 4, dst2, w / 4, \
93 uint8_t *bot2 = av_malloc(BUF_SIZE); in checkasm_check_blend() local
146 av_freep(&bot2); in checkasm_check_blend()
/dports/irc/p5-POE-Component-IRC/POE-Component-IRC-6.93/t/04_plugins/12_autojoin/
H A D03_banned.t14 my $bot2 = POE::Component::IRC::State->spawn(
23 $bot2->plugin_add(AutoJoin => POE::Component::IRC::Plugin::AutoJoin->new(
68 $bot2->yield(register => 'all');
69 $bot2->yield(connect => {
98 $bot2->yield('quit');
107 $bot2->yield(join => $chan);
137 $bot2->yield('shutdown');

123456