i3/testcases/t/115-ipc-workspaces.t

25 lines
430 B
Perl
Raw Normal View History

#!perl
# vim:ts=4:sw=4:expandtab
use i3test;
my $i3 = i3(get_socket_path());
####################
# Request workspaces
####################
SKIP: {
skip "IPC API not yet stabilized", 2;
2010-03-27 10:20:38 -04:00
my $workspaces = $i3->get_workspaces->recv;
ok(@{$workspaces} > 0, "More than zero workspaces found");
2011-10-05 18:21:36 -04:00
#my $name_exists = all { defined($_->{name}) } @{$workspaces};
#ok($name_exists, "All workspaces have a name");
}
done_testing;