Update test_size tests 64bit archs with jid-rs change

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-04-22 11:24:11 +01:00
parent 1e3f940db9
commit 3178aaa1cb
15 changed files with 16 additions and 16 deletions

View file

@ -85,7 +85,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(Conference, 152);
assert_size!(Conference, 128);
assert_size!(Url, 48);
assert_size!(Storage, 48);
}

View file

@ -46,7 +46,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(Delay, 112);
assert_size!(Delay, 120);
}
#[test]

View file

@ -256,7 +256,7 @@ mod tests {
assert_size!(DiscoInfoQuery, 24);
assert_size!(DiscoInfoResult, 96);
assert_size!(Item, 120);
assert_size!(Item, 128);
assert_size!(DiscoItemsQuery, 24);
assert_size!(DiscoItemsResult, 48);
}

View file

@ -39,7 +39,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(Forwarded, 392);
assert_size!(Forwarded, 408);
}
#[test]

View file

@ -232,8 +232,8 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(IqType, 216);
assert_size!(Iq, 384);
assert_size!(IqType, 224);
assert_size!(Iq, 408);
}
#[test]

View file

@ -579,7 +579,7 @@ mod tests {
assert_size!(Reason, 1);
assert_size!(ReasonElement, 32);
assert_size!(SessionId, 24);
assert_size!(Jingle, 256);
assert_size!(Jingle, 272);
}
#[test]

View file

@ -297,7 +297,7 @@ mod tests {
assert_size!(Mode, 1);
assert_size!(CandidateId, 24);
assert_size!(StreamId, 24);
assert_size!(Candidate, 128);
assert_size!(Candidate, 136);
assert_size!(TransportPayload, 32);
assert_size!(Transport, 88);
}

View file

@ -211,7 +211,7 @@ mod tests {
fn test_size() {
assert_size!(QueryId, 24);
assert_size!(Query, 232);
assert_size!(Result_, 440);
assert_size!(Result_, 456);
assert_size!(Complete, 1);
assert_size!(Fin, 88);
assert_size!(DefaultPrefs, 1);

View file

@ -274,7 +274,7 @@ mod tests {
assert_size!(Body, 24);
assert_size!(Subject, 24);
assert_size!(Thread, 24);
assert_size!(Message, 272);
assert_size!(Message, 288);
}
#[test]

View file

@ -376,7 +376,7 @@ mod tests {
fn test_size() {
assert_size!(Show, 1);
assert_size!(Type, 1);
assert_size!(Presence, 224);
assert_size!(Presence, 240);
}
#[test]

View file

@ -114,7 +114,7 @@ mod tests {
assert_size!(Group, 24);
assert_size!(Subscription, 1);
assert_size!(Ask, 1);
assert_size!(Item, 128);
assert_size!(Item, 104);
assert_size!(Roster, 48);
}

View file

@ -324,7 +324,7 @@ mod tests {
fn test_size() {
assert_size!(ErrorType, 1);
assert_size!(DefinedCondition, 1);
assert_size!(StanzaError, 208);
assert_size!(StanzaError, 216);
}
#[test]

View file

@ -52,7 +52,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(StanzaId, 96);
assert_size!(StanzaId, 104);
assert_size!(OriginId, 24);
}

View file

@ -85,7 +85,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(Stream, 216);
assert_size!(Stream, 168);
}
#[test]

View file

@ -84,7 +84,7 @@ mod tests {
#[cfg(target_pointer_width = "64")]
#[test]
fn test_size() {
assert_size!(Open, 216);
assert_size!(Open, 168);
}
#[test]