File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
databroker/src/grpc/kuksa_val_v2 Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -744,7 +744,6 @@ mod tests {
744
744
}
745
745
}
746
746
747
-
748
747
// Helper for adding an int32 signal and adding value
749
748
async fn helper_add_int32 (
750
749
broker : & DataBroker ,
@@ -847,7 +846,9 @@ mod tests {
847
846
848
847
let request = proto:: GetValueRequest {
849
848
signal_id : Some ( proto:: SignalId {
850
- signal : Some ( proto:: signal_id:: Signal :: Path ( "test.datapoint1" . to_string ( ) ) ) ,
849
+ signal : Some ( proto:: signal_id:: Signal :: Path (
850
+ "test.datapoint1" . to_string ( ) ,
851
+ ) ) ,
851
852
} ) ,
852
853
} ;
853
854
@@ -1008,7 +1009,9 @@ mod tests {
1008
1009
1009
1010
let request = proto:: GetValueRequest {
1010
1011
signal_id : Some ( proto:: SignalId {
1011
- signal : Some ( proto:: signal_id:: Signal :: Path ( "test.datapoint1" . to_string ( ) ) ) ,
1012
+ signal : Some ( proto:: signal_id:: Signal :: Path (
1013
+ "test.datapoint1" . to_string ( ) ,
1014
+ ) ) ,
1012
1015
} ) ,
1013
1016
} ;
1014
1017
@@ -1083,7 +1086,7 @@ mod tests {
1083
1086
}
1084
1087
}
1085
1088
}
1086
-
1089
+
1087
1090
#[ tokio:: test]
1088
1091
async fn test_publish_value_signal_id_not_found ( ) {
1089
1092
let broker = DataBroker :: default ( ) ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ message SignalID {
58
58
// Numeric identifier to the signal
59
59
// As of today Databroker assigns arbitrary unique numbers to each registered signal
60
60
// at startup, meaning that identifiers may change after restarting Databroker.
61
- // A mechanism for static identifiers may be introduced in the future.
61
+ // A mechanism for static identifiers may be introduced in the future.
62
62
int32 id = 1 ;
63
63
// Full VSS-style path to a specific signal, like "Vehicle.Speed"
64
64
// Wildcards and paths to branches are not supported.
@@ -159,8 +159,8 @@ message ValueRestrictionString {
159
159
repeated string allowed_values = 1 ;
160
160
}
161
161
162
- // Used to indicate status of a signal in Databroker
163
- // This is given as an alternative to Value, so if there is a valid value
162
+ // Used to indicate status of a signal in Databroker
163
+ // This is given as an alternative to Value, so if there is a valid value
164
164
// ValueFailure shall not be specified.
165
165
//
166
166
// Scenarios where a signal does not exist or a user does not have access to a signal
You can’t perform that action at this time.
0 commit comments