Этот коммит содержится в:
Mario Vitale
2023-03-27 16:28:42 +02:00
родитель da7a6825ce
Коммит ba6b97fb62
1142 изменённых файлов: 44 добавлений и 44 удалений

80
e2e-tests/cypress/tests/fixtures/mm_file_testing/Code/JSON поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,80 @@
{
"fathers" : [
{
"id" : 0,
"married" : false,
"name" : "Gary Johnson",
"sons" : null,
"daughters" : [
{
"age" : 7,
"name" : "Laura"
},
{
"age" : 1,
"name" : "Karen"
}
]
},
{
"id" : 1,
"married" : true,
"name" : "Michael Taylor",
"sons" : null,
"daughters" : [
{
"age" : 13,
"name" : "Sandra"
},
{
"age" : 7,
"name" : "Cynthia"
},
{
"age" : 8,
"name" : "Mary"
}
]
},
{
"id" : 2,
"married" : false,
"name" : "Steven Martin",
"sons" : null,
"daughters" : [
{
"age" : 16,
"name" : "Betty"
}
]
},
{
"id" : 3,
"married" : true,
"name" : "Ronald Gonzalez",
"sons" : null,
"daughters" : [
]
},
{
"id" : 4,
"married" : false,
"name" : "Paul Taylor",
"sons" : null,
"daughters" : [
{
"age" : 27,
"name" : "Laura"
}
]
},
{
"id" : 5,
"married" : false,
"name" : "Gary Smith",
"sons" : null,
"daughters" : [
]
}
]
}

10
e2e-tests/cypress/tests/fixtures/mm_file_testing/Code/Patch.diff поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,10 @@
--- hello.c 2014-10-07 18:17:49.000000000 +0530
+++ hello_new.c 2014-10-07 18:17:54.000000000 +0530
@@ -1,5 +1,6 @@
#include <stdio.h>
-int main() {
+int main(int argc, char *argv[]) {
printf("Hello World\n");
+ return 0;
}

18
e2e-tests/cypress/tests/fixtures/mm_file_testing/Code/Python поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,18 @@
from time import localtime
activities = {8: 'Sleeping',
9: 'Commuting',
17: 'Working',
18: 'Commuting',
20: 'Eating',
22: 'Resting' }
time_now = localtime()
hour = time_now.tm_hour
for activity_time in sorted(activities.keys()):
if hour < activity_time:
print activities[activity_time]
break
else:
print 'Unknown, AFK or sleeping!'