Lines Matching refs:result
671 AppSpawnResult result; variable
673 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
675 EXPECT_EQ(0, result.result);
676 if (result.pid > 0) {
677 EXPECT_EQ(0, kill(result.pid, SIGKILL));
678 result.pid = DEFAULT_PID;
699 AppSpawnResult result; variable
701 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
703 EXPECT_EQ(0, result.result);
704 if (result.pid > 0) {
705 EXPECT_EQ(0, kill(result.pid, SIGKILL));
706 result.pid = DEFAULT_PID;
727 AppSpawnResult result; variable
729 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
731 EXPECT_EQ(0, result.result);
732 EXPECT_NE(0, result.pid);
733 if (result.pid > 0) {
734 EXPECT_EQ(0, kill(result.pid, SIGKILL));
735 result.pid = DEFAULT_PID;
746 AppSpawnResult result; variable
748 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
750 EXPECT_EQ(0, result.result);
751 EXPECT_NE(0, result.pid);
752 if (result.pid > 0) {
753 EXPECT_EQ(0, kill(result.pid, SIGKILL));
754 result.pid = DEFAULT_PID;
765 AppSpawnResult result; variable
767 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
769 EXPECT_EQ(0, result.result);
770 EXPECT_NE(0, result.pid);
771 if (result.pid > 0) {
772 EXPECT_EQ(0, kill(result.pid, SIGKILL));
773 result.pid = DEFAULT_PID;
794 AppSpawnResult result; variable
796 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
798 EXPECT_EQ(0, result.result);
799 EXPECT_NE(0, result.pid);
800 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
801 EXPECT_EQ(true, CheckUid(result.pid, 20010041)); // 20010041 test
802 if (result.pid > 0) {
803 EXPECT_EQ(0, kill(result.pid, SIGKILL));
804 result.pid = DEFAULT_PID;
815 AppSpawnResult result; variable
817 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
819 EXPECT_EQ(0, result.result);
820 EXPECT_NE(0, result.pid);
821 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
822 EXPECT_EQ(true, CheckUid(result.pid, 20010043)); // 20010043 test
824 if (result.pid > 0) {
825 EXPECT_EQ(0, kill(result.pid, SIGKILL));
826 result.pid = DEFAULT_PID;
837 AppSpawnResult result; variable
839 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
841 EXPECT_EQ(0, result.result);
842 EXPECT_NE(0, result.pid);
843 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
844 EXPECT_EQ(true, CheckUid(result.pid, 20010043)); // 20010043 test
846 if (result.pid > 0) {
847 EXPECT_EQ(0, kill(result.pid, SIGKILL));
848 result.pid = DEFAULT_PID;
859 AppSpawnResult result; variable
861 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
863 EXPECT_EQ(0, result.result);
864 EXPECT_NE(0, result.pid);
865 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
866 EXPECT_EQ(true, CheckUid(result.pid, 1000001)); // 1000001 test
868 if (result.pid > 0) {
869 EXPECT_EQ(0, kill(result.pid, SIGKILL));
870 result.pid = DEFAULT_PID;
881 AppSpawnResult result; variable
883 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
885 EXPECT_EQ(0, result.result);
886 EXPECT_NE(0, result.pid);
887 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
888 EXPECT_EQ(true, CheckUid(result.pid, 1000001)); // 1000001 test
890 if (result.pid > 0) {
891 EXPECT_EQ(0, kill(result.pid, SIGKILL));
892 result.pid = DEFAULT_PID;
913 AppSpawnResult result; variable
915 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
917 EXPECT_EQ(0, result.result);
918 EXPECT_NE(0, result.pid);
919 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
920 EXPECT_EQ(true, CheckGid(result.pid, 20010043)); // 20010043 test gid
922 if (result.pid > 0) {
923 EXPECT_EQ(0, kill(result.pid, SIGKILL));
924 result.pid = DEFAULT_PID;
935 AppSpawnResult result; variable
937 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
939 EXPECT_EQ(0, result.result);
941 EXPECT_NE(0, result.pid);
942 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
943 EXPECT_EQ(true, CheckGid(result.pid, 20010041)); // 20010041 test gid
945 if (result.pid > 0) {
946 EXPECT_EQ(0, kill(result.pid, SIGKILL));
947 result.pid = DEFAULT_PID;
958 AppSpawnResult result; variable
960 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
962 EXPECT_EQ(0, result.result);
964 EXPECT_NE(0, result.pid);
965 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
966 EXPECT_EQ(true, CheckGid(result.pid, 20010041)); // 20010041 test gid
968 if (result.pid > 0) {
969 EXPECT_EQ(0, kill(result.pid, SIGKILL));
970 result.pid = DEFAULT_PID;
980 AppSpawnResult result; variable
982 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
984 EXPECT_EQ(0, result.result);
986 EXPECT_NE(0, result.pid);
987 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
988 EXPECT_EQ(true, CheckGid(result.pid, 1000001)); // 1000001 test gid
990 if (result.pid > 0) {
991 EXPECT_EQ(0, kill(result.pid, SIGKILL));
992 result.pid = DEFAULT_PID;
1002 AppSpawnResult result; variable
1004 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1006 EXPECT_EQ(0, result.result);
1008 EXPECT_NE(0, result.pid);
1009 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1010 EXPECT_EQ(true, CheckGid(result.pid, 1000001)); // 1000001 test gid
1012 if (result.pid > 0) {
1013 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1014 result.pid = DEFAULT_PID;
1035 AppSpawnResult result; variable
1037 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1039 EXPECT_EQ(0, result.result);
1040 EXPECT_NE(0, result.pid);
1041 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1044 EXPECT_EQ(true, CheckGids(result.pid, gids));
1046 if (result.pid > 0) {
1047 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1048 result.pid = DEFAULT_PID;
1059 AppSpawnResult result; variable
1061 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1063 EXPECT_EQ(0, result.result);
1064 EXPECT_NE(0, result.pid);
1065 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1068 EXPECT_EQ(true, CheckGids(result.pid, gids));
1070 if (result.pid > 0) {
1071 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1072 result.pid = DEFAULT_PID;
1083 AppSpawnResult result; variable
1085 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1087 EXPECT_EQ(0, result.result);
1088 EXPECT_NE(0, result.pid);
1089 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1092 EXPECT_EQ(true, CheckGids(result.pid, gids));
1094 if (result.pid > 0) {
1095 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1096 result.pid = DEFAULT_PID;
1106 AppSpawnResult result; variable
1108 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1110 EXPECT_EQ(0, result.result);
1111 EXPECT_NE(0, result.pid);
1112 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1115 EXPECT_EQ(true, CheckGids(result.pid, gids));
1117 if (result.pid > 0) {
1118 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1119 result.pid = DEFAULT_PID;
1129 AppSpawnResult result; variable
1131 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1133 EXPECT_EQ(0, result.result);
1134 EXPECT_NE(0, result.pid);
1135 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1138 EXPECT_EQ(true, CheckGids(result.pid, gids));
1140 if (result.pid > 0) {
1141 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1142 result.pid = DEFAULT_PID;
1163 AppSpawnResult result; variable
1165 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1167 EXPECT_EQ(0, result.result);
1168 EXPECT_NE(0, result.pid);
1169 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1171 EXPECT_EQ(true, CheckProcName(result.pid, "com.example.myapplication"));
1173 if (result.pid > 0) {
1174 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1175 result.pid = DEFAULT_PID;
1195 AppSpawnResult result; variable
1197 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1199 EXPECT_EQ(0, result.result);
1200 EXPECT_NE(0, result.pid);
1201 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1210 AppSpawnResult result; variable
1212 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1214 EXPECT_EQ(0, result.result);
1215 EXPECT_NE(0, result.pid);
1216 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1219 if (result.pid > 0) {
1220 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1221 result.pid = DEFAULT_PID;
1231 AppSpawnResult result; variable
1233 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1235 EXPECT_EQ(0, result.result);
1236 EXPECT_NE(0, result.pid);
1237 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1239 EXPECT_EQ(true, CheckProcName(result.pid, "com.example.myapplication"));
1241 if (result.pid > 0) {
1242 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1243 result.pid = DEFAULT_PID;
1253 AppSpawnResult result; variable
1255 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1257 EXPECT_EQ(0, result.result);
1258 EXPECT_NE(0, result.pid);
1259 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1261 EXPECT_EQ(true, CheckProcName(result.pid, "com.example.myapplication"));
1263 if (result.pid > 0) {
1264 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1265 result.pid = DEFAULT_PID;
1283 AppSpawnResult result; variable
1285 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1287 EXPECT_EQ(0, result.result);
1288 EXPECT_NE(0, result.pid);
1289 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1290 if (result.pid > 0) {
1291 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1294 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1303 AppSpawnResult result; variable
1305 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1307 EXPECT_EQ(0, result.result);
1308 EXPECT_NE(0, result.pid);
1309 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1310 if (result.pid > 0) {
1311 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1314 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1323 AppSpawnResult result; variable
1325 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1327 EXPECT_EQ(0, result.result);
1328 EXPECT_NE(0, result.pid);
1329 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1330 if (result.pid > 0) {
1331 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1334 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1343 AppSpawnResult result; variable
1345 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1347 EXPECT_EQ(0, result.result);
1348 EXPECT_NE(0, result.pid);
1349 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1350 if (result.pid > 0) {
1351 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1355 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1364 AppSpawnResult result; variable
1366 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1368 EXPECT_EQ(0, result.result);
1369 EXPECT_NE(0, result.pid);
1370 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1371 if (result.pid > 0) {
1372 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1376 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1385 AppSpawnResult result; variable
1394 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1396 EXPECT_EQ(0, result.result);
1397 EXPECT_NE(0, result.pid);
1398 GTEST_LOG_(INFO) << "newPid :" << result.pid << ".";
1399 if (result.pid > 0) {
1400 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1403 EXPECT_EQ(true, CheckProcessIsDestroyed(result.pid));
1417 AppSpawnResult result; variable
1419 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1421 EXPECT_EQ(0, result.result);
1422 if (result.pid > 0) {
1423 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1438 AppSpawnResult result; variable
1440 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1442 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1457 AppSpawnResult result; variable
1459 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1461 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1477 AppSpawnResult result; variable
1479 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1481 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1495 AppSpawnResult result; variable
1497 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1499 EXPECT_EQ(0, result.result);
1500 if (result.pid > 0) {
1501 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1516 AppSpawnResult result; variable
1518 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1520 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1534 AppSpawnResult result; variable
1536 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1538 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1553 AppSpawnResult result; variable
1555 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1557 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1571 AppSpawnResult result; variable
1573 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1575 EXPECT_EQ(0, result.result);
1576 if (result.pid > 0) {
1577 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1592 AppSpawnResult result; variable
1594 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1596 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1611 AppSpawnResult result; variable
1613 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1615 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1631 AppSpawnResult result; variable
1633 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1635 EXPECT_EQ(APPSPAWN_MSG_INVALID, result.result);
1649 AppSpawnResult result; variable
1658 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1660 EXPECT_EQ(0, result.result);
1661 if (result.pid > 0) {
1662 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1663 result.pid = DEFAULT_PID;
1678 AppSpawnResult result; variable
1687 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1689 EXPECT_EQ(0, result.result);
1690 if (result.pid > 0) {
1691 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1692 result.pid = DEFAULT_PID;
1706 AppSpawnResult result; variable
1715 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1717 EXPECT_EQ(0, result.result);
1718 if (result.pid > 0) {
1719 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1720 result.pid = DEFAULT_PID;
1734 AppSpawnResult result; variable
1743 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1745 EXPECT_EQ(0, result.result);
1746 if (result.pid > 0) {
1747 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1748 result.pid = DEFAULT_PID;
1765 AppSpawnResult result; variable
1767 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1783 AppSpawnResult result; variable
1785 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1787 EXPECT_EQ(0, result.result);
1788 if (result.pid > 0) {
1789 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1790 result.pid = DEFAULT_PID;
1793 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1795 EXPECT_NE(0, result.result);
1810 AppSpawnResult result; variable
1812 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1814 EXPECT_EQ(0, result.result);
1815 if (result.pid > 0) {
1816 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1817 result.pid = DEFAULT_PID;
1820 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1822 EXPECT_EQ(0, result.result);
1837 AppSpawnResult result; variable
1839 int ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1841 EXPECT_EQ(0, result.result);
1843 ret = AppSpawnClientSendMsg(commander.GetClientHandle(), reqHandle, &result);
1845 EXPECT_EQ(0, result.result);
1846 if (result.pid > 0) {
1847 EXPECT_EQ(0, kill(result.pid, SIGKILL));
1848 result.pid = DEFAULT_PID;