Skip to content

Commit 38a59b9

Browse files
committed
Updated ecf's to the latest version.
Clean code and updated agents to the new style.
1 parent a5346bd commit 38a59b9

22 files changed

+76
-96
lines changed

examples/examples.ecf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
<exclude>/CVS$</exclude>
88
<exclude>/.svn$</exclude>
99
</file_rule>
10-
<option warning="true" is_attached_by_default="true" void_safety="all" syntax="transitional">
10+
<option warning="true">
1111
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
1212
</option>
13+
1314
<setting name="console_application" value="true"/>
1415
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
1516
<library name="selenium" location="..\selenium-safe.ecf"/>

selenium-safe.ecf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
2-
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-10-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-10-0 http://www.eiffel.com/developers/xml/configuration-1-10-0.xsd" name="selenium" uuid="F76D19F7-509C-47B1-B2EA-46FCB05F9893" library_target="selenium">
2+
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-18-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-18-0 http://www.eiffel.com/developers/xml/configuration-1-18-0.xsd" name="selenium" uuid="F76D19F7-509C-47B1-B2EA-46FCB05F9893" library_target="selenium">
33
<target name="selenium">
44
<root all_classes="true"/>
5-
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="standard">
6-
<assertions precondition="true" postcondition="true" check="true" invariant="true" supplier_precondition="true"/>
5+
<option warning="true">
6+
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
77
</option>
88
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
99
<library name="encoding" location="$ISE_LIBRARY\library\encoding\encoding-safe.ecf"/>

src/converter/se_build_value_json_converter.e

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ feature -- Access
2525
feature -- Conversion
2626

2727
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
28-
--from_json (j: like to_json): detachable like object
2928
do
3029
if attached {JSON_OBJECT} a_json as j then
3130
create Result.make_empty
@@ -42,7 +41,6 @@ feature -- Conversion
4241
end
4342

4443
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
45-
--to_json (o: like object): JSON_OBJECT
4644
local
4745
jo: JSON_OBJECT
4846
do
@@ -65,8 +63,6 @@ feature -- Conversion
6563

6664
feature {NONE} -- Implementation
6765

68-
69-
7066
version_key: JSON_STRING
7167
once
7268
create Result.make_from_string ("version")

src/converter/se_capabilities_json_converter.e

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ feature -- Access
2727
feature -- Conversion
2828

2929
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
30-
--from_json (j: like to_json): detachable like object
3130
do
3231
create Result.make
3332
if attached {JSON_OBJECT} a_json as j then
@@ -78,12 +77,9 @@ feature -- Conversion
7877
-- end
7978

8079
end
81-
82-
8380
end
8481

8582
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
86-
--to_json (o: like object): JSON_OBJECT
8783
local
8884
jo: JSON_OBJECT
8985
do
@@ -115,8 +111,6 @@ feature -- Conversion
115111
else
116112
create {JSON_NULL} Result
117113
end
118-
119-
120114
end
121115

122116
feature {NONE} -- Implementation

src/converter/se_cookie_json_converter.e

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ feature -- Access
2525
feature -- Conversion
2626

2727
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
28-
-- from_json (j: like to_json): detachable like object
2928
do
3029
create Result
3130
if attached {JSON_OBJECT} a_json as j then
@@ -53,7 +52,6 @@ feature -- Conversion
5352
end
5453

5554
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
56-
--to_json (o: like object): JSON_OBJECT
5755
local
5856
jo: JSON_OBJECT
5957
do
@@ -81,8 +79,6 @@ feature -- Conversion
8179

8280
feature {NONE} -- Implementation
8381

84-
85-
8682
name_key: JSON_STRING
8783
once
8884
create Result.make_from_string ("name")

src/converter/se_java_value_json_converter.e

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ note
55

66
class
77
SE_JAVA_VALUE_JSON_CONVERTER
8+
89
inherit
10+
911
SE_JSON_CONVERTER
1012

1113
create
@@ -25,7 +27,6 @@ feature -- Access
2527
feature -- Conversion
2628

2729
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
28-
--from_json (j: like to_json): detachable like object
2930
do
3031
create Result.make_empty
3132
if attached {JSON_OBJECT} a_json as j then
@@ -36,7 +37,6 @@ feature -- Conversion
3637
end
3738

3839
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
39-
--to_json (o: like object): JSON_OBJECT
4040
local
4141
jo: JSON_OBJECT
4242
do
@@ -53,8 +53,6 @@ feature -- Conversion
5353

5454
feature {NONE} -- Implementation
5555

56-
57-
5856
version_key: JSON_STRING
5957
once
6058
create Result.make_from_string ("version")

src/converter/se_json_converter.e

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ deferred class
77
SE_JSON_CONVERTER
88

99
inherit
10-
-- JSON_CONVERTER
1110
JSON_SERIALIZER
1211
JSON_DESERIALIZER
1312

src/converter/se_os_value_json_converter.e

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ feature -- Access
2727
feature -- Conversion
2828

2929
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
30-
--from_json (j: like to_json): detachable like object
3130
do
3231
create Result.make_empty
3332
if attached {JSON_OBJECT} a_json as j then
@@ -44,7 +43,6 @@ feature -- Conversion
4443
end
4544

4645
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
47-
-- to_json (o: like object): JSON_OBJECT
4846
local
4947
jo: JSON_OBJECT
5048
do

src/converter/se_response_json_converter.e

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ note
55

66
class
77
SE_RESPONSE_JSON_CONVERTER
8+
89
inherit
10+
911
SE_JSON_CONVERTER
1012

1113
create
@@ -25,7 +27,6 @@ feature -- Access
2527
feature -- Conversion
2628

2729
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
28-
--from_json (j: like to_json): detachable like object
2930
do
3031
create Result.make_empty
3132
if attached {JSON_OBJECT} a_json as j then
@@ -42,7 +43,6 @@ feature -- Conversion
4243
end
4344

4445
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
45-
--to_json (o: like object): JSON_OBJECT
4646
local
4747
jo: JSON_OBJECT
4848
do

src/converter/se_status_json_converter.e

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class
77
SE_STATUS_JSON_CONVERTER
88

99
inherit
10+
1011
SE_JSON_CONVERTER
1112

1213
create
@@ -26,7 +27,6 @@ feature -- Access
2627
feature -- Conversion
2728

2829
from_json (a_json: detachable JSON_VALUE; ctx: JSON_DESERIALIZER_CONTEXT; a_type: detachable TYPE [detachable ANY]): detachable like object
29-
-- from_json (j: like to_json): detachable like object
3030
do
3131
if attached {JSON_OBJECT} a_json as j then
3232
create Result
@@ -52,7 +52,6 @@ feature -- Conversion
5252
end
5353

5454
to_json (obj: detachable ANY; ctx: JSON_SERIALIZER_CONTEXT): JSON_VALUE
55-
--to_json (o: like object): JSON_OBJECT
5655
local
5756
jo: JSON_OBJECT
5857
do

0 commit comments

Comments
 (0)